/* ============================================================
   ABOVE-FOLD CSS — Nashville Signature Signs
   Contains: Base reset, CSS vars, typography, header, hero
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  --gold:             #b8952a;
  --dark:             #1a1a1a;
  --white:            #ffffff;
  --off-white:        #f8f6f1;
  --border:           #d9d9d9;
  --font:             'Poppins', sans-serif;
  --container-main:   1440px;
  --container-wide:   1640px;
  --container-pad:    clamp(1rem, 3vw, 2.5rem);
  --ease:             0.3s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size:   1rem;
  line-height: 1.625;
  color:       var(--dark);
  background:  var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family:   var(--font);
  font-weight:   700;
  line-height:   1.2;
  color:         var(--dark);
  margin-bottom: 1.25rem;
}
ul, ol { margin-bottom: 1.25rem; }
h1 { font-size: 2.875rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { font-size: 1rem; color: var(--dark); margin-bottom: 1.25rem; line-height: 1.625; }

/* ── Containers ──────────────────────────────────────────── */
.container {
  width:     100%;
  max-width: var(--container-main);
  margin:    0 auto;
  padding:   0 var(--container-pad);
}
.container--wide { max-width: var(--container-wide); }

/* ── Section Label ───────────────────────────────────────── */
.section-label {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             14px;
  font-size:       1rem;
  font-weight:     700;
  letter-spacing:  0.1em;
  text-transform:  uppercase;
  color:           var(--gold);
  margin-bottom:   0.75rem;
}
.section-label::before,
.section-label::after {
  content:    '';
  display:    block;
  width:      45px;
  height:     1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  text-align:    center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-header h2 { font-size: 2.875rem; }
.section-header p  { color: var(--dark); max-width: 52ch; margin: 0.75rem auto 0; }

/* ── Button ──────────────────────────────────────────────── */
.btn {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
  gap:            0.5rem;
  background:     var(--gold);
  color:          var(--white);
  font-family:    var(--font);
  font-size:      1rem;
  font-weight:    600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding:        0.8rem 2rem;
  border:         2px solid var(--gold);
  border-radius:  0;
  transition:     background var(--ease), border-color var(--ease), color var(--ease);
  white-space:    nowrap;
  line-height:    1;
  min-width:      160px;
}
.btn:hover, .btn:focus-visible {
  background:   var(--dark);
  border-color: var(--dark);
  color:        var(--white);
  outline:      none;
}
.btn--outline {
  background:   transparent;
  color:        var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background:   var(--white);
  color:        var(--dark);
  border-color: var(--white);
}

/* ── Skip Nav ────────────────────────────────────────────── */
.skip-nav {
  position:   absolute;
  top:        -100%;
  left:       0;
  background: var(--gold);
  color:      var(--white);
  padding:    0.5rem 1rem;
  z-index:    9999;
  font-size:  1rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ── Slick global height fix ─────────────────────────────── */
.slick-slider, .slick-list, .slick-track { height: 100%; }

/* ── Slick arrow reset — let custom FA icons show ─────────── */
.slick-prev::before,
.slick-next::before {
  content:     none !important;
  display:     none !important;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position:   sticky;
  top:        0;
  z-index:    900;
    padding: 20px 0;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header .container--wide,
.stats-bar .container--wide{
    padding-left: 0;
    padding-right: 0;
}
img{
    max-width: 100%;
    height: auto;
}
.site-header__inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          90px;
  gap:             1rem;
}

.site-header__logo {
  flex-shrink: 0;
  display:     block;
    max-width: 370px;
}
/* Supports both SVG inline and <img> */
/*.site-header__logo svg,
.site-header__logo img {
  height:     auto;
  max-height: 65px;
  width:      auto;
  max-width:  380px;
  object-fit: contain;
  display:    block;
}*/

.site-header__nav { display: flex; align-items: center; }
/* Only the top-level ul is flex — dropdown uls must be block */
.site-header__nav > ul {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  margin:      0;
}
/* All nested dropdown uls reset to block */
.site-header__nav ul ul {
  display: block;
}
.site-header__nav > ul > li > a {
  display:        block;
  padding:        0.4rem clamp(0.375rem, 0.6vw, 0.875rem);
  font-size:      clamp(0.95rem, 0.9vw, 1rem);
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color:          var(--dark);
  white-space:    nowrap;
  position:       relative;
  transition:     color var(--ease);
}
.site-header__nav > ul > li > a::after {
  content:    '';
  position:   absolute;
  bottom:     -2px;
  left:       50%;
  transform:  translateX(-50%);
  width:      0;
  height:     2px;
  background: var(--gold);
  transition: width var(--ease);
}
.site-header__nav > ul > li > a:hover { color: var(--gold); }
.site-header__nav > ul > li > a:hover::after { width: 60%; }
.site-header__nav .btn { margin-left: clamp(0.5rem, 1vw, 1.25rem); font-size: clamp(0.8rem, 0.85vw, 1rem); padding: 0.7rem clamp(0.75rem, 1.2vw, 2rem); }

/* ── Desktop Dropdown ────────────────────────────────────── */
.site-header__nav > ul > li { position: relative; }

/* sub-toggle — injected by JS into every li with a child ul.
   Absolutely positioned on desktop (zero flow impact), interactive on mobile. */
.sub-toggle {
  display:    none;
  background: none;
  border:     none;
  padding:    0;
  cursor:     pointer;
  line-height: 1;
  color:      currentColor;
  transition: transform var(--ease);
}

/* Desktop: absolute caret, sits to the right of the link text, no layout impact */
@media (min-width: 1200px) {
  /* Top-level: position relative on the <a> so caret anchors to it */
  .site-header__nav > ul > li:has(> ul) > a {
    position:      relative;
    padding-right: 1.25em; /* room for the caret */
  }
  .site-header__nav > ul > li:has(> ul) > .sub-toggle {
    display:        flex;
    align-items:    center;
    justify-content: center;
    position:       absolute;
    right:          0;
    top:            50%;
    transform:      translateY(-50%);
    pointer-events: none;
    font-size:      0.6em;
    width:          1em;
    height:         1em;
    transition:     transform var(--ease);
  }
  .site-header__nav > ul > li:has(> ul):hover > .sub-toggle {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Nested items inside dropdown: caret floats right, no layout shift */
  .site-header__nav ul li > ul > li:has(> ul) > a {
    position:      relative;
    padding-right: 2rem;
  }
  .site-header__nav ul li > ul > li:has(> ul) > .sub-toggle {
    display:        flex;
    align-items:    center;
    position:       absolute;
    right:          0.75rem;
    top:            50%;
    transform:      translateY(-50%) rotate(-90deg);
    pointer-events: none;
    font-size:      0.6em;
  }
}

/* Level-1 dropdown panel */
.site-header__nav ul li:has(> ul) { position: relative; }
.site-header__nav ul li > ul {
  position:   absolute;
  top:        100%;
  left:       0;
  min-width:  220px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border-top: 3px solid var(--gold);
  z-index:    800;
  opacity:    0;
  visibility: hidden;
  transform:  translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  margin:     0;
  padding:    0.5rem 0;
}
.site-header__nav ul li:has(> ul):hover > ul
/*.site-header__nav ul li:has(> ul):focus-within > ul*/ {
  opacity:    1;
  visibility: visible;
  transform:  translateY(0);
}

/* Dropdown links */
.site-header__nav ul li > ul > li > a {
  display:        block;
  padding:        0.55rem 1.25rem;
  font-size:      0.9rem;
  font-weight:    500;
  color:          var(--dark);
  white-space:    nowrap;
  transition:     background var(--ease), color var(--ease);
  text-transform: none;
  letter-spacing: 0;
}
.site-header__nav ul li > ul > li:hover > a { background: var(--off-white); color: var(--gold); }
/* No underline bar on dropdown links */
.site-header__nav ul li > ul > li > a::after { display: none; }

/* Level-2 sub-dropdown — opens to the right */
.site-header__nav ul li > ul > li > ul {
  top:         0;
  left:        100%;
  border-top:  none;
  border-left: 3px solid var(--gold);
}

/* ── Mobile nav close button ─────────────────────────────── */
.nav-close {
  display:         none; /* shown only at mobile via media query */
  position:        absolute;
  top:             1rem;
  right:           1rem;
  width:           2rem;
  height:          2rem;
  background:      none;
  border:          none;
  cursor:          pointer;
  color:           var(--dark);
  font-size:       1.25rem;
  align-items:     center;
  justify-content: center;
  transition:      color var(--ease);
  padding:         0;
  line-height:     1;
}
.nav-close:hover { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display:        none;
  flex-direction: column;
  justify-content: center;
  gap:            5px;
  width:          2.5rem;
  height:         2.5rem;
  background:     none;
  border:         none;
  padding:        0.25rem;
  cursor:         pointer;
  flex-shrink:    0;
}
.nav-toggle span {
  display:       block;
  width:         100%;
  height:        2px;
  background:    var(--dark);
  border-radius: 2px;
  transition:    transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO — Two-column layout inside 1640px container
   No background on the section — only the left col is dark
   ═══════════════════════════════════════════════════════════ */
/* .hero also carries container + container--wide classes */
.hero {
  display:   flex;
  overflow:  hidden;
  height:    clamp(500px, 70vh, 780px);
  padding:   0;
}

/* Left: static dark text column */
.hero__text-col {
  width:           500px;
  flex-shrink:     0;
  background:      var(--dark);
  display:         flex;
  align-items:     center;
  padding:         3rem 3.5rem;
  position:        relative;
  z-index:         2;
}

.hero__eyebrow {
  display:        flex;
  align-items:    center;
  gap:            0.5rem;
  font-size:      0.8125rem;
  font-weight:    600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  1.125rem;
}
.hero__eyebrow::before {
  content:    '';
  display:    block;
  width:      2rem;
  height:     2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  color:         var(--white);
  font-size:     clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--gold); }

.hero__desc {
  color:         var(--white);
  font-size:     1rem;
  line-height:   1.7;
  margin-bottom: 2rem;
}

/* Right: slick slider column */
.hero__slider-col {
  flex:     1;
  position: relative;
  overflow: hidden;
}

.hero__slider-col .slick-slider,
.hero__slider-col .slick-list,
.hero__slider-col .slick-track,
.hero__slider-col .slick-slide,
.hero__slider-col .slick-slide > div { height: 100%; }

.hero__slide {
  position: relative;
  height:   100%;
}
.hero__bg {
  position:        absolute;
  inset:           0;
  width:           100%;
  height:          100%;
  object-fit:      cover;
  object-position: center;
}

/* Slider arrows */
.hero__slider-col .slick-prev,
.hero__slider-col .slick-next {
  width:           3rem;
  height:          3rem;
  background:      #f4efdf;
  border:          1px solid rgba(255,255,255,.2);
  border-radius:   100%;
  z-index:         5;
  transition:      background var(--ease), color var(--ease), border-color var(--ease);
  color:           #1a1a1a;
  display:         flex !important;
  align-items:     center;
  justify-content: center;
  font-size:       0.9rem;
  line-height:     1;
}
.hero__slider-col .slick-prev { left: 1rem; }
.hero__slider-col .slick-next { right: 1rem; }
.hero__slider-col .slick-prev:hover,
.hero__slider-col .slick-next:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.hero__slider-col .slick-dots { bottom: 1.25rem; }
.hero__slider-col .slick-dots li button::before { color: var(--white); opacity: 0.55; font-size: 10px; }
.hero__slider-col .slick-dots li.slick-active button::before { color: var(--gold); opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--white);
}
.stats-bar__inner {
display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.stats-bar__item {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  text-align:      center;
  padding:         2rem 1rem;
  border-right:    1px solid var(--gold);
}
.stats-bar__item:last-child { border-right: none; }

.stats-bar__value {
  font-size:   1.875rem;
  font-weight: 700;
  color:       var(--dark);
  line-height: 1;
  display:     flex;
  align-items: baseline;
  gap:         0.1em;
}
.stats-bar__sup { font-size: 0.6em; font-weight: 700; color: var(--dark); }
.stats-bar__label {
  font-size:   1rem;
  font-weight: 400;
  color:       var(--dark);
  margin-top:  0.4rem;
    text-transform: uppercase;
}
