/* ============================================================
   Traditional Marathi Lagna Sohala — "Wedding Day Roses"
   Centred column on a dark burgundy ground with rose corners;
   cream / deep-red sections joined by torn-paper edges.
   ============================================================ */
:root{
    --red:#7a0c1d;
    --red-deep:#5d0815;
    --red-dark:#40040d;
    --backdrop:#2b060a;
    --cream:#fffaf4;
    --cream-dim:#f3e7d7;
    --gold:#c9a86a;
    --gold-soft:#e3cfa3;
    --ink:#43101a;
    --ink-soft:#7c5258;
    --serif:'Cormorant Garamond',serif;
    --script:'Great Vibes',cursive;
    --sans:'Jost',sans-serif;
    --dev:'Yatra One',var(--serif);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:var(--sans);
    background:var(--backdrop);
    color:var(--ink);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
a{text-decoration:none}

/* ---------- backdrop roses ---------- */
.bg-rose{
    position:fixed;z-index:0;pointer-events:none;
    width:min(230px,34vw);opacity:.95;
    filter:drop-shadow(0 18px 30px rgba(0,0,0,.45));
}
.bg-rose-tl{top:-46px;left:-52px;transform:rotate(-14deg)}
.bg-rose-tr{top:-46px;right:-52px;transform:scaleX(-1) rotate(-14deg)}
.bg-rose-bl{bottom:-52px;left:-52px;transform:scaleY(-1) rotate(-14deg)}
.bg-rose-br{bottom:-52px;right:-52px;transform:scale(-1) rotate(-14deg)}

/* ---------- falling petals ---------- */
.petals{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden}
.petal{position:absolute;top:-6vh;animation:petalFall linear infinite;will-change:transform}
.petal i{
    display:block;width:100%;height:100%;
    background:linear-gradient(135deg,#e0586f 0%,#b01e33 55%,#7d0f22 100%);
    border-radius:90% 6px 90% 6px;
    opacity:.85;
    animation:petalSway ease-in-out infinite alternate;
}
.petal.pale i{background:linear-gradient(135deg,#f6d9d4 0%,#e8a9a4 60%,#cf7d80 100%);opacity:.7}
@keyframes petalFall{to{transform:translate3d(var(--drift,4vw),114vh,0)}}
@keyframes petalSway{from{transform:rotate(-42deg)}to{transform:rotate(46deg)}}

/* ---------- floating music ---------- */
.floating-music{
    position:fixed;right:18px;bottom:18px;z-index:400;
    width:54px;height:54px;border-radius:50%;
    background:var(--red-deep);
    border:2px solid var(--gold);
    box-shadow:0 10px 24px rgba(0,0,0,.5);
    cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:transform .25s ease;
}
.floating-music:hover{transform:scale(1.07)}
.floating-music img{width:30px;height:30px;border-radius:50%}
.floating-music.playing img{animation:spinDisc 5s linear infinite}
@keyframes spinDisc{to{transform:rotate(360deg)}}

/* ---------- splash ---------- */
body.splash-locked{overflow:hidden}
.splash{
    position:fixed;inset:0;z-index:300;
    display:flex;align-items:center;justify-content:center;
    background:radial-gradient(120% 90% at 50% 38%,#8e1226 0%,var(--red) 42%,var(--red-deep) 72%,var(--backdrop) 100%);
    color:var(--cream);text-align:center;overflow:hidden;
    transition:opacity .8s ease,transform .8s ease,visibility .8s ease;
}
.splash::before{
    content:'';position:absolute;inset:14px;z-index:3;pointer-events:none;
    border:1px solid rgba(201,168,106,.75);
    outline:1px solid rgba(201,168,106,.35);outline-offset:5px;
}
.splash.opened{opacity:0;visibility:hidden;transform:scale(1.04);pointer-events:none}
.splash-rose{
    position:absolute;z-index:1;pointer-events:none;
    width:min(200px,38vw);
    filter:drop-shadow(0 14px 24px rgba(0,0,0,.45));
}
.splash-rose-tl{top:-38px;left:-42px;transform:rotate(-14deg)}
.splash-rose-br{bottom:-42px;right:-42px;transform:scale(-1) rotate(-14deg)}
.splash-petal{position:absolute;top:-6vh;z-index:1;pointer-events:none;animation:petalFall linear infinite;will-change:transform}
.splash-petal i{
    display:block;width:100%;height:100%;
    background:linear-gradient(135deg,#e0586f 0%,#b01e33 55%,#7d0f22 100%);
    border-radius:90% 6px 90% 6px;opacity:.8;
    animation:petalSway ease-in-out infinite alternate;
}
.splash-inner{
    position:relative;z-index:2;
    display:flex;flex-direction:column;align-items:center;
    padding:34px 24px 158px;max-width:520px;
}
.splash-invoke{
    font-family:var(--dev);font-size:1.05rem;letter-spacing:.05em;
    color:var(--gold-soft);line-height:1.6;max-width:38ch;
}
.splash-mono{
    margin-top:28px;width:96px;height:96px;border-radius:50%;flex:none;
    border:2px solid var(--gold);
    box-shadow:inset 0 0 0 4px var(--red-deep),inset 0 0 0 6px rgba(201,168,106,.65),0 12px 26px rgba(0,0,0,.4);
    display:flex;align-items:center;justify-content:center;gap:5px;
    font-family:var(--serif);font-weight:600;font-size:1.65rem;color:#fff6e8;letter-spacing:.04em;
}
.splash-mono-amp{font-family:var(--script);font-weight:400;font-size:1.05rem;color:var(--gold-soft)}
.splash-names{
    margin-top:26px;
    font-family:var(--serif);font-weight:600;color:#fff8ec;
    font-size:clamp(2rem,9.4vw,3.1rem);
    letter-spacing:.16em;line-height:1.15;
    text-shadow:0 4px 26px rgba(0,0,0,.55);
    display:flex;flex-direction:column;align-items:center;
}
.splash-amp{
    font-family:var(--script);font-weight:400;text-transform:none;
    font-size:.62em;color:var(--gold-soft);letter-spacing:0;line-height:.9;margin:2px 0;
}
.splash-date{
    margin-top:16px;font-family:var(--serif);font-weight:600;color:var(--gold-soft);
    font-size:1.05rem;letter-spacing:.34em;text-indent:.34em;
}
.splash-btn{
    margin-top:32px;padding:15px 44px;border:0;border-radius:999px;cursor:pointer;
    background:linear-gradient(180deg,#dcbd85,var(--gold));
    color:#40040d;font-family:var(--sans);font-weight:500;font-size:.8rem;
    letter-spacing:.3em;text-indent:.3em;text-transform:uppercase;
    box-shadow:0 12px 26px rgba(0,0,0,.4);
    transition:transform .25s ease,box-shadow .25s ease;
}
.splash-btn:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(0,0,0,.45)}
.splash-hint{
    margin-top:14px;font-size:.62rem;letter-spacing:.42em;text-indent:.42em;
    text-transform:uppercase;color:rgba(255,248,236,.6);
}
.splash-cluster{
    position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);
    width:min(500px,96vw);height:148px;overflow:hidden;
    z-index:1;pointer-events:none;line-height:0;
}
.splash-cluster img{
    width:100%;height:100%;object-fit:cover;object-position:top center;
    filter:drop-shadow(0 -10px 22px rgba(0,0,0,.35));
}

/* ---------- the column ---------- */
.page{
    position:relative;z-index:1;
    max-width:560px;margin:0 auto;
    background:var(--red);
    box-shadow:0 0 70px rgba(0,0,0,.65);
    overflow:hidden;
}

/* ---------- sections ---------- */
.sec{position:relative;padding:64px 34px 58px;text-align:center}
.sec-white{background:var(--cream);--sec-bg:var(--cream)}
.sec-red{background:linear-gradient(180deg,var(--red) 0%,var(--red-deep) 100%);color:var(--cream)}
.sec-title{
    font-family:var(--serif);font-weight:600;
    font-size:clamp(2rem,8.4vw,2.7rem);
    letter-spacing:.22em;text-indent:.22em;
    line-height:1.05;
}
.sec-title-red{color:var(--red)}
.dev-sub{
    font-family:var(--dev);font-size:1.02rem;color:var(--gold);
    margin-top:8px;letter-spacing:.04em;
}
.sec-red .dev-sub,.dev-sub-light{color:var(--gold-soft)}
.body-serif{
    font-family:var(--serif);font-size:1.22rem;line-height:1.55;
    color:var(--ink);max-width:44ch;margin:18px auto 0;
}
.sec-red .body-serif{color:var(--cream)}
.script-title{
    font-family:var(--script);font-weight:400;
    font-size:clamp(2.5rem,10vw,3.3rem);color:var(--red);line-height:1.1;
}
.script-light{color:var(--cream)}

/* torn-paper edges (strip of the section's own colour, jagged clip) */
.torn-t::before,.torn-b::after{
    content:'';position:absolute;left:0;right:0;height:16px;z-index:4;
    background:var(--sec-bg,#fffaf4);pointer-events:none;
}
.torn-t::before{
    top:-15px;
    clip-path:polygon(0 100%,0 58%,4% 30%,8% 62%,13% 24%,18% 56%,24% 34%,30% 66%,36% 28%,42% 60%,48% 26%,54% 62%,60% 30%,66% 64%,72% 28%,78% 56%,84% 24%,89% 60%,94% 32%,100% 58%,100% 100%);
}
.torn-b::after{
    bottom:-15px;
    clip-path:polygon(0 0,100% 0,100% 42%,95% 72%,90% 38%,84% 76%,78% 40%,72% 72%,66% 36%,60% 70%,54% 38%,48% 74%,42% 42%,36% 70%,30% 34%,24% 66%,18% 40%,13% 74%,8% 36%,4% 66%,0 46%);
}

/* ---------- hero ---------- */
.hero{position:relative;min-height:92vh;display:flex;flex-direction:column;overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{
    position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(43,6,10,.28) 0%,rgba(43,6,10,.05) 32%,rgba(43,6,10,.14) 54%,rgba(43,6,10,.74) 100%);
}
.hero-content{
    position:relative;z-index:2;margin-top:auto;
    display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
    text-align:center;padding:0 18px 10px;
}
.hero-eyebrow{
    font-family:var(--sans);font-weight:500;color:#fdf3e3;
    font-size:.86rem;letter-spacing:.5em;text-indent:.5em;text-transform:uppercase;
    text-shadow:0 2px 14px rgba(0,0,0,.6);
}
.hero-date{
    margin-top:10px;font-family:var(--serif);font-weight:600;color:var(--gold-soft);
    font-size:1.15rem;letter-spacing:.34em;text-indent:.34em;
    text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.hero-names{
    margin-top:22px;
    font-family:var(--serif);font-weight:600;color:#fff8ec;
    font-size:clamp(2.7rem,12.5vw,4.3rem);
    letter-spacing:.14em;line-height:1.12;
    text-shadow:0 4px 30px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.6);
    display:flex;flex-direction:column;align-items:center;
}
.hero-amp{
    font-family:var(--script);font-weight:400;text-transform:none;
    font-size:.62em;color:var(--gold-soft);letter-spacing:0;line-height:.9;margin:2px 0;
}
.hero-scroll{
    position:relative;z-index:2;margin:18px auto 26px;
    display:flex;flex-direction:column;align-items:center;gap:2px;
    color:rgba(255,248,236,.85);font-size:.62rem;letter-spacing:.42em;text-indent:.42em;text-transform:uppercase;
}
.hero-scroll i{font-size:.8rem;animation:cueBounce 1.8s ease-in-out infinite}
@keyframes cueBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* ---------- roses divider ---------- */
.roses-divider{
    position:relative;z-index:5;text-align:center;
    margin-top:-58px;margin-bottom:-64px;pointer-events:none;
}
.roses-divider img{width:74%;max-width:430px;filter:drop-shadow(0 14px 22px rgba(43,6,10,.35))}
.roses-small{margin-top:-46px;margin-bottom:6px}
.roses-small img{width:48%;max-width:250px}

/* ---------- welcome ---------- */
#welcome{padding-top:96px}
.rings-icon{width:62px;margin:26px auto 4px;display:block}
.big-date{
    font-family:var(--serif);font-weight:600;color:var(--red);
    font-size:clamp(2.5rem,11vw,3.4rem);letter-spacing:.12em;margin-top:12px;line-height:1;
}
.soft-line{font-family:var(--serif);font-style:italic;font-size:1.18rem;color:var(--ink-soft);margin-top:14px}
.parents-line{
    margin-top:20px;font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;
    color:var(--ink-soft);line-height:2;
}

/* ---------- location ---------- */
.venue-name{
    font-family:var(--serif);font-weight:600;font-size:1.75rem;
    letter-spacing:.05em;margin-top:26px;color:#fff6e8;
}
.venue-addr{font-weight:300;font-size:.98rem;line-height:1.65;color:var(--cream-dim);margin-top:8px}
.btn-map{
    display:inline-block;margin-top:22px;padding:11px 30px;
    border:1px solid var(--gold);border-radius:999px;
    color:var(--gold-soft);font-size:.76rem;letter-spacing:.3em;text-indent:.3em;text-transform:uppercase;
    transition:background .25s ease,color .25s ease;
}
.btn-map:hover{background:var(--gold);color:var(--red-dark)}
.venue-photo{margin:34px -34px -58px;line-height:0}
.venue-photo img,.venue-photo iframe{width:100%;height:auto;display:block;border:0}
.venue-photo iframe{height:300px}

/* ---------- timing rows ---------- */
.timing-list{margin-top:38px;text-align:left}
.timing-row{
    display:flex;align-items:center;gap:14px;
    padding:20px 2px;border-bottom:1px solid rgba(122,12,29,.12);
}
.timing-row:last-child{border-bottom:0}
.timing-time{
    font-family:var(--serif);font-weight:600;color:var(--red);
    font-size:clamp(1.3rem,5.6vw,1.75rem);white-space:nowrap;min-width:86px;
}
.timing-arrow{width:44px;flex:none;color:rgba(122,12,29,.45)}
.timing-icon{flex:none;width:58px;text-align:center}
.timing-icon img{width:54px;height:54px;object-fit:contain}
.timing-thumb{flex:none}
.timing-thumb img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid var(--gold)}
.timing-text h4{
    font-family:var(--serif);font-weight:600;color:var(--ink);
    font-size:1.22rem;letter-spacing:.14em;line-height:1.2;
}
.timing-text p{font-size:.86rem;font-weight:300;color:var(--ink-soft);margin-top:3px;letter-spacing:.03em}
.timing-text .timing-desc{font-family:var(--serif);font-style:italic;font-size:1rem;color:#5c343c}

/* ---------- dress code ---------- */
.dress-icons{display:flex;justify-content:center;gap:26px;margin-top:32px}
.dress-circle{
    width:92px;height:92px;border-radius:50%;
    background:var(--cream);display:flex;align-items:center;justify-content:center;
    box-shadow:0 12px 26px rgba(0,0,0,.35);
}
.dress-circle img{width:60px;height:60px;object-fit:contain}
.dress-note{
    font-family:var(--serif);font-style:italic;font-size:1.16rem;line-height:1.5;
    color:var(--cream-dim);max-width:40ch;margin:26px auto 0;
}
.palette{display:flex;justify-content:center;margin-top:24px}
.pal{width:46px;height:46px;border-radius:50%;border:2px solid rgba(255,250,244,.65);margin:0 -5px}
.pal-cream{background:#efe3cf}
.pal-red{background:#7a0c1d}
.pal-green{background:#1f4634}
.dress-lines{display:flex;justify-content:center;gap:44px;margin-top:30px;flex-wrap:wrap}
.dress-lines p{font-weight:300;font-size:.94rem;line-height:1.6;color:var(--cream-dim);max-width:20ch}
.dress-lines strong{
    font-family:var(--serif);font-weight:600;letter-spacing:.22em;text-transform:uppercase;
    font-size:.85rem;color:#fff6e8;
}

/* ---------- photo band / gallery ---------- */
.photo-band{line-height:0}
.photo-band img{width:100%;height:340px;object-fit:cover;display:block}
.gallery-sec{padding-top:52px}
.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:32px}
.gallery-item{overflow:hidden;border-radius:6px;line-height:0;box-shadow:0 8px 22px rgba(64,4,13,.16)}
.gallery-item img{width:100%;height:190px;object-fit:cover;display:block;transition:transform .5s ease}
.gallery-item:hover img{transform:scale(1.05)}

/* ---------- details ---------- */
.detail-block{margin-top:30px}
.detail-head{
    font-family:var(--serif);font-weight:600;color:var(--red);
    font-size:1.05rem;letter-spacing:.34em;text-indent:.34em;text-transform:uppercase;
}
.detail-block .body-serif{margin-top:10px}

/* ---------- rsvp footer ---------- */
.rsvp-footer{padding-top:70px}
.foot-date{
    font-family:var(--serif);font-weight:600;color:#fff6e8;
    font-size:clamp(2.3rem,10.5vw,3.1rem);letter-spacing:.12em;line-height:1.05;margin-top:16px;
}
.foot-time{
    font-family:var(--serif);font-weight:600;color:var(--gold-soft);
    font-size:1.5rem;letter-spacing:.3em;text-indent:.3em;margin-top:6px;
}
.foot-line{font-family:var(--serif);font-style:italic;font-size:1.18rem;line-height:1.55;color:var(--cream-dim);margin-top:22px}
.rsvp-form{margin-top:30px;text-align:left}
.rsvp-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rsvp-form input[type="text"],.rsvp-form input[type="tel"],.rsvp-form input[type="number"],
.rsvp-form select,.rsvp-form textarea{
    width:100%;padding:13px 15px;margin-bottom:12px;
    background:rgba(255,250,244,.09);
    border:1px solid rgba(255,250,244,.38);border-radius:8px;
    color:#fff8ec;font-family:var(--sans);font-size:.94rem;font-weight:300;
    outline:none;transition:border-color .25s ease,background .25s ease;
}
.rsvp-form select{grid-column:1 / -1}
.rsvp-form select option{color:var(--ink)}
.rsvp-form textarea{resize:vertical}
.rsvp-form input::placeholder,.rsvp-form textarea::placeholder{color:rgba(255,248,236,.55)}
.rsvp-form input:focus,.rsvp-form select:focus,.rsvp-form textarea:focus{
    border-color:var(--gold);background:rgba(255,250,244,.15);
}
.btn-submit{
    display:block;width:100%;padding:15px 20px;margin-top:4px;
    background:linear-gradient(180deg,#dcbd85,var(--gold));
    color:#40040d;border:0;border-radius:999px;cursor:pointer;
    font-family:var(--sans);font-weight:500;font-size:.82rem;
    letter-spacing:.32em;text-indent:.32em;text-transform:uppercase;
    box-shadow:0 12px 26px rgba(0,0,0,.35);
    transition:transform .25s ease,box-shadow .25s ease;
}
.btn-submit:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(0,0,0,.4)}
.rsvp-thanks{margin-top:30px}
.foot-quote{font-family:var(--script);font-size:1.7rem;color:var(--gold-soft);margin-top:38px;line-height:1.35}
.foot-mono{
    margin-top:36px;font-family:var(--serif);font-weight:600;color:var(--gold-soft);
    font-size:1.3rem;letter-spacing:.3em;
}
.foot-mono span{color:rgba(227,207,163,.6)}
.foot-names{
    font-family:var(--serif);font-weight:600;color:#fff6e8;
    font-size:1.02rem;letter-spacing:.3em;text-indent:.3em;margin-top:8px;
}
.credit{margin-top:20px;font-size:.68rem;letter-spacing:.3em;text-indent:.3em;text-transform:uppercase;color:rgba(255,250,244,.5)}
.credit .fa-heart{color:var(--gold)}

/* ---------- scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease}
.reveal.revealed{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:560px){
    .sec{padding:54px 24px 50px}
    .venue-photo{margin:30px -24px -50px}
    #welcome{padding-top:84px}
    .roses-divider{margin-top:-44px;margin-bottom:-50px}
    .timing-arrow{display:none}
    .timing-time{min-width:74px}
    .timing-icon img{width:46px;height:46px}
    .photo-band img{height:280px}
    .rsvp-form .form-row{grid-template-columns:1fr}
    .bg-rose{width:150px}
}
@media (prefers-reduced-motion: reduce){
    .petal,.splash-petal{display:none}
    .splash{transition:none}
    .hero-scroll i,.floating-music.playing img{animation:none}
    .reveal{opacity:1;transform:none;transition:none}
    html{scroll-behavior:auto}
}

/* ---------- countdown (premium timer to the wedding) ---------- */
.countdown-sec{padding:56px 24px 50px}
.countdown-grid{display:flex;justify-content:center;gap:16px;margin-top:26px;flex-wrap:nowrap}
.cd-item{display:flex;flex-direction:column;align-items:center;flex-shrink:0}
.cd-circle{width:84px;height:84px;border-radius:50%;border:1.5px solid rgba(227,207,163,.65);background:rgba(64,4,13,.38);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.cd-num{font-family:var(--serif);font-size:2rem;line-height:1;color:var(--gold-soft);font-weight:700}
.cd-lbl{display:block;margin-top:8px;font-size:.72rem;color:var(--cream-dim);text-transform:uppercase}
.cd-done{margin-top:24px;font-family:var(--serif);font-size:1.4rem;color:var(--gold-soft)}
@media (max-width:480px){.countdown-grid{gap:10px}.cd-circle{width:66px;height:66px}.cd-num{font-size:1.7rem}}
@media (max-width:360px){.countdown-grid{gap:8px}.cd-circle{width:60px;height:60px}.cd-num{font-size:1.5rem}}
