/* ============================================================
   OFD — Wedding Planning & Design
   Romantic & floral theme
   ============================================================ */

:root {
  --blush:      #f7e7e3;
  --blush-soft: #fdf6f3;
  --rose:       #d98b8b;
  --rose-deep:  #b96b6b;
  --mauve:      #7a5c5c;
  --ink:        #4a3b3b;
  --cream:      #fffdfb;
  --gold:       #c9a86a;
  --shadow:     0 20px 50px rgba(122, 92, 92, 0.14);

  --font-script: 'Great Vibes', cursive;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--mauve); }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--rose-deep);
  margin-bottom: 0.9rem;
}

em { font-style: italic; color: var(--rose-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 253, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 139, 139, 0.15);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--rose-deep); text-decoration: none;
  display: flex; align-items: center;
}
.brand-logo { height: 52px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-cta {
  background: var(--rose); color: #fff !important;
  padding: 0.55rem 1.4rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--rose-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--mauve); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(122,92,92,0.35), rgba(122,92,92,0.45)),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat,
    linear-gradient(135deg, var(--rose) 0%, var(--mauve) 100%);
  padding: 6rem 1.5rem 4rem;
}
.hero-content { max-width: 720px; position: relative; z-index: 2; }
.hero .eyebrow { color: #ffe9e4; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero-sub { font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.2rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-note { color: var(--rose-deep); margin-top: 0.8rem; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-media img { border-radius: 8px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1.1rem; }
.stats { list-style: none; display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-serif); font-size: 2.2rem; color: var(--rose-deep); }
.stats span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Services ---------- */
.services { background: var(--blush-soft); max-width: 100%; }
.services .section-head, .services .cards { max-width: 1200px; margin-left: auto; margin-right: auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card {
  background: #fff; padding: 2.5rem 2rem; border-radius: 10px;
  border: 1px solid rgba(217, 139, 139, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.4rem; color: var(--gold); margin-bottom: 1rem; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img {
  width: 100%; height: 300px; object-fit: cover; border-radius: 8px;
  transition: transform 0.4s, filter 0.4s; filter: saturate(0.95);
}
.gallery-grid img:hover { transform: scale(1.03); filter: saturate(1.1); }

/* Live Instagram feed (Behold widget) — theme to match the gallery grid */
.ig-feed { max-width: 1100px; margin: 0 auto; }
behold-widget {
  --behold-row-gap: 1rem;
  --behold-column-gap: 1rem;
  --behold-border-radius: 8px;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--blush-soft); max-width: 100%; }
.testimonials .section-head, .testimonials .quotes { max-width: 1200px; margin-left: auto; margin-right: auto; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
blockquote {
  background: #fff; padding: 2.5rem 2rem; border-radius: 10px;
  border-top: 3px solid var(--rose); position: relative;
}
blockquote p { font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: var(--mauve); margin-bottom: 1.2rem; }
blockquote cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--rose-deep); }

/* ---------- Contact ---------- */
.contact-inner { max-width: 1000px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mauve); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 0.95rem; padding: 0.8rem 1rem;
  border: 1px solid rgba(122,92,92,0.2); border-radius: 6px; background: var(--blush-soft);
  color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose); }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; border: none; }

.contact-info { background: var(--blush-soft); padding: 2.5rem 2rem; border-radius: 10px; }
.contact-info h3 { font-size: 1.8rem; letter-spacing: 0.15em; }
.contact-info .muted { color: var(--rose-deep); font-size: 0.9rem; margin-bottom: 1.5rem; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; flex-direction: column; font-size: 0.95rem; }
.contact-info li span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mauve); }
.contact-info a { color: var(--ink); text-decoration: none; }
.contact-info a:hover { color: var(--rose-deep); }
.socials { display: flex; gap: 1.2rem; margin-top: 1.8rem; }
.socials a { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rose-deep); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 3.5rem 1.5rem; background: var(--mauve); color: #fff; }
.footer-brand { font-family: var(--font-serif); font-size: 1.8rem; letter-spacing: 0.2em; }
.site-footer .muted { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1rem; }
.copyright { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.muted { color: var(--rose-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .brand-logo { height: 42px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid rgba(217,139,139,0.15);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { display: block; padding: 1rem; }
  .cards, .quotes, .gallery-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
  .section { padding: 4rem 1.5rem; }
}

/* ============================================================
   PRIVATE PORTFOLIO PAGE  (portfolio.html)
   ============================================================ */
.portfolio-body { padding-top: 84px; }
.portfolio-header .nav { justify-content: space-between; }
.portfolio-badge {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--rose-deep); border: 1px solid rgba(217,139,139,0.35);
  padding: 0.4rem 0.9rem; border-radius: 999px;
}

.portfolio-intro { max-width: 760px; margin: 0 auto; text-align: center; padding: 4.5rem 1.5rem 1.5rem; }
.portfolio-intro h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--mauve); margin-bottom: 1rem; }
.portfolio-lead { max-width: 560px; margin: 0 auto; color: var(--ink); }

/* ---- Each wedding ---- */
/* ---- Ambient blush vignette (frames the whole viewport) ---- */
.ambient-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 150;
  box-shadow:
    inset 0 0 150px 14px rgba(216, 138, 138, 0.30),
    inset 0 0 45px 3px rgba(216, 138, 138, 0.20);
}

/* ---- "See more events" dropdown (next to logo) ---- */
.nav-left { display: flex; align-items: center; gap: 1.1rem; }
.events-dropdown { position: relative; }
.events-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--rose-deep); background: transparent; border: 1px solid rgba(217,139,139,0.45);
  border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.events-toggle:hover { background: rgba(217,139,139,0.12); }
.events-caret { font-size: 0.9em; transition: transform 0.25s; }
.events-toggle[aria-expanded="true"] .events-caret { transform: rotate(180deg); }
.events-menu {
  position: absolute; top: calc(100% + 0.55rem); left: 0; z-index: 130;
  min-width: 240px; list-style: none; margin: 0; padding: 0.4rem;
  background: var(--cream); border: 1px solid rgba(217,139,139,0.25);
  border-radius: 14px; box-shadow: 0 18px 50px rgba(120,80,80,0.20);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.events-dropdown.open .events-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.events-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; width: 100%;
  text-align: left; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-serif); font-size: 1.08rem; color: var(--ink);
  padding: 0.62rem 0.75rem; border-radius: 9px; transition: background 0.18s, color 0.18s;
}
.events-menu button:hover { background: rgba(217,139,139,0.12); color: var(--rose-deep); }
.events-menu a.events-menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; width: 100%;
  text-decoration: none;
  font-family: var(--font-serif); font-size: 1.08rem; color: var(--rose-deep);
  padding: 0.62rem 0.75rem; border-radius: 9px; transition: background 0.18s, color 0.18s;
}
.events-menu a.events-menu-link:hover { background: rgba(217,139,139,0.12); color: var(--rose-deep); }
.events-menu-sep { height: 1px; margin: 0.35rem 0.5rem; padding: 0; background: rgba(217,139,139,0.22); }
.soon-tag {
  font-family: var(--font-sans); font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); border: 1px solid rgba(198,160,90,0.45); border-radius: 999px;
  padding: 0.2rem 0.5rem; white-space: nowrap;
}

.wedding { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; border-top: 1px solid rgba(217,139,139,0.18); }
.wedding.is-hidden { display: none; }
.events-menu button.is-active { color: var(--rose-deep); background: rgba(217,139,139,0.10); }
.wedding-soon { text-align: center; }
.wedding-soon-note {
  margin-top: 0.7rem; font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--rose-deep); opacity: 0.8;
}
.wedding:first-of-type { border-top: none; }
.wedding-head { text-align: center; max-width: 680px; margin: 0 auto 2rem; }
.wedding-index { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--gold); }
.wedding-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.4rem 0 0.5rem; }
.wedding-meta { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--rose-deep); }
.wedding-desc { margin-top: 0.7rem; }

/* ---- Expandable event details ---- */
.wedding-details {
  max-width: 680px; margin: 0 auto 2.5rem;
  border: 1px solid rgba(217,139,139,0.22); border-radius: 10px;
  background: var(--blush-soft); overflow: hidden;
}
.wedding-details summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.4rem; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--mauve); font-weight: 500;
}
.wedding-details summary::-webkit-details-marker { display: none; }
.wedding-details summary::after {
  content: '+'; font-size: 1.1rem; line-height: 1; color: var(--rose-deep);
  transition: transform 0.25s;
}
.wedding-details[open] summary::after { content: '\2013'; }
.wedding-details summary:hover { color: var(--rose-deep); }
.wedding-details dl {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.1rem 2rem;
  padding: 0.4rem 1.6rem 1.5rem;
}
.wedding-details dl > div {
  display: flex; flex-direction: column; padding: 0.7rem 0;
  border-top: 1px solid rgba(217,139,139,0.15);
}
.wedding-details dt { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rose-deep); }
.wedding-details dd { font-size: 0.98rem; color: var(--ink); }

/* ---- Films (YouTube) ---- */
.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.films:has(.film:only-child) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.film {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); background: #000;
}
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Event sub-sections within a wedding ---- */
.event { margin-top: 2.8rem; }
.event:first-of-type { margin-top: 0; }
.event-title {
  text-align: center; font-family: var(--font-serif); font-style: italic;
  font-size: 1.55rem; color: var(--rose-deep); margin-bottom: 1.3rem; letter-spacing: 0.02em;
}
.event-title::before, .event-title::after {
  content: '\2014'; color: var(--gold); opacity: 0.55; margin: 0 0.7rem; font-style: normal;
}
/* ---- Films reel (vertical films as poster tiles → open in video lightbox) ---- */
.films-section { margin-bottom: 3.2rem; }
.reel {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.3rem; margin-top: 0.4rem;
}
.reel-item {
  flex: 0 0 auto; width: min(210px, calc(50% - 0.65rem)); margin: 0; padding: 0;
  background: none; border: 0; cursor: pointer; font: inherit; text-align: center;
}
/* Landscape films (regular 16:9 videos) */
.reel-landscape .reel-item { width: min(480px, 100%); }
.reel-landscape .reel-frame { aspect-ratio: 16 / 9; }
/* Featured single landscape film — larger, sits in its own row above the Shorts */
.reel-feature { margin-bottom: 1.6rem; }
.reel-feature .reel-item { width: min(760px, 100%); }
.reel-frame {
  position: relative; display: block; aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #1a1212;
}
.reel-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s, filter 0.4s; filter: saturate(0.98) brightness(0.94);
}
.reel-item:hover .reel-frame img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }
.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 999px;
  background: rgba(255,255,255,0.92); box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: background 0.25s, transform 0.25s;
}
.reel-play::after {
  content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent var(--rose-deep);
}
.reel-item:hover .reel-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.reel-cap {
  display: block; margin-top: 0.7rem; font-family: var(--font-sans);
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose-deep);
}

/* ---- Video lightbox (enlarged vertical film) ---- */
.video-lightbox {
  position: fixed; inset: 0; z-index: 210; display: none;
  align-items: center; justify-content: center;
  background: rgba(40, 28, 28, 0.94); padding: 2rem 1rem;
}
.video-lightbox.open { display: flex; }
.vl-frame {
  position: relative; aspect-ratio: 9 / 16; height: min(86vh, 720px); max-width: 94vw;
  border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55); background: #000;
}
.vl-frame.vl-wide {
  aspect-ratio: 16 / 9; height: auto; width: min(1100px, 94vw); max-width: 94vw;
}
.vl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vl-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px;
  font-size: 1.6rem; line-height: 1; color: #fff; border: none; cursor: pointer;
  background: rgba(255,255,255,0.14); border-radius: 999px; transition: background 0.2s;
}
.vl-close:hover { background: rgba(255,255,255,0.3); }

/* Collapsed preview: hidden overflow photos / events + "see all" toggle */
.masonry img.is-hidden { display: none; }
.event.is-hidden { display: none; }
.see-all-wrap { text-align: center; margin-top: 1.4rem; }
.see-all-wrap.is-hidden { display: none; }
.see-all {
  font-family: var(--font-sans); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--rose-deep); background: transparent;
  border: 1px solid rgba(217,139,139,0.5); border-radius: 999px;
  padding: 0.7rem 1.6rem; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.see-all:hover { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }

/* ---- Masonry photo wall ---- */
.masonry { column-count: 3; column-gap: 1rem; }
.masonry img {
  width: 100%; margin-bottom: 1rem; border-radius: 8px; break-inside: avoid;
  filter: saturate(0.96); transition: transform 0.35s, filter 0.35s;
}
/* Discourage casual copying / downloading of gallery photos */
.masonry img, .lb-img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.masonry img:hover { transform: scale(1.015); filter: saturate(1.08); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(40, 28, 28, 0.92); padding: 3.5rem 1rem;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none;
  cursor: pointer; border-radius: 999px; transition: background 0.2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.28); }
.lb-close { top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }

.footer-link { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
.footer-link:hover { color: var(--blush); }
.site-footer .footer-link { font-size: 0.9rem; }

/* ============================================================
   PRIVATE PORTFOLIO — LOGIN GATE  (portfolio-login.html)
   ============================================================ */
.gate-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, var(--blush) 0%, var(--blush-soft) 45%, var(--cream) 100%);
  padding: 2rem 1.5rem;
}
.gate { text-align: center; max-width: 420px; width: 100%; }
.gate-logo { height: 96px; width: auto; margin: 0 auto 1.5rem; }
.gate h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 0.6rem; }
.gate-note { color: var(--ink); margin-bottom: 1.8rem; }
.gate-form { display: flex; flex-direction: column; gap: 0.9rem; }
.gate-form input {
  font-family: var(--font-sans); font-size: 1rem; text-align: center;
  padding: 0.9rem 1rem; border: 1px solid rgba(122,92,92,0.25); border-radius: 8px;
  background: #fff; color: var(--ink); letter-spacing: 0.05em;
}
.gate-form input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(217,139,139,0.18); }
.gate-form .btn { border: none; }
.gate-error { color: var(--rose-deep); font-size: 0.9rem; margin-top: 1.1rem; }
.gate-back { display: inline-block; margin-top: 2rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mauve); text-decoration: none; }
.gate-back:hover { color: var(--rose-deep); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Portfolio responsive ---- */
@media (max-width: 900px) {
  .masonry { column-count: 2; }
}
@media (max-width: 700px) {
  /* Free up header room for the events dropdown */
  .portfolio-badge { display: none; }
  .nav-left { gap: 0.7rem; }
  .events-toggle { font-size: 0.62rem; letter-spacing: 0.12em; padding: 0.5rem 0.8rem; }
}
@media (max-width: 640px) {
  .wedding-details dl { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
}

/* ============================================================
   Films page — mosaic of pink video cards + "wedding details" popup
   ============================================================ */
.films-mosaic-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.films-mosaic { column-width: 300px; column-gap: 1.5rem; }

.film-card {
  break-inside: avoid; margin: 0 0 1.5rem;
  background: var(--blush-soft);
  border: 1px solid rgba(217, 139, 139, 0.28);
  border-radius: 16px; padding: 0.85rem 0.85rem 1.1rem;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.film-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(122, 92, 92, 0.2); }

/* Poster tile fills the card; portrait 9:16 by default, 16:9 when .is-wide */
.film-card .reel-item { width: 100%; display: block; }
.film-card .reel-frame { aspect-ratio: 9 / 16; }
.film-card.is-wide .reel-frame { aspect-ratio: 16 / 9; }

.film-cap { text-align: center; padding-top: 0.9rem; }
.film-couple {
  display: block; font-family: var(--font-serif);
  font-size: 1.32rem; color: var(--ink); line-height: 1.15;
}
.film-label {
  display: block; margin-top: 0.28rem; font-family: var(--font-sans);
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--rose-deep);
}
.film-details-btn {
  margin-top: 0.75rem; font-family: var(--font-sans);
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--mauve); background: transparent;
  border: 1px solid rgba(122, 92, 92, 0.3); border-radius: 999px;
  padding: 0.42rem 1rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.film-details-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

/* Wedding-details popup */
.detail-modal {
  position: fixed; inset: 0; z-index: 220; display: none;
  align-items: center; justify-content: center;
  background: rgba(40, 28, 28, 0.55); padding: 1.5rem;
}
.detail-modal.open { display: flex; }
.detail-panel {
  position: relative; width: min(520px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--cream); border-radius: 16px; padding: 2.6rem 2rem 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); border: 1px solid rgba(217, 139, 139, 0.3);
}
.detail-title {
  font-family: var(--font-script); font-size: 2.3rem; color: var(--rose-deep);
  text-align: center; margin-bottom: 0.2rem; line-height: 1;
}
.detail-close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 38px; height: 38px;
  font-size: 1.4rem; line-height: 1; color: var(--mauve); cursor: pointer;
  background: var(--blush); border: none; border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.detail-close:hover { background: var(--rose); color: #fff; }
.film-detail-meta {
  text-align: center; font-family: var(--font-sans); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--mauve); margin-bottom: 1.5rem;
}
.film-detail-desc { text-align: center; color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.detail-panel dl {
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.2rem; margin: 0;
}
.detail-panel dl > div { display: contents; }
.detail-panel dt {
  font-family: var(--font-sans); font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--rose-deep); padding-top: 0.15rem;
}
.detail-panel dd { margin: 0; color: var(--ink); }

/* Intro link to the films page (used on the other portfolio pages) */
.intro-cta {
  display: inline-block; margin-top: 1.6rem; font-family: var(--font-sans);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose-deep);
  background: transparent; border: 1px solid rgba(217, 139, 139, 0.5); border-radius: 999px;
  padding: 0.7rem 1.6rem; text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.intro-cta:hover { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }

@media (max-width: 640px) {
  .detail-panel dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .detail-panel dl > div { display: block; margin-bottom: 0.8rem; }
}
