/* =========================================================
   PLUMBITALL — INNER PAGES + NAV DROPDOWN
   Append to assets/css/style.css
   ========================================================= */

/* ── Nav dropdown ────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown__arrow {
  font-size: 10px;
  transition: transform .2s ease;
}
.nav-dropdown:hover .nav-dropdown__arrow,
.nav-dropdown__trigger[aria-expanded="true"] .nav-dropdown__arrow {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  transform: translateX(-50%) translateY(-6px);
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 11px 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}
.nav-dropdown__menu a:hover {
  background: var(--soft);
  color: var(--brand-blue);
}

/* ── Inner page header — fixed navy ─────────────────────── */
.site-header--inner {
  position: fixed;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--white);
}

/* ── Inner page hero ─────────────────────────────────────── */
.inner-hero {
  padding: 140px 0 clamp(48px, 6vw, 72px);
  background: var(--navy);
  color: var(--white);
}
.inner-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  margin: 14px 0 0;
  line-height: .95;
}
.inner-hero h1 span { color: var(--brand-blue); }
.inner-hero__sub {
  max-width: 580px;
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.inner-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.inner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.inner-breadcrumb a { color: rgba(255,255,255,.5); }
.inner-breadcrumb a:hover { color: var(--brand-blue); }
.inner-breadcrumb span { color: rgba(255,255,255,.85); }
.inner-breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── Inner page sections ─────────────────────────────────── */
.inner-section {
  padding: clamp(54px, 7vw, 80px) 0;
  background: var(--white);
}
.inner-section--soft {
  background: var(--soft);
}
.inner-section__title {
  margin: 10px 0 0;
}
.inner-section__title span { color: var(--brand-blue); }
.inner-section__sub {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Gallery grid — inner pages ──────────────────────────── */
.inner-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.inner-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.inner-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.inner-gallery__item:hover img { transform: scale(1.04); }

/* ── Showroom detail layout ───────────────────────────────── */
.showroom-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.showroom-detail__title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 20px;
}
.showroom-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink);
}
.showroom-detail-item svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--brand-blue);
}
.showroom-detail-item a { color: var(--brand-blue); }
.showroom-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.showroom-hours-row:last-child { border-bottom: 0; }
.showroom-hours-day { color: var(--muted); }
.showroom-hours-time { font-weight: 700; color: var(--ink); }
.showroom-hours-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.showroom-hours-note svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  stroke: var(--brand-blue);
}

/* ── Map section ──────────────────────────────────────────── */
.map-section {
  height: 420px;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Style page split layout ──────────────────────────────── */
.style-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.style-split__copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.style-split__copy p + p { margin-top: 14px; }
.style-split__image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.style-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Style sub-nav ────────────────────────────────────────── */
.style-subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.style-subnav a {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.style-subnav a:hover,
.style-subnav a.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

/* ── Inner page CTA section ───────────────────────────────── */
.inner-cta {
  padding: clamp(54px, 7vw, 80px) 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.inner-cta h2 { font-size: clamp(32px, 4vw, 52px); }
.inner-cta h2 span { color: var(--brand-blue); }
.inner-cta p {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.6;
}
.inner-cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.inner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.inner-btn:hover { transform: translateY(-1px); }
.inner-btn--blue { background: var(--brand-blue); color: var(--white); }
.inner-btn--blue:hover { background: var(--brand-blue-dark); }
.inner-btn--outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.inner-btn--outline:hover { border-color: var(--white); }

/* ── Showroom hero image ──────────────────────────────────── */
.showroom-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  margin-bottom: 48px;
}

/* ── Responsive — inner pages ────────────────────────────── */
@media (max-width: 899px) {
  .site-header--inner {
    height: 62px;
  }
  .inner-hero {
    padding: 100px 0 clamp(40px, 6vw, 56px);
  }
  .inner-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .inner-hero__sub { font-size: 15px; }
  .inner-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .showroom-detail { grid-template-columns: 1fr; gap: 32px; }
  .style-split { grid-template-columns: 1fr; gap: 32px; }
  .style-split__image { aspect-ratio: 16/9; }
  .map-section { height: 300px; }
  .inner-cta__btns { flex-direction: column; align-items: center; }
  .inner-btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Dropdown becomes full-width on mobile */
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown__menu {
    display: block;
  }
  .nav-dropdown__menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
}
