/*
Theme Name:  Pallavi Weds Aayush
Theme URI:   https://pallaviwedsaayush.in
Description: A rich, elegant Indian wedding theme with countdown timer, multi-ceremony schedule, venue info and RSVP form.
Author:      Custom Build
Version:     2.0.0
License:     GNU General Public License v2 or later
Text Domain: pallavi-wedding
*/

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:    #7c2d4f;
  --rose-lt: #a84f72;
  --blush:   #f2d9e3;
  --gold:    #c49a3c;
  --gold-lt: #e8c97a;
  --cream:   #fdf8f2;
  --ivory:   #fff9f4;
  --charcoal:#1e1209;
  --muted:   #7a5c4e;
  --sand:    #ecddd0;
  --white:   #ffffff;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--rose-lt); border-radius: 3px; }

/* ── NAV ─────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(253,248,242,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
  transition: padding .35s, box-shadow .35s;
}
#site-nav.scrolled { padding: 12px 56px; box-shadow: 0 2px 24px rgba(124,45,79,.08); }
.nav-left, .nav-right { display:flex; align-items:center; gap:36px; list-style:none; }
.nav-left a, .nav-right a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.nav-left a:hover, .nav-right a:hover { color: var(--rose); }
.nav-right a.nav-rsvp-btn {
  color: var(--white); background: var(--rose);
  padding: 9px 22px; border-radius: 2px; transition: background .2s;
}
.nav-right a.nav-rsvp-btn:hover { background: var(--rose-lt); }
.nav-logo {
  font-family: var(--serif); font-size: 18px; font-style: italic;
  color: var(--rose); position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:24px; height:1.5px; background:var(--rose); }
.mobile-nav {
  display:none; position:fixed; inset:0; background:var(--ivory); z-index:1000;
  flex-direction:column; align-items:center; justify-content:center; gap:36px;
}
.mobile-nav.open { display:flex; }
.mobile-nav a { font-family:var(--serif); font-size:28px; font-style:italic; color:var(--rose); }
.mobile-nav .mob-close { position:absolute; top:24px; right:32px; font-size:26px; background:none; border:none; color:var(--muted); cursor:pointer; }

/* ── HERO ────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,8,4,.35) 0%, rgba(20,8,4,.52) 60%, rgba(20,8,4,.65) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-date-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-lt);
  border: 1px solid rgba(232,201,122,.45);
  padding: 7px 22px; border-radius: 40px; margin-bottom: 32px;
  background: rgba(196,154,60,.12);
}
.hero-names {
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 130px);
  font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 10px;
}
.hero-ampersand {
  display: block;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--gold-lt);
  font-style: italic; font-weight: 400; line-height: 1.1;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic; color: rgba(255,255,255,.85); margin-bottom: 16px;
}
.hero-sub {
  font-size: 14px; color: rgba(255,255,255,.7);
  letter-spacing: 0.04em; max-width: 480px; margin: 0 auto 48px; line-height: 1.9;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll .scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,.4); margin: 0 auto;
  animation: scrollPulse 1.8s 1s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform:scaleY(0); transform-origin:top; }
  50%  { transform:scaleY(1); transform-origin:top; }
  51%  { transform:scaleY(1); transform-origin:bottom; }
  100% { transform:scaleY(0); transform-origin:bottom; }
}

/* ── FLORAL DIVIDER ──────────────────────────────── */
.floral-divider {
  display:flex; align-items:center; justify-content:center; gap:14px;
}
.fd-line { flex:1; max-width:100px; height:1px; background:linear-gradient(90deg,transparent,var(--gold-lt)); }
.fd-line.r { background:linear-gradient(90deg,var(--gold-lt),transparent); }
.fd-icon { font-size:18px; color:var(--gold); line-height:1; }

/* ── COUNTDOWN ───────────────────────────────────── */
#countdown {
  background: linear-gradient(135deg, var(--rose) 0%, #5c1a38 100%);
  padding: 56px 24px; text-align: center; position: relative; overflow: hidden;
}
#countdown::before {
  content:''; position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L32 28 L55 30 L32 32 L30 55 L28 32 L5 30 L28 28 Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size:60px 60px;
}
.countdown-label { font-size:11px; font-weight:600; letter-spacing:.28em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:8px; position:relative; }
.countdown-event { font-family:var(--serif); font-size:clamp(16px,3vw,22px); font-style:italic; color:var(--gold-lt); margin-bottom:36px; position:relative; }
.countdown-grid { display:flex; align-items:center; justify-content:center; gap:8px; position:relative; }
.countdown-unit { text-align:center; min-width:90px; }
.countdown-num { font-family:var(--serif); font-size:clamp(48px,8vw,80px); font-weight:700; color:var(--white); line-height:1; display:block; }
.countdown-tag { font-size:10px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.45); margin-top:8px; display:block; }
.countdown-sep { font-family:var(--serif); font-size:clamp(36px,5vw,60px); font-weight:300; color:var(--gold-lt); opacity:.6; align-self:flex-start; margin-top:4px; }

/* ── COUPLE PHOTO STRIP ──────────────────────────── */
#couple-photo {
  position: relative;
  height: 60vh; min-height: 380px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.couple-photo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
}
.couple-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(20,8,4,.42);
}
.couple-photo-text {
  position: relative; z-index: 2; color: var(--white);
}
.couple-photo-text p {
  font-family: var(--serif);
  font-size: clamp(20px, 3.5vw, 34px);
  font-style: italic; font-weight: 400;
  line-height: 1.6;
  max-width: 640px;
  padding: 0 24px;
}
.couple-photo-text span {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 16px;
}

/* ── INTRO ───────────────────────────────────────── */
#intro {
  padding: 88px 48px; text-align: center;
  max-width: 780px; margin: 0 auto;
}
.intro-text {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic; color: var(--muted); line-height: 1.9; margin-bottom: 40px;
}

/* ── DAY PREVIEW CARDS ───────────────────────────── */
#day-preview {
  padding: 0 48px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 1000px; margin: 0 auto;
}
.day-card {
  background: var(--ivory); border: 1px solid var(--sand);
  border-top: 4px solid var(--gold); border-radius: 2px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.day-card:hover { box-shadow: 0 12px 40px rgba(124,45,79,.12); transform: translateY(-4px); }
.day-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
.day-card:hover .day-card-img { transform: scale(1.04); }
.day-card-body { padding: 28px 28px 32px; }
.day-card-label { font-size:10px; font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:var(--gold); margin-bottom:6px; }
.day-card-date  { font-family:var(--serif); font-size:22px; font-style:italic; color:var(--rose); margin-bottom:18px; }
.day-card-events { list-style:none; display:flex; flex-direction:column; gap:10px; margin-bottom:24px; }
.day-card-events li { font-size:13px; color:var(--muted); padding-left:14px; position:relative; }
.day-card-events li::before { content:'◆'; position:absolute; left:0; font-size:6px; color:var(--gold); top:5px; }
.btn-link { font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--rose); border-bottom:1px solid var(--blush); padding-bottom:3px; transition: color .2s, border-color .2s; }
.btn-link:hover { color:var(--gold); border-color:var(--gold-lt); }

/* ── VENUE PREVIEW ───────────────────────────────── */
#venue-preview { background:var(--blush); border-top:1px solid #e8c0d0; border-bottom:1px solid #e8c0d0; padding:56px 48px; text-align:center; }
.venue-prev-tag  { font-size:10px; font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:var(--rose); margin-bottom:10px; }
.venue-prev-name { font-family:var(--serif); font-size:clamp(24px,4vw,36px); font-style:italic; color:var(--charcoal); margin-bottom:8px; }
.venue-prev-addr { font-size:14px; color:var(--muted); margin-bottom:22px; }
.btn-primary { display:inline-block; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--white); background:var(--rose); padding:13px 30px; border-radius:2px; transition:background .2s; }
.btn-primary:hover { background:var(--rose-lt); }

/* ── CEREMONIES SECTION ──────────────────────────── */
#ceremonies { padding: 96px 48px; max-width: 960px; margin: 0 auto; }
.section-eyebrow { font-size:10px; font-weight:700; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); text-align:center; margin-bottom:12px; }
.section-title { font-family:var(--serif); font-size:clamp(30px,5vw,52px); font-weight:700; color:var(--rose); text-align:center; margin-bottom:56px; }
.day-heading { display:flex; align-items:center; gap:16px; margin-bottom:36px; }
.day-heading-badge { font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--white); background:var(--rose); padding:6px 16px; border-radius:20px; white-space:nowrap; }
.day-heading-date  { font-family:var(--serif); font-size:20px; font-style:italic; color:var(--charcoal); }
.day-heading-line  { flex:1; height:1px; background:var(--sand); }

.ceremony-list { display:flex; flex-direction:column; gap:0; margin-bottom:60px; }

.ceremony-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--gold);
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  opacity: 0; transform: translateX(-24px);
  transition: opacity .6s, transform .6s;
}
.ceremony-item.visible { opacity:1; transform:translateX(0); }

.ceremony-img-wrap { overflow: hidden; }
.ceremony-img-wrap img {
  width: 100%; height: 100%; min-height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.ceremony-item:hover .ceremony-img-wrap img { transform: scale(1.05); }

.ceremony-body { padding: 28px 32px; }
.ceremony-top { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:10px; flex-wrap:wrap; gap:8px; }
.ceremony-name { font-family:var(--serif); font-size:22px; font-style:italic; color:var(--rose); }
.ceremony-time { font-size:12px; font-weight:600; letter-spacing:.16em; color:var(--gold); text-transform:uppercase; }
.ceremony-desc { font-size:14px; color:var(--muted); line-height:1.9; margin-bottom:8px; }
.ceremony-dress {
  font-size:11px; font-weight:600; letter-spacing:.12em; color:var(--rose-lt);
  text-transform:uppercase; background:var(--blush);
  display:inline-block; padding:5px 14px; border-radius:20px; margin-top:6px;
}

/* ── VENUE SECTION ───────────────────────────────── */
#venue { padding: 96px 48px; }
.venue-inner { max-width: 1000px; margin: 0 auto; }
.venue-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-top:40px; }
.venue-photo-wrap { overflow:hidden; border-radius:4px; box-shadow:0 16px 48px rgba(124,45,79,.12); }
.venue-photo-wrap img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .5s; }
.venue-photo-wrap:hover img { transform:scale(1.03); }
.venue-info { text-align:left; }
.venue-tag-sm { font-size:10px; font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.venue-name   { font-family:var(--serif); font-size:clamp(24px,3.5vw,34px); font-style:italic; color:var(--rose); margin-bottom:14px; }
.venue-address{ font-size:14px; color:var(--muted); line-height:1.9; margin-bottom:28px; }
.btn-outline { display:inline-block; font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--rose); border:1.5px solid var(--rose); padding:12px 24px; border-radius:2px; transition:background .2s,color .2s; margin:6px 6px 6px 0; }
.btn-outline:hover { background:var(--rose); color:var(--white); }

/* ── RSVP ────────────────────────────────────────── */
#rsvp {
  position: relative;
  padding: 96px 48px;
}
.rsvp-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .07;
}
.rsvp-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.rsvp-intro { font-size:14px; color:var(--muted); text-align:center; margin-bottom:48px; line-height:1.8; }
.rsvp-form { display:flex; flex-direction:column; gap:20px; }
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-group label { font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.form-group input,.form-group select,.form-group textarea {
  font-family:var(--sans); font-size:14px; color:var(--charcoal);
  background:var(--ivory); border:1px solid var(--sand); border-radius:2px;
  padding:13px 16px; outline:none; width:100%;
  transition:border-color .2s,box-shadow .2s;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  border-color:var(--rose-lt); box-shadow:0 0 0 3px rgba(168,79,114,.1);
}
.form-group textarea { resize:vertical; min-height:100px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.radio-group { display:flex; gap:16px; flex-wrap:wrap; }
.radio-group label,.checkbox-group label { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:400; letter-spacing:normal; text-transform:none; color:var(--charcoal); cursor:pointer; }
.radio-group input[type="radio"],.checkbox-group input[type="checkbox"] { width:auto; accent-color:var(--rose); }
.checkbox-group { display:flex; flex-direction:column; gap:10px; }
.btn-submit { display:block; width:100%; font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--white); background:var(--rose); border:none; padding:17px; border-radius:2px; cursor:pointer; transition:background .2s; margin-top:8px; }
.btn-submit:hover { background:var(--rose-lt); }
.form-success { display:none; text-align:center; padding:48px 24px; background:var(--ivory); border:1px solid var(--sand); border-radius:4px; }
.form-success h3 { font-family:var(--serif); font-size:28px; font-style:italic; color:var(--rose); margin-bottom:12px; }
.form-success p { font-size:14px; color:var(--muted); }

/* ── FOOTER ──────────────────────────────────────── */
#colophon { background:var(--charcoal); padding:56px 48px 40px; text-align:center; }
.footer-names { font-family:var(--serif); font-size:clamp(26px,4vw,40px); font-style:italic; color:var(--gold-lt); margin-bottom:12px; }
.footer-details { font-size:13px; color:rgba(255,255,255,.4); letter-spacing:.06em; margin-bottom:32px; }
.footer-line { width:48px; height:1px; background:var(--gold); margin:0 auto 28px; opacity:.4; }
.footer-links { display:flex; justify-content:center; flex-wrap:wrap; gap:20px 32px; list-style:none; }
.footer-links a { font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.3); transition:color .2s; }
.footer-links a:hover { color:var(--gold-lt); }

/* ── REVEAL ANIMATION ────────────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s,transform .7s; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .ceremony-item { grid-template-columns: 1fr; }
  .ceremony-img-wrap img { min-height: 200px; height: 200px; width: 100%; }
  .venue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #site-nav { padding:16px 20px; }
  .nav-left,.nav-right { display:none; }
  .hamburger { display:flex; }
  #hero { padding:100px 24px 60px; }
  #intro { padding:60px 24px; }
  #day-preview { grid-template-columns:1fr; padding:0 24px 60px; }
  #ceremonies { padding:64px 24px; }
  #venue { padding:64px 24px; }
  #rsvp { padding:64px 24px; }
  #colophon { padding:48px 24px 32px; }
  .form-row { grid-template-columns:1fr; }
  .day-heading { flex-wrap:wrap; }
  #couple-photo { height:45vh; }
}
