/* ═══════════════════════════════════════════════════════════════════
   Mina & Marize — Wedding Invitation
   Design inspired by zeekraa.com editorial wedding style
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --cream: #ffffff;
  --ink: #000000;
  --blush: #000000;
  --muted: #666666;
  --shadow-soft: 0 30px 60px -30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 20px 80px -20px rgba(0, 0, 0, 0.2);
  --font-display: 'Dancing Script', cursive;
  --font-script: 'Dancing Script', cursive;
  --font-elegant: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-align: center;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

::selection { background: #ccc; color: var(--ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }


/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
  line-height: 1;
  font-weight: 600;
}
.script {
  font-family: var(--font-script);
  line-height: 1.15;
  font-weight: 500;
}
.mono {
  font-family: var(--font-elegant);
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: 12px;
  font-weight: 500;
}
.blush { color: var(--blush); }
.dim   { color: rgba(255, 255, 255, .5); }
.tiny  { font-size: 10px; }
.big   { font-size: 1.875rem; }
.xl    { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.med   { font-size: 1.5rem; margin-top: .5rem; }
.center { text-align: center; }


/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.narrow    { max-width: 780px; }
.section   { position: relative; padding: 4.5rem 0; overflow: hidden; }
@media(min-width:768px) { .section { padding: 5rem 0; } }


/* ── GRAIN OVERLAY ───────────────────────────────────────── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}


/* ── ORBS (decorative blurred blobs) ─────────────────────── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 1;
}
.orb-1 {
  left: 25%; top: 33%; width: 16rem; height: 16rem;
  background: rgba(0, 0, 0, 0.05);
  animation: pulse 3s ease-in-out infinite;
}
.orb-2 {
  right: 33%; bottom: 25%; width: 18rem; height: 18rem;
  background: rgba(0, 0, 0, 0.08);
  animation: pulse 3s ease-in-out infinite 1.5s;
}
.orb-peach {
  right: 0; top: 25%; width: 20rem; height: 20rem;
  background: rgba(0, 0, 0, 0.05); filter: blur(120px);
}
@keyframes pulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%     { opacity: .8; transform: scale(1.1); }
}


/* ═══════════════════════════════════════════════════════════
   HERO — full-bleed photo
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
  color: #fff;
}

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

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: heroKen 18s ease-out forwards;
}
@media(min-width:768px) {
  .hero-img { object-position: center 42%; }
}
@keyframes heroKen {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(8, 10, 14, 0.82) 0%,
      rgba(8, 10, 14, 0.55) 28%,
      rgba(8, 10, 14, 0.18) 52%,
      rgba(8, 10, 14, 0.08) 72%,
      rgba(8, 10, 14, 0.2) 100%
    );
  pointer-events: none;
}

.topnav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex; justify-content: center;
  align-items: center;
  padding: 1.75rem 1.5rem 0;
  color: rgba(255, 255, 255, 0.85);
}
.topnav .mono {
  font-family: var(--font-elegant);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .48em;
  text-transform: uppercase;
}
@media(min-width:768px) { .topnav { padding: 2rem 3rem 0; } }

.hero-copy {
  position: relative; z-index: 5;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 5.5rem;
  text-align: center;
  color: #fff;
}
@media(min-width:768px) {
  .hero-copy { padding: 0 2rem 6rem; }
}

.hero-kicker {
  font-family: var(--font-elegant);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
  letter-spacing: 0.42em;
  line-height: 1.3;
  text-transform: uppercase;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8.5rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.28);
}

.title .word { display: inline-block; color: #fff; }

.title .char {
  display: inline-block;
  transform: translateY(110%); opacity: 0;
  animation: rise .9s cubic-bezier(.16,1,.3,1) forwards;
  color: #fff;
}
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.title .amp {
  display: inline-block; margin: 0 .25rem;
  font-family: var(--font-script);
  font-style: normal; font-weight: 500;
  font-size: 0.85em;
  color: rgba(255,255,255,0.95);
  transform: scale(0); opacity: 0;
  animation: pop .6s cubic-bezier(.34,1.56,.64,1) 1.9s forwards;
  vertical-align: baseline;
}
@media(min-width:768px) { .title .amp { margin: 0 .5rem; } }
@keyframes pop { to { transform: scale(1); opacity: 1; } }

.hero-meta {
  margin-top: 1.45rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.35rem;
}
.hero-meta .mono {
  font-family: var(--font-elegant);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .46em;
}
.rule { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,0.85); }
.rule .line { height: 1px; width: 2rem; background: rgba(255,255,255,0.55); }

.btn-hero {
  display: inline-flex; align-items: center; gap: .75rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .95rem 1.85rem; border-radius: 999px;
  font-family: var(--font-elegant);
  font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3em;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-hero:hover {
  background: #fff; color: #111;
  border-color: #fff;
  transform: translateY(-1px);
}
.btn-hero .arrow { transition: transform .3s; letter-spacing: 0; }
.btn-hero:hover .arrow { transform: translateX(4px); }

.btn-ink {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #000; color: #fff;
  padding: .875rem 1.75rem; border-radius: 999px;
  font-family: var(--font-elegant);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .26em;
  cursor: pointer; transition: all .3s;
}
.btn-ink:hover { background: #222; box-shadow: var(--shadow-glow); }
.btn-ink .arrow { transition: transform .3s; letter-spacing: 0; }
.btn-ink:hover .arrow { transform: translateX(4px); }

.scroll-indicator {
  position: absolute; bottom: 1.35rem;
  left: 50%;
  color: rgba(255, 255, 255, 0.7); z-index: 10;
  opacity: 0;
  font-family: var(--font-elegant);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  animation:
    scrollFade .8s ease 2.4s forwards,
    scrollBounce 2.5s ease-in-out 3.2s infinite;
}
@keyframes scrollFade {
  to { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}


/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(15px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.in-view {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.in-view.in { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════════════════════
   BIBLE VERSE (standalone)
   ═══════════════════════════════════════════════════════════ */
.verse-section {
  background: #f7f5f2;
  color: var(--ink);
  padding: 5.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media(min-width:768px) {
  .verse-section { padding: 7rem 2rem; min-height: 48vh; }
}
.verse-inner { max-width: 720px; }
.verse-section .separator-tag {
  letter-spacing: 0.38em;
  color: #888;
  display: block;
  margin-bottom: 1.25rem;
}
.verse-section .separator-quote {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  color: #111;
  line-height: 1.25;
  margin: 0 auto;
  max-width: 34ch;
}
.verse-ref {
  margin-top: 1.35rem;
  color: #666;
  letter-spacing: 0.32em;
}
.verse-section .separator-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 0;
}
.verse-section .separator-rule .line {
  height: 1px;
  width: 3.5rem;
  background: rgba(0,0,0,0.18);
}
.verse-section .separator-rule .symbol {
  font-size: 1.15rem;
  color: #222;
  line-height: 1;
}

.location-separator {
  background: var(--cream); color: var(--ink);
  padding: 2.75rem 1.5rem 2rem; position: relative; overflow: hidden;
}
.separator-tag { letter-spacing: 0.35em; color: #777; display: block; margin-bottom: 0.5rem; }
.script { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.script.big { font-size: clamp(2rem, 5vw, 2.8rem); }
.separator-quote {
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: #111; line-height: 1.2; margin-bottom: 0;
}
.separator-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1rem 0 0; }
.separator-rule .line { height: 1px; width: 3rem; background: rgba(0,0,0,0.15); }
.separator-rule .symbol { font-size: 1.1rem; color: #222; line-height: 1; }


/* ═══════════════════════════════════════════════════════════
   VENUE (Church & Party)
   ═══════════════════════════════════════════════════════════ */
.venue { height: 100vh; padding: 0; color: var(--cream); }
.venue-bg { position: absolute; inset: -5% 0; will-change: transform; }
.venue-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.church-bg img { object-position: center 30%; }
.party-bg img { object-position: center 35%; }
.venue-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 50% 55%, rgba(0, 0, 0, 0.55) 0%, transparent 70%),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.62) 35%,
      rgba(0, 0, 0, 0.48) 55%,
      rgba(0, 0, 0, 0.55) 100%
    );
}
.venue-content {
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding-top: 10vh; padding-bottom: 4.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.venue-title { font-size: clamp(2.6rem, 7vw, 5.5rem); max-width: 48rem; }
.venue-title em { font-weight: 300; }
.venue-grid { margin-top: 2.5rem; display: grid; gap: 2rem; max-width: 64rem; justify-content: center; }
@media(min-width:768px) {
  .venue-grid { grid-template-columns: repeat(2, minmax(200px, 320px)); gap: 3.5rem; }
}

.btn-glass {
  margin-top: 2.5rem;
  display: inline-flex; width: fit-content;
  align-items: center; gap: .75rem;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.75rem; border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-elegant);
  text-transform: uppercase; letter-spacing: .3em; font-size: 12px;
  transition: all .3s; cursor: pointer;
}
.btn-glass:hover { background: var(--cream); color: var(--ink); }


/* ═══════════════════════════════════════════════════════════
   PROGRAM
   ═══════════════════════════════════════════════════════════ */
.program { position: relative; }
.program .center { margin-bottom: 2.5rem; }
.program-cards {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  max-width: 840px; margin: 3.5rem auto 2.5rem;
  position: relative; z-index: 2;
}
@media(min-width:768px) { .program-cards { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }

.program-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.75rem; padding: 3rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 12px 35px -10px rgba(0,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -12px rgba(0,0,0,0.1);
}
.program-card-badge {
  font-family: var(--font-elegant); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: #000;
  background: rgba(0,0,0,0.05); padding: .45rem 1.15rem;
  border-radius: 999px; margin-bottom: 1.25rem; font-weight: 600;
}
.program-card-time {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink);
  line-height: 1.1; margin-bottom: .75rem; font-weight: 600;
}
.program-card-title {
  font-family: var(--font-elegant); font-weight: 700;
  font-size: 1.15rem; text-transform: uppercase;
  letter-spacing: .2em; color: var(--ink); margin-bottom: .35rem;
}
.program-card-location {
  font-family: var(--font-elegant); font-size: 12px;
  letter-spacing: .2em; color: #666; text-transform: uppercase; margin-bottom: 1rem;
}
.program-card-desc { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 300px; }


/* ═══════════════════════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════════════════════ */
.countdown {
  background: #000; color: #fff;
  padding-bottom: 3.5rem; padding-top: 4.5rem;
}
.countdown h2 { color: #fff; margin-bottom: 0; }

.count-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; margin-bottom: 3rem;
}
@media(min-width:768px) { .count-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.count-cell {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.5rem; padding: 2rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(30px);
  transition: all .8s ease;
}
.count-cell.in { opacity: 1; transform: translateY(0); }

.count-cell .num {
  font-family: var(--font-elegant); font-size: 3rem;
  color: #fff; font-variant-numeric: tabular-nums; font-weight: 500;
}
@media(min-width:768px) { .count-cell .num { font-size: 4.5rem; } }

.count-cell .lbl {
  margin-top: .5rem;
  font-family: var(--font-elegant);
  text-transform: uppercase; letter-spacing: .3em;
  font-size: 11px; color: rgba(255,255,255,0.65);
}


/* ═══════════════════════════════════════════════════════════
   GALLERY PHOTO
   ═══════════════════════════════════════════════════════════ */
.gallery-section { background: #fff; color: #000; padding: 5rem 0; }
.g-item {
  position: relative; overflow: hidden; border-radius: 1rem;
  opacity: 0; transform: scale(.9);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.g-item.in { opacity: 1; transform: scale(1); }
.g-item img { transition: transform 1.4s ease-out; }
.g-item:hover img { transform: scale(1.1); }


/* ═══════════════════════════════════════════════════════════
   WAITING / CALENDAR
   ═══════════════════════════════════════════════════════════ */
.waiting {
  padding: 4.5rem 0; background: #fff; color: #000; position: relative;
}
@media(min-width:768px) { .waiting { padding: 5rem 0; } }
.waiting-box { max-width: 42rem; margin: 0 auto; padding: 0 2rem; }
.waiting-text {
  margin-top: 2rem; margin-bottom: 0;
  line-height: 2; font-size: 1.25rem;
  color: rgba(0,0,0,0.7); font-style: italic;
  font-family: var(--font-display);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: 4.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.06), transparent 55%),
    #0a0a0a;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
@media(min-width:768px) {
  .footer { padding: 5.5rem 2rem 3.5rem; }
}

.footer-inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-eyebrow {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.4em;
  margin-bottom: 1.1rem;
}

.footer-names {
  font-size: clamp(3rem, 10vw, 5rem);
  color: #fff;
  line-height: 1;
  font-weight: 600;
}
.footer-names .amp {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 500;
  opacity: 0.9;
  margin: 0 0.15em;
}

.footer-fullnames {
  margin-top: 0.85rem;
  font-family: var(--font-elegant);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 2.25rem;
  width: 100%;
  max-width: 28rem;
}
.footer-rule .line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.22);
}
.footer-date {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.footer-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
@media(min-width:640px) {
  .footer-details {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-detail {
  text-align: center;
}
.footer-label {
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.55rem;
  letter-spacing: 0.32em;
}
.footer-place {
  font-family: var(--font-elegant);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.footer-meta {
  margin-top: 0.4rem;
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin-bottom: 2.5rem;
}
.footer-nav a {
  font-family: var(--font-elegant);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
  padding: 0.25rem 0;
}
.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  width: 100%;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.footer-bottom .mono {
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.28em;
}
.footer-credit {
  color: rgba(255,255,255,0.28) !important;
}
