/* =====================================================
   GOLDEN GOOSE DESIGN — styles.css
   Shared across all pages
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Gold — used sparingly, as a true accent */
  --gold:        #B8985A;
  --gold-dark:   #96793F;
  --gold-light:  #D4BC85;
  --gold-soft:   #E4D3AE;

  /* Warm stone — replaces the old coastal blue */
  --stone-dark:  #7E7364;
  --stone:       #A79B89;
  --stone-light: #D6CDBE;
  --stone-pale:  #EFE9DE;

  /* Creams & ink */
  --cream:       #F6F2EA;
  --cream-warm:  #EFE8DA;
  --white:       #FDFBF7;
  --ink:         #221F1B;
  --ink-mid:     #4E4840;
  --ink-soft:    #857D71;
  --border:      #E2DACB;
  --border-soft: #EDE7DB;

  --nav-h:       84px;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', system-ui, sans-serif;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --t:           0.32s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }
ul { list-style: none; }

/* =====================================================
   NAVBAR
===================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--t);
}
#navbar.scrolled { box-shadow: 0 1px 28px rgba(34,31,27,0.07); }

.nav-logo img { height: 50px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.6rem; }
.nav-links a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 26px;
  background: var(--ink);
  color: var(--white);
  transition: background var(--t);
}
.nav-cta:hover { background: var(--gold-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
  z-index: 850;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--gold); }

/* =====================================================
   PAGE WRAPPER
===================================================== */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all var(--t);
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--gold-dark); }
.btn-outline-ink { border: 1px solid var(--ink); color: var(--ink); padding: 15px 39px; }
.btn-outline-ink:hover { background: var(--ink); color: var(--white); }
.btn-outline-white { border: 1px solid rgba(253,251,247,0.5); color: #fff; padding: 15px 39px; }
.btn-outline-white:hover { background: rgba(253,251,247,0.14); border-color: #fff; }

/* =====================================================
   TYPE HELPERS
===================================================== */
.eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 1.1rem;
}
.eyebrow-gold { color: var(--gold); }
.rule { width: 34px; height: 1px; background: var(--gold); margin-bottom: 2.2rem; }

/* Generous section spacing — luxury pacing */
.section     { padding: 130px 7vw; }
.section-tight { padding: 96px 7vw; }
.section-cream { background: var(--cream); }
.section-stone { background: var(--stone-pale); }
.section-ink   { background: var(--ink); }

.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  font-weight: 300;
  line-height: 1.12;
  margin-top: 0.3rem;
}
.section-header h2 em { font-style: italic; color: var(--gold); }
.section-header p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 1.3rem;
  line-height: 1.85;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   PAGE HERO BANNER
===================================================== */
.page-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(34,31,27,0.46);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.015em;
  line-height: 1.06;
  max-width: 900px;
}
.page-hero p.hero-lede {
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  line-height: 1.85;
  margin-top: 1.4rem;
}

/* =====================================================
   CTA BAND — warm cream, no blue
===================================================== */
.cta-band {
  padding: 120px 7vw;
  text-align: center;
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}
.cta-band .rule { margin: 0 auto 2rem; }
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.14;
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-mid);
  margin-bottom: 2.6rem;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  line-height: 1.85;
  position: relative; z-index: 1;
}
.cta-band .btn { position: relative; z-index: 1; }

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.8rem 2.4rem;
  display: flex;
  flex-direction: column;
}
.t-mark {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 0.7;
  margin-bottom: 1.4rem;
}
.testimonial-card p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.68;
  color: var(--ink-mid);
  margin-bottom: 1.8rem;
  flex: 1;
}
.t-attrib {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-dark);
}
.testimonial-card.placeholder {
  border-style: dashed;
  border-color: var(--stone-light);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
}
.testimonial-card.placeholder span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* =====================================================
   SERVICE AREA PILLS
===================================================== */
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill {
  padding: 9px 20px;
  border: 1px solid var(--border);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: all var(--t);
}
.area-pill:hover { border-color: var(--gold); color: var(--gold-dark); }

/* =====================================================
   FOOTER
===================================================== */
footer { background: var(--ink); color: rgba(253,251,247,0.55); }
.footer-grid {
  padding: 88px 7vw 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 52px;
}
.footer-brand img {
  height: 50px;
  margin-bottom: 1.6rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-brand p { font-size: 0.84rem; font-weight: 300; line-height: 1.9; max-width: 250px; }
.footer-col h4 {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.6rem;
}
.footer-col li + li { margin-top: 0.7rem; }
.footer-col a {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(253,251,247,0.5);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.footer-areas {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(253,251,247,0.4);
}
.footer-bottom {
  border-top: 1px solid rgba(253,251,247,0.08);
  padding: 22px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { color: rgba(253,251,247,0.35); transition: color var(--t); }
.footer-socials a:hover { color: var(--gold-soft); }

/* =====================================================
   SCROLL REVEAL
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* =====================================================
   GALLERY — cover grid (index page)
===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
}
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card .gc-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34,31,27,.55) 0%, rgba(34,31,27,0) 45%);
  opacity: 0.55;
  transition: opacity var(--t);
}
.gallery-card:hover .gc-veil { opacity: 0.8; }
.gallery-card .gc-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.8rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #fff;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   GALLERY — project panel (click-to-expand, same page)
===================================================== */
#project-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--white);
  overflow-y: auto;
}
#project-panel.open { display: block; }

.panel-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 5vw;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.panel-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  background: none; border: none;
  transition: gap var(--t);
}
.panel-back:hover { gap: 12px; }
.panel-title {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 300;
  color: var(--ink);
}
.panel-spacer { width: 140px; }

.panel-body { padding: 4rem 5vw 6rem; max-width: 1100px; margin: 0 auto; }

.panel-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.panel-photos img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
@media (max-width: 700px) {
  .panel-photos { grid-template-columns: 1fr; }
}

/* lightbox */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(15,13,11,0.97);
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lb-close {
  position: fixed; top: 1.4rem; right: 1.8rem;
  color: rgba(255,255,255,0.6); font-size: 1.5rem;
  cursor: pointer; line-height: 1;
  transition: color var(--t); z-index: 9001;
}
.lb-close:hover { color: #fff; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.6rem; padding: 56px 7vw 40px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 76px 6vw; }
  .section-tight { padding: 60px 6vw; }
  .cta-band { padding: 76px 6vw; }
  .section-header { margin-bottom: 3rem; }
  .page-hero { height: 340px; }
  .btn { padding: 14px 32px; }
}
