/* ===========================================================
   Apertura Photography — Black & Gold Classic-Modern-Elegant
   =========================================================== */

/* ---------- Intro: opening video (homepage only) ---------- */
body.intro-locked { overflow: hidden; height: 100vh; }

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #050505;
  overflow: hidden;
  animation: introOverlayOut 0.7s ease forwards;
  animation-delay: 5.3s;
}

.intro-overlay .intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: introVideoIn 0.5s ease forwards;
}

.intro-overlay .intro-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.12), rgba(5,5,5,0.28));
}

@keyframes introVideoIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes introOverlayOut {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
  body.intro-locked { overflow: auto; height: auto; }
}

:root {
  --black: #050505;
  --black-soft: #0e0e0e;
  --charcoal: #1c1a17;
  --line: #2a2620;
  --gold: #c6a476;
  --gold-light: #e6d6be;
  --gold-dim: #8a734f;
  --cream: #f3efe7;
  --cream-dim: #cfc8bc;

  --serif: "Marcellus", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}

p { color: var(--cream-dim); font-weight: 400; }

.section {
  padding: 110px 0;
}

.section--tight { padding: 70px 0; }

.section--alt {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.center { text-align: center; }

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 24px auto;
}

.divider--left { margin: 24px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: transparent;
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn--filled {
  background: var(--gold);
  color: var(--black);
}

.btn--filled:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.brand:focus, .brand:active, .brand:hover {
  outline: none;
}

.brand img {
  height: 128px;
  width: auto;
  transition: none;
  transform: none;
}

.brand-text {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  border: 1px solid var(--gold-dim);
  padding: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px; height: 1px; background: var(--gold-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #050505;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroKenBurns 24s infinite ease-in-out;
  will-change: opacity, transform;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slide:nth-child(3) { animation-delay: 12s; }
.hero-bg-slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroKenBurns {
  0% { opacity: 0; transform: scale(1); }
  3% { opacity: 1; }
  22% { opacity: 1; transform: scale(1.1); }
  27% { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,5,0.5), rgba(5,5,5,0.82));
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { animation: none; opacity: 0; }
  .hero-bg-slide:first-child { opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 0 24px; }

.hero .brand-mark {
  width: 240px;
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--cream-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 190px 0 90px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at top, rgba(198,164,118,0.06), transparent 60%);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.page-hero p { max-width: 600px; margin: 18px auto 0; }

/* ---------- Grid / Gallery ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.grid-item:hover img { transform: scale(1.06); }

.grid-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.grid-item:hover .caption { opacity: 1; }

.grid-item.featured-item { border: 1px solid var(--gold-dim); }
.grid-item.featured-item:hover { border-color: var(--gold); }
.grid-item .caption span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* filter bar */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-col img {
  border: 1px solid var(--line);
}

/* ---------- Numbered "why us" grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.why-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.why-card .num {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 17px; margin-bottom: 10px; }
.why-card p { font-size: 13px; }

/* ---------- Testimonial cards ---------- */
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.testimonial-card p.q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--cream);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 22px;
}
.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--black-soft);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-card .who-text .name {
  font-size: 13px;
  color: var(--gold-light);
  display: block;
}
.testimonial-card .who-text .role {
  font-size: 12px;
  color: var(--cream-dim);
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 17px;
}
.faq-question .plus {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  font-size: 14px;
  padding: 0 4px 22px;
}
.faq-item.open .faq-answer { max-height: 240px; }

/* ---------- Feature cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  border: 1px solid var(--line);
  padding: 44px 32px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

.card .icon {
  width: 44px; height: 44px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 14px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat h3 {
  font-size: 40px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.stat p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--line);
  padding: 46px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(198,164,118,0.06), transparent);
}
.price-card.featured .badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
}

.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .price {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold-light);
  margin: 18px 0 4px;
}
.price-card .price span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cream-dim);
}
.price-card .tagline {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 26px;
  letter-spacing: 0.05em;
}

.price-list {
  list-style: none;
  margin: 0 0 32px;
  flex: 1;
}
.price-list li {
  font-size: 14px;
  color: var(--cream-dim);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.price-list li::before {
  content: "—";
  color: var(--gold);
}

.addons {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 50px;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.addon {
  border: 1px solid var(--line);
  padding: 26px 22px;
}
.addon h4 { font-size: 16px; margin-bottom: 6px; }
.addon .amt { color: var(--gold); font-size: 13px; }

/* ---------- Testimonial / quote ---------- */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.quote-block p.q {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}
.quote-block .who {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(198,164,118,0.05), transparent);
  border-top: 1px solid var(--line);
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.cta-banner p { max-width: 520px; margin: 0 auto 34px; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--cream-dim);
}

/* ---------- Contact info / booking ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.info-list { list-style: none; margin-top: 24px; }
.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 6px;
}

.calendly-placeholder {
  border: 1px dashed var(--gold-dim);
  padding: 60px 30px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 13px;
}
.calendly-placeholder strong { color: var(--gold-light); display: block; margin-bottom: 10px; font-family: var(--serif); font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--black);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { height: 168px; }
.footer-brand p { font-size: 13px; max-width: 320px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: var(--sans);
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; color: var(--cream-dim); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border: 1px solid var(--line);
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  color: var(--gold-light);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: var(--gold-light);
  font-size: 32px;
  cursor: pointer;
  padding: 12px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .contact-wrap, .form-grid { grid-template-columns: 1fr; }
  .cards-3, .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
}
