/* ================= Photography Portfolio — public site ================= */
:root {
  --bg: #0a0a0c;
  --bg-soft: #131318;
  --bg-card: #17171d;
  --line: #26262f;
  --text: #f2f2f4;
  --muted: #9a9aa6;
  --gold: #c9a24b;
  --gold-soft: #e4c983;
  --accent: #c9a24b;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, 92%); margin: 0 auto; }
section { padding: 110px 0; position: relative; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.section-eyebrow { color: var(--gold); letter-spacing: .28em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 14px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 100px; font-weight: 600; font-size: .92rem;
  cursor: pointer; border: 1px solid transparent; transition: .25s ease; letter-spacing: .02em;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #14110a; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,75,.35); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: .3s ease;
}
header.nav.scrolled { background: rgba(10,10,12,.85); backdrop-filter: blur(14px); padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: .9rem; color: var(--muted); transition: .2s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 90px;
  background:
    linear-gradient(180deg, rgba(10,10,12,.78), rgba(10,10,12,.92)),
    url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=1900&q=80') center/cover fixed;
}
.hero-content { max-width: 760px; }
.hero .eyebrow { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin: 18px 0 22px; }
.hero p.lead { font-size: 1.15rem; color: #d7d7dd; max-width: 560px; margin-bottom: 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .8rem; letter-spacing: .2em; animation: bob 2s infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 500; transition: .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--muted); }
.filter-btn.active { background: var(--gold); color: #14110a; border-color: var(--gold); }
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery-item {
  position: relative; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; break-inside: avoid; background: var(--bg-card);
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
.gallery-item.in { opacity: 1; transform: none; }
.gallery-item img { width: 100%; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(transparent 40%, rgba(0,0,0,.82)); opacity: 0; transition: .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .cat { color: var(--gold); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.gallery-overlay h3 { font-size: 1.25rem; margin-top: 4px; }
.play-badge {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,162,75,.92); color: #14110a; display: grid; place-items: center; font-size: 1rem;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  transition: .3s; position: relative; overflow: hidden;
}
.service-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:3px; background: linear-gradient(90deg,var(--gold),transparent); transform: scaleX(0); transform-origin:left; transition:.4s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.4); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.service-price { color: var(--gold); font-weight: 600; font-family: var(--font-display); }
.service-price span { color: var(--muted); font-size: .8rem; font-family: var(--font-body); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); font-weight: 700; }
.stat .label { color: var(--muted); font-size: .78rem; letter-spacing: .05em; }

/* ---------- Booking ---------- */
.booking { background: var(--bg-soft); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.calendar { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h3 { font-size: 1.2rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 1rem; transition:.2s; }
.cal-nav button:hover { border-color: var(--gold); color: var(--gold); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; color: var(--muted); font-size: .72rem; text-transform: uppercase; padding: 6px 0; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; cursor: pointer;
  font-size: .85rem; border: 1px solid transparent; transition: .15s; position: relative;
}
.cal-day.empty { cursor: default; }
.cal-day.available:hover { background: rgba(201,162,75,.15); border-color: var(--gold); }
.cal-day.unavailable { color: #4a4a52; text-decoration: line-through; cursor: not-allowed; }
.cal-day.past { color: #3a3a42; cursor: not-allowed; }
.cal-day.selected { background: var(--gold); color: #14110a; font-weight: 700; }
.cal-legend { display: flex; gap: 18px; margin-top: 18px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.free { background: var(--gold); } .dot.busy { background: #4a4a52; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: .92rem; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.selected-date-note { color: var(--gold); font-size: .85rem; margin-bottom: 14px; min-height: 20px; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: .9rem; display: none; }
.form-msg.ok { display: block; background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.4); color: #9fe0a2; }
.form-msg.err { display: block; background: rgba(244,67,54,.12); border: 1px solid rgba(244,67,54,.4); color: #f2a099; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  position: relative; transition: .3s;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.4); box-shadow: var(--shadow); }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .4; color: var(--gold); opacity: .35; }
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; margin: 10px 0 14px; font-size: .95rem; }
.testimonial-card .quote { color: #d7d7dd; font-size: .98rem; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img,
.testimonial-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #14110a;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
}
.testimonial-author .who .name { font-weight: 600; }
.testimonial-author .who .role { color: var(--muted); font-size: .8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p.lead { color: var(--muted); margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,75,.12); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item .ci-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .ci-value { font-weight: 500; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,7,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox-content { max-width: 1000px; width: 100%; text-align: center; }
.lightbox-content img { max-height: 78vh; margin: 0 auto; border-radius: 10px; }
.lightbox-content iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.lightbox-caption { margin-top: 16px; color: var(--muted); }
.lightbox-caption h3 { color: var(--text); font-size: 1.4rem; }
.lightbox-close { position: absolute; top: 24px; right: 30px; font-size: 2rem; color: #fff; cursor: pointer; background: none; border: none; }

/* ---------- Footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 40px 0; text-align: center; color: var(--muted); font-size: .88rem; }
footer .brand { justify-content: center; margin-bottom: 10px; }
footer a { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 74%; max-width: 320px;
    background: var(--bg-soft); flex-direction: column; justify-content: center; gap: 26px; transition: .35s; border-left: 1px solid var(--line); }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; z-index: 101; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 80px 0; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
