/* ==========================================================
   Jan & Chuck Wedding Website
   ==========================================================

   TABLE OF CONTENTS

   1. Root Variables
   2. Global Styles
   3. Page Layout
   4. Hero
   5. General Sections
   6. Story
   7. Details
   8. Venue
   9. Buttons
  10. Gallery
  11. Closing
  12. RSVP Hero
  13. RSVP Page & Form
  14. Footer
  15. Back to Top
  16. Animations
  17. Mobile

   ========================================================== */

:root{

    --gold:#C9A96A;
    --gold-light:#E7D5A8;

    --cream:#F6F1E8;
    --white:#FFFFFF;

    --forest:#2F4538;
    --forest-light:#536C5C;

    --brown:#4D3B2E;

    --glass:rgba(255,255,255,.14);

    --shadow:0 18px 40px rgba(0,0,0,.35);

}

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Lora",serif;
    color:var(--cream);

    background:
        linear-gradient(
            rgba(20,14,10,.45),
            rgba(20,14,10,.55)
        ),
        url("/images/GodsCath1.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    overflow-x:hidden;

}

/* Decorative overlay */

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:
        radial-gradient(circle at top,
            rgba(255,255,255,.06),
            transparent 45%);

    pointer-events:none;

}

/* ========================================================== */

#page{

    width:100%;
    overflow:hidden;

}

/* ========================================================== */
/* HERO */
/* ========================================================== */

.hero{

    min-height:100vh;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:70px 30px;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.18),
            rgba(0,0,0,.35));

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:1100px;

}

.ornament{

    font-size:3rem;

    color:var(--gold);

    margin-bottom:10px;

}

.hero h1{

    font-family:"Great Vibes",cursive;

    font-size:clamp(4rem,9vw,7rem);

    color:white;

    text-shadow:
        0 5px 20px rgba(0,0,0,.6);

}

.tagline{

    margin-top:8px;

    letter-spacing:2px;

    font-size:1.6rem;

    color:var(--gold-light);

}

.date{

    margin-top:25px;

    font-size:2rem;

    font-weight:600;

    color:white;

}

/* ========================================================== */
/* MAIN PHOTO */
/* ========================================================== */

.photo-frame{

    margin:60px auto;

    width:min(700px,92vw);

    background:
        linear-gradient(
            145deg,
            #f9f5ea,
            #dbc89b);

    padding:14px;

    border-radius:5px;

    box-shadow:

        0 25px 70px rgba(0,0,0,.45),

        inset 0 0 10px rgba(255,255,255,.5);

}

.photo-frame img{

    width:100%;

    display:block;

    border-radius:15px;

}

/* ========================================================== */

.scroll-down{

    margin-top:45px;

}

.scroll-down span{

    display:inline-block;

    width:36px;

    height:60px;

    border:2px solid white;

    border-radius:30px;

    position:relative;

}

.scroll-down span::after{

    content:"";

    width:8px;

    height:8px;

    background:white;

    border-radius:50%;

    position:absolute;

    top:12px;

    left:50%;

    transform:translateX(-50%);

    animation:scrollDot 2s infinite;

}

@keyframes scrollDot{

0%{
    opacity:0;
    top:12px;
}

50%{
    opacity:1;
}

100%{
    opacity:0;
    top:38px;
}

}

/* ========================================================== */
/* GENERAL SECTIONS */
/* ========================================================== */

section{

    width:min(1100px,92vw);

    margin:90px auto;

}

.glass,
.venue-card{
    background: rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.20);
    border-radius:24px;
    box-shadow:var(--shadow);
    padding:60px;
}




.section-title{

    text-align:center;

    font-family:"Great Vibes",cursive;

    color:var(--gold-light);

    font-size:3.6rem;

}

.gold-divider{

    width:160px;

    height:3px;

    margin:25px auto 45px;

    background:linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent);

}

section p{

    font-size:1.4rem;

    
    font-weight:300;
line-height:1.9;

    margin-bottom:25px;

}

.center{

    text-align:center;

}
/* ==========================================================
   STORY SECTION
   ========================================================== */

.story{

    text-align:center;

}

.story-grid{

    display:flex;
    justify-content:center;
    align-items:center;

}

.story-text{

    max-width:850px;
    margin:0 auto;

}

.story-text h2{

    color:var(--gold-light);
    font-family:"Great Vibes",cursive;
    font-size:3rem;
    margin-bottom:25px;

}

.story-text p{

    text-align:center;
    font-size:1.45rem;
    line-height:1.9;

}/* ==========================================================
   DETAILS
   ========================================================== */

.details-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.detail-card{
    background: rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    border-radius:18px;
    padding:35px;
    text-align:center;
    transition:.35s;
}

.detail-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.12);
}

.detail-card h3{
    font-family:"Great Vibes",cursive;
    color:var(--gold-light);
    font-size:2.3rem;
    margin-bottom:15px;
}

/* ==========================================================
   VENUE
   ========================================================== */



.venue-info{
    text-align:center;
}

.venue-info h2{
    font-family:"Great Vibes",cursive;
    color:var(--gold-light);
    font-size:3rem;
    margin-bottom:20px;
}

.venue-address{
    font-size:1.6rem;
    line-height:1.9;
    margin-bottom:30px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.button-row{
    text-align:center;
    margin-top:40px;
}

.gold-button{
    display:inline-block;
    text-decoration:none;
    color:#2f2618;
    background:linear-gradient(#ecd79f,#c7a35a);
    padding:18px 48px;
    border-radius:999px;
    font-size:1.25rem;
    font-weight:bold;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.gold-button:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 32px rgba(0,0,0,.45);
}

/* ==========================================================
   GALLERY
   ========================================================== */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.gallery-item img{
    width:100%;
    display:block;
    border-radius:18px;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.gallery-item img:hover{
    transform:scale(1.04);
}

.gallery-placeholder{
    border:2px dashed rgba(255,255,255,.25);
    border-radius:18px;
    min-height:260px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:rgba(255,255,255,.65);
    font-size:1.3rem;
}

/* ==========================================================
   CLOSING
   ========================================================== */

.closing{
    text-align:center;
}

.closing-box{
    background:rgba(255,255,255,.10);
    padding:60px;
    border-radius:24px;
    box-shadow:var(--shadow);
}

.closing-box h2{
    font-family:"Great Vibes",cursive;
    font-size:3.3rem;
    color:var(--gold-light);
    margin-bottom:25px;
}

/* ==========================================================
   FOOTER
   ========================================================== */

footer{
    text-align:center;
    padding:80px 20px;
}

.footer-ornament{
    font-size:2rem;
    color:var(--gold);
    margin-bottom:20px;
}

.footer-love{
    font-size:1.5rem;
    margin-bottom:8px;
}

.footer-name{
    font-family:"Great Vibes",cursive;
    font-size:3.6rem;
    color:white;
}

/* ==========================================================
   BACK TO TOP
   ========================================================== */

#topButton{
    position:fixed;
    right:30px;
    bottom:30px;
    width:54px;
    height:54px;
    border:none;
    border-radius:50%;
    background:linear-gradient(#ecd79f,#c7a35a);
    color:#2f2618;
    font-size:1.4rem;
    cursor:pointer;
    display:none;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:.3s;
    z-index:999;
}

#topButton:hover{
    transform:translateY(-5px);
}

/* Animations removed */

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:900px){

.story-grid{
    grid-template-columns:1fr;
}



.photo-frame{
    margin-top:35px;
}

.section-title{
    font-size:2.8rem;
}

.hero h1{
    font-size:4rem;
}

.tagline{
    font-size:1.2rem;
}

.date{
    font-size:1.5rem;
}

.detail-card{
    padding:25px;
}



.closing-box{
    padding:35px;
}

.footer-name{
    font-size:2.8rem;
}

#topButton{
    right:15px;
    bottom:15px;
}

}



/* ==========================================================
   RSVP HERO
   ========================================================== */

.rsvp-hero{
    min-height:55vh;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:80px 20px 70px;
}

.hero-message{
    max-width:700px;
    margin:35px auto 0;
    font-size:1.45rem;
    line-height:1.9;
}

/* ==========================================================
   RSVP PAGE
   ========================================================== */

.rsvp-page{
    width:min(850px,92vw);
    margin:-45px auto 90px;
    position:relative;
    z-index:10;
}

.back-home{
    margin-bottom:30px;
}

.rsvp-photo{
    width:180px;
    height:180px;
    margin:35px auto;
    padding:8px;
    border-radius:50%;
    background:linear-gradient(145deg,#f9f5ea,#dbc89b);
    box-shadow:
        0 18px 45px rgba(0,0,0,.45),
        inset 0 0 10px rgba(255,255,255,.55);
}

.rsvp-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block;
}

.form-group{
    margin-bottom:28px;
}

.form-group label{
    display:block;
    color:var(--gold-light);
    font-size:1.3rem;
    margin-bottom:8px;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:16px;
    font-family:"Lora",serif;
    font-size:1.2rem;
    color:white;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.20);
    border-radius:12px;
}

.form-group textarea{
    min-height:120px;
    resize:vertical;
}

.form-group select{

    width:100%;
    padding:16px;

    font-family:"Lora",serif;
    font-size:1.2rem;

    color:white;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.20);

    border-radius:12px;

    cursor:pointer;

    appearance:none;

}

.form-group select option{

    color:#2F4538;

    background:#FAF8F2;

}

.radio-group{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    font-size:1.25rem;
}

.radio-group input{
    width:auto;
    margin-right:8px;
}

#guestSection{
    display:none;
}

#guestNamesContainer{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:12px;
}

.guest-name{
    width:100%;
    padding:16px;
    font-family:"Lora",serif;
    font-size:1.2rem;
    color:white;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.20);
    border-radius:12px;
}

#success{
    margin-top:40px;
}

@media (max-width:900px){

    .rsvp-hero{
        min-height:45vh;
        padding:60px 20px;
    }

    .rsvp-photo{
        width:140px;
        height:140px;
    }

    .hero-message{
        font-size:1.2rem;
    }

    .radio-group{
        flex-direction:column;
        gap:15px;
    }

}


/* ==========================================================
   COUNTDOWN
   ========================================================== */

.countdown{
    width:min(520px,90%);
    margin:30px auto 0;
    text-align:center;
    padding:24px 30px;
}

.countdown-title{
    font-family:"Great Vibes",cursive;
    color:var(--gold-light);
    font-size:2.1rem;
    margin-bottom:12px;
}

.countdown-timer{
    font-size:1.5rem;
    letter-spacing:.05em;
    color:var(--white);
}

.countdown-timer strong{
    color:var(--gold-light);
    font-size:1.8rem;
}

@media (max-width:900px){
  .countdown-title{font-size:1.8rem;}
  .countdown-timer{font-size:1.2rem;}
}


/* Version 6.1 */
.story 
