/* =========================================================
   FIRST IMPRESSION WOOD MASTERS — HOMEPAGE
   ========================================================= */

:root {
  --black: #070707;
  --charcoal: #151515;
  --gold: #b99b48;
  --light-gold: #c7b16a;
  --cream: #f7f4ee;
  --white: #ffffff;
  --text: #555555;
  --border: #e5e1d9;
  --max-width: 1540px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #111;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.4vw, 4.75rem);
}

h2 {
  margin-bottom: 40px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gold-text {
  color: var(--gold);
}

.section {
  padding: 84px 0;
}

.cream {
  background: var(--cream);
}

.white {
  background: var(--white);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--black);
}

.nav-wrap {
  background: var(--black);
}

.nav-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 28px;
  min-height: 176px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  height: 176px;
}

.site-logo {
  width: auto;
  height: 150px;
  max-width: 190px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2vw, 38px);
  min-width: 0;
}

.main-nav a {
  color: #fff;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 210px;
  min-height: 68px;
  padding: 18px 24px;
  color: #fff;
  background: var(--gold);
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  background-image: url("images/hero-image.JPG");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 45%;
  padding-left: clamp(40px, 6vw, 100px);
  padding-right: 20px;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 28px;
  color: #fff;
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 34px;
  color: #e6e6e6;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 28px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-gold {
  color: #fff;
  border-color: var(--gold);
  background: var(--gold);
}

.btn-outline {
  color: #fff;
  border-color: var(--gold);
  background: transparent;
}

.full-width {
  width: 100%;
}



/* Placeholders */
.image-placeholder {
  display: grid;
  min-height: 220px;
  padding: 20px;
  color: #6f6039;
  border: 2px dashed #bba76d;
  background:
    linear-gradient(135deg, rgba(180, 154, 79, 0.10), rgba(8, 8, 8, 0.04)),
    #eee9dd;
  place-items: center;
  align-content: center;
  text-align: center;
  font-weight: 700;
}

.image-placeholder small {
  display: block;
  margin-top: 8px;
  color: #766f61;
  font-weight: 500;
}

.hero-placeholder {
  min-height: 680px;
  border: 0;
  border-left: 2px dashed #bba76d;
}

/* Trust */
.trust-strip {
  display: grid;
  padding: 28px 6vw;
  color: #fff;
  background: #050505;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 80px;
  padding: 8px 22px;
  border-right: 1px solid #333;
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  color: var(--gold);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.trust-item span {
  color: #efefef;
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.collection-card {
  text-align: center;
}

.card-image {
  width: 100%;
  height: 420px;
  margin-bottom: 24px;
  object-fit: contain;
  background: var(--cream);
}

.collection-card p {
  min-height: 74px;
  font-size: 0.92rem;
}

.collection-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-button {
  display: inline-block;
  padding: 11px 18px;
  color: #4d4020;
  border: 1px solid var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Quote */
.quote-section {
  display: grid;
  background: #f3f0ea;
  grid-template-columns: 40% 60%;
}

.quote-intro {
  padding: 72px 6vw;
  color: #efefef;
  background: var(--black);
}

.quote-intro h2 {
  color: #fff;
}

.check-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  margin: 10px 0;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--gold);
  content: "✓";
  font-weight: 700;
}

.quote-form {
  padding: 58px 6vw;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  grid-template-columns: 1fr 1fr;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  color: #222;
  border: 1px solid #ddd7cb;
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  text-align: center;
  font-size: 0.76rem;
}

/* Features */
.features {
  margin-top: 36px;
}

.feature-card,
.testimonial-card {
  padding: 30px 22px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 2rem;
}

.feature-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
}

.feature-card p,
.testimonial-card p {
  font-size: 0.86rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

/* Gallery */
/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.gallery-image {
  width: 100%;
  height: 360px;
  padding: 6px;
  object-fit: contain;
  object-position: center;
  background: #f7f4ee;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}






/* Final CTA */
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 45px 6vw;
  color: #fff;
  background: var(--black);
}

.final-cta p {
  margin: 0;
  color: #ddd;
}

.final-cta h2 {
  margin: 5px 0;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.site-footer {
  padding: 24px 0;
  color: #ddd;
  background: #111;
}

.footer-grid {
  display: grid;
  gap: 20px;
  text-align: center;
  grid-template-columns: repeat(4, 1fr);
}


/* Hamburger button hidden on desktop */
.mobile-menu-toggle {
    display: none;
}






/* =========================================
   DESKTOP HEADER FIX
   ========================================= */

.nav-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 110px;
    gap: 24px;
}

.brand {
    flex: 0 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 24px;
    white-space: nowrap;
}

.phone-pill {
    flex: 0 0 auto;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
}








/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1320px) {
  .nav-inner {
    grid-template-columns: 170px minmax(0, 1fr) 190px;
    min-height: 150px;
  }

  .brand {
    width: 170px;
    height: 150px;
  }

  .site-logo {
    height: 128px;
    max-width: 155px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .phone-pill {
    min-width: 180px;
    min-height: 60px;
    padding: 15px 18px;
    font-size: 0.78rem;
  }
}

/* Hide the menu before it can push the phone button off-screen. */
@media (max-width: 1120px) {
  .nav-inner {
    grid-template-columns: 150px minmax(0, 1fr) 190px;
    min-height: 132px;
  }

  .brand {
    width: 150px;
    height: 132px;
  }

  .site-logo {
    height: 116px;
    max-width: 138px;
  }
  
  .main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  }

  .phone-pill {
    grid-column: 3;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 44% 56%;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {

  .container {
    width: min(100% - 32px, var(--max-width));
  }

  /* MOBILE HEADER */
  .nav-inner {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr auto auto;
    align-items: center;
    min-height: 88px;
    gap: 10px;
  }

  .brand {
    grid-column: 1;
    width: 92px;
    height: 88px;
  }

  .site-logo {
    height: 78px;
    max-width: 84px;
  }

  .phone-pill {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;

    min-width: 0;
    min-height: 44px;
    padding: 10px 13px;

    font-size: 0.68rem;
  }

  /* HAMBURGER BUTTON */
  .mobile-menu-toggle {
    grid-column: 4;
    grid-row: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 46px;
    height: 46px;
    padding: 0;

    background: transparent;
    border: 1px solid rgba(185, 155, 72, 0.7);

    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;

    background: #ffffff;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* MOBILE NAVIGATION */
  .main-nav {
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    z-index: 9999;

    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;

    padding: 12px 24px 24px;

    background: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  }

  .main-nav.menu-open {
    display: flex;
  }

  .main-nav > a,
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 54px;
    padding: 0;

    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 14px;
    text-align: left;
  }

  /* PRODUCTS DROPDOWN ON MOBILE */
  .nav-dropdown {
    display: block;
    width: 100%;
    height: auto;
  }

  .dropdown-toggle {
    min-height: 54px;
  }

  .dropdown-menu {
    position: static;

    display: none;
    width: 100%;
    min-width: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .submenu {
    position: static;

    display: none;
    width: 100%;
    min-width: 0;

    border: 0;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu-item:focus-within > .submenu {
    display: block;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: 100%;
    padding: 180px 28px 60px;
  }

  .hero-image {
    min-height: 430px;
    height: 430px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* REST OF PAGE */
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid #333;
  }

  .card-grid.four,
  .card-grid.five,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-intro,
  .quote-form {
    padding: 46px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image {
    height: 260px;
  }

  .final-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .nav-inner {
    grid-template-columns: 74px minmax(0, 1fr) auto;
  }

  .brand {
    width: 74px;
  }

  .site-logo {
    height: 64px;
    max-width: 68px;
  }

  .phone-pill {
    padding: 9px 10px;
    font-size: 0.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 320px;
  }
}



/* =========================================
   PRODUCTS DROPDOWN
   ========================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Make Products match the other navigation links */
.main-nav > a,
.dropdown-toggle {
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

/* Products button */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 0;

    background: transparent;
    border: none;

    cursor: pointer;

    transition: color 0.25s ease;
}

.dropdown-toggle:hover,
.nav-dropdown:focus-within .dropdown-toggle {
    color: #c89b3c;
}

/* Small dropdown arrow */
.dropdown-arrow {
    display: inline-block;

    font-size: 8px;
    line-height: 1;
    color: currentColor;

    transform: translateY(1px);

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: translateY(1px) rotate(180deg);
}

/* Dropdown panel */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    z-index: 9999;

    min-width: 240px;
    padding: 8px 0;

    background: #000000;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* Invisible bridge prevents menu from closing
   while moving the mouse downward */
.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;

    width: 100%;
    height: 18px;
}

/* Show dropdown */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.dropdown-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 20px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Right-facing arrow beside dropdown links */
.dropdown-menu a::after {
    content: "›";

    margin-left: 24px;

    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}
/* Remove arrows from the final submenu links */
.submenu a::after {
    content: none;
}

/* Dropdown link hover */
.dropdown-menu a:hover,
.dropdown-menu a:focus {
    padding-left: 26px;

    background: #111111;
    color: #c89b3c;

    outline: none;
}

.dropdown-menu a:hover::after,
.dropdown-menu a:focus::after {
    color: #c89b3c;
    transform: translateX(3px);
}

.dropdown-direct-link::after {
    display: none;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #111;
    color: #ddd;
    padding: 70px 8% 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 45px;
}

.footer-column h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
}

.footer-column p {
    color: #bcbcbc;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-column a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    text-align: center;
}

.footer-bottom p {
    color: #9a9a9a;
    font-size: 14px;
    margin: 0;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .site-footer {
        padding: 55px 28px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

}