/* ============================================================
   Lumière — Wedding Photography Portfolio
   Palette + type tokens (colors also overridable from CONFIG)
   ============================================================ */
:root {
  --offwhite: #FAFAF8;
  --charcoal: #1C1C1C;
  --charcoal-soft: #4a4844;
  --gold: #C9A453;
  --gold-soft: #e7d6a8;
  --line: #e4e1da;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gut: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--offwhite);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ===== Reusable ===== */
.section { padding: clamp(2.75rem, 5vw, 4.5rem) var(--gut); max-width: var(--maxw); margin: 0 auto; }
.section__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__eyebrow { font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: .9rem; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }

.btn { display: inline-block; font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding: 1em 2.4em; border: 1px solid var(--charcoal); background: none; color: var(--charcoal); cursor: pointer; transition: all .35s ease; text-decoration: none; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--light { background: #fff; border-color: #fff; color: var(--charcoal); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--ghost { background: none; }
.btn--ghost:hover { background: var(--charcoal); color: #fff; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Nav
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gut); transition: background .4s ease, box-shadow .4s ease, padding .4s ease; }
.nav--solid { background: rgba(250,250,248,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-top: .7rem; padding-bottom: .7rem; }
.nav__brand { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .04em; text-decoration: none; color: #fff; transition: color .4s; }
.nav--solid .nav__brand { color: var(--charcoal); }
.nav__links { display: flex; gap: 2rem; margin-left: auto; margin-right: 1.6rem; }
.nav__links a { text-decoration: none; color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; position: relative; transition: color .4s; }
.nav--solid .nav__links a { color: var(--charcoal-soft); }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-5px; width:0; height:1px; background: var(--gold); transition: width .3s; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: .66rem; padding: .8em 1.6em; }
.nav:not(.nav--solid) .nav__cta { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; }
.nav:not(.nav--solid) .nav__cta:hover { background: #fff; color: var(--charcoal); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }
.nav--solid .nav__toggle span { background: var(--charcoal); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.5)); }
.hero__content { position: relative; z-index: 2; padding: 0 1.5rem; animation: fadeUp 1.4s ease both; max-width: 760px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__eyebrow { font-size: .8rem; letter-spacing: .42em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 13vw, 8rem); line-height: .95; }
.hero__sub { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 300; margin: 1.4rem auto 0; max-width: 32ch; opacity: .95; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; text-decoration: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 38px; background: #fff; animation: scrollLine 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ============================================================
   Stats strip
   ============================================================ */
.stats { background: var(--charcoal); color: var(--offwhite); display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1.5rem, 6vw, 5rem); padding: clamp(2.2rem,5vw,3.2rem) var(--gut); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); color: #fff; line-height: 1; }
.stat__label { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }

/* ============================================================
   About
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__img { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { color: var(--charcoal-soft); margin-bottom: 1.1rem; }
.about__text .section__title { margin-bottom: 1.4rem; }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 1.8rem !important; color: var(--charcoal) !important; margin-top: .4rem; }

/* ============================================================
   Work / Portfolio
   ============================================================ */
.work__filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; padding: .6em 1.3em; border: 1px solid var(--line); background: none; color: var(--charcoal-soft); cursor: pointer; border-radius: 30px; transition: all .3s; }
.filter-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

.masonry { columns: 3; column-gap: 14px; transition: opacity .25s ease; }
.masonry.switching { opacity: 0; }
.ph { position: relative; margin-bottom: 14px; break-inside: avoid; overflow: hidden; border-radius: 2px; cursor: pointer; opacity: 0; transform: translateY(28px) scale(.97); filter: blur(6px); transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1), filter .7s cubic-bezier(.16,.8,.24,1); }
.ph.in { opacity: 1; transform: none; filter: blur(0); }
.ph img { width: 100%; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.ph:hover img { transform: scale(1.045); }
.ph__cat { position: absolute; left: 10px; bottom: 10px; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.42); padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(2px); opacity: 0; transform: translateY(6px); transition: .4s; }
.ph:hover .ph__cat { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,15,15,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__stage { max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox__stage img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 2px; }
.lightbox__stage figcaption { color: #ddd; font-size: .8rem; letter-spacing: .05em; margin-top: .8rem; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; transition: background .3s; }
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__prev { left: clamp(.6rem, 3vw, 2rem); }
.lightbox__next { right: clamp(.6rem, 3vw, 2rem); }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 2rem; }
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--gold-soft); }
.quote__text { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--charcoal); margin: .6rem 0 1.4rem; }
.quote__by { display: flex; align-items: center; gap: .8rem; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote__couple { font-weight: 600; font-size: .9rem; }
.quote__loc { font-size: .72rem; color: var(--charcoal-soft); letter-spacing: .05em; }

/* ============================================================
   Contact
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro p { color: var(--charcoal-soft); margin: 1rem 0 1.6rem; }
.contact__intro .section__title { margin-bottom: 0; }
.contact__list { list-style: none; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; font-size: .95rem; }
.contact__list a { color: var(--charcoal); text-decoration: none; }
.contact__list a:hover { color: var(--gold); }
.contact__list .ico { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); flex: none; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--charcoal-soft); margin-bottom: .5rem; }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: .95rem; padding: .75rem .9rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; outline: none; transition: border-color .3s; color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }
.contact__thanks { text-align: center; padding: 2.5rem 1rem; }
.contact__check { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }
.contact__thanks h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: .5rem; }
.contact__thanks p { color: var(--charcoal-soft); margin-bottom: 1.5rem; }

/* WhatsApp CTA (replaces the inquiry form) */
.contact__cta { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: clamp(2rem, 5vw, 3.4rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__cta-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: #fff; margin-bottom: 1.3rem; }
.contact__cta h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 500; margin-bottom: .6rem; }
.contact__cta p { color: var(--charcoal-soft); margin-bottom: 1.7rem; max-width: 38ch; }

/* ============================================================
   Footer
   ============================================================ */
.footer { text-align: center; padding: clamp(3.5rem,7vw,6rem) var(--gut); background: var(--charcoal); color: var(--offwhite); }
.footer__brand { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem,6vw,3.6rem); color: #fff; }
.footer__tag { letter-spacing: .35em; text-transform: uppercase; font-size: .72rem; color: var(--gold-soft); margin-top: .4rem; }
.footer__area { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .9rem; }
.footer__social { display: flex; justify-content: center; gap: 1.4rem; margin: 1.8rem 0; }
.footer__social a { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.8); transition: color .3s; }
.footer__social a:hover { color: var(--gold); }
.footer__love { font-size: .72rem; letter-spacing: .1em; color: rgba(255,255,255,.5); }

/* ============================================================
   Process / How It Works
   ============================================================ */
.process { max-width: var(--maxw); margin: 0 auto; padding-top: clamp(2.5rem, 5vw, 4rem); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2rem); counter-reset: step; }
.proc { text-align: center; padding: 1rem; position: relative; }
.proc__step { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.1rem; }
.proc__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .5rem; }
.proc__desc { color: var(--charcoal-soft); font-size: .92rem; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-family: var(--serif); font-size: 1.3rem; color: var(--charcoal); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { font-family: var(--sans); font-size: 1.4rem; color: var(--gold); flex: none; transition: transform .3s; line-height: 1; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.4rem; color: var(--charcoal-soft); font-size: .98rem; max-width: 62ch; }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-btn { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.4); transition: transform .3s; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(74vw, 320px); flex-direction: column; justify-content: center; gap: 1.8rem; background: var(--charcoal); padding: 2rem; transform: translateX(100%); transition: transform .4s ease; margin: 0; }
  .nav__links.open { transform: none; }
  .nav__links a { color: #fff; font-size: .95rem; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 110; }
  .about__grid { grid-template-columns: 1fr; }
  .about__img { max-width: 460px; margin: 0 auto; }
  .masonry { columns: 2; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .masonry { columns: 1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}
