:root{
    --primary:#98483B;
    --primary-dark:#7A3A30;
    --cream:#F7EEE8;
    --white:#ffffff;
    --text:#453533;
    --border:#e8d9cf;

    --max-width:1200px;
    --shadow:0 10px 35px rgba(0,0,0,.08);
}

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--cream);
    color:var(--text);
    font-family:'Montserrat',sans-serif;
    line-height:1.7;
}

/* ---------------- HERO ---------------- */

.hero{
    min-height:100vh;
    background:var(--primary);
    color:white;

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

    padding:40px;
}

.hero-content{
    max-width:900px;
}

.hero h1{
    font-family:'Cormorant Garamond',serif;
    font-size:clamp(5rem,10vw,10rem);
    font-weight:300;
    line-height:0.95;
    letter-spacing:6px;
    margin-bottom:20px;
}

.hero h1 span{
    display:block;
    font-size:0.8em;
}

.hero p{
    font-size:2.5rem;
    letter-spacing:5px;
    margin-bottom:50px;
    color:rgba(255,255,255,.9);
}

/* ---------------- COUNTDOWN ---------------- */

#countdown{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.count-box{
    width:120px;
    height:120px;

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

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

    backdrop-filter:blur(10px);

    border-radius:22px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.count-number{
    font-size:2rem;
    font-weight:600;
}

.count-label{
    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* ---------------- SECTIONS ---------------- */


.container{
    max-width:var(--max-width);
    margin:auto;
}

.section-title{
    font-family:'Cormorant Garamond',serif;
    font-size:4rem;
    text-align:center;
    margin-bottom:60px;
    color:var(--primary);
}

/* ---------------- TIMELINE ---------------- */

.timeline{
    max-width:1000px;
    margin:0 auto;
}


.event{
    position:relative;

    width:45%;
    background:white;

    padding:35px;
    border-radius:24px;

    box-shadow:var(--shadow);

    margin-bottom:40px;
}

.event{
    width:100%;
    margin:0 0 25px 0;
}

.event h3{
    font-family:'Cormorant Garamond',serif;
    font-size:2rem;
    color:var(--primary);
    margin-bottom:15px;
}

/* ---------------- RSVP ---------------- */

.form-wrapper{
    max-width:800px;
    margin:auto;
}

form{
    display:grid;
    gap:18px;
}

input,
select,
textarea{
    padding:16px;

    border:1px solid var(--border);
    border-radius:14px;

    font-size:1rem;
    font-family:'Montserrat',sans-serif;

    background:white;
}

textarea{
    min-height:160px;
    resize:vertical;
}

button{
    border:none;

    background:var(--primary);
    color:white;

    padding:18px;

    border-radius:14px;

    cursor:pointer;

    font-size:1rem;
    font-weight:600;

    transition:.25s;
}

button:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

/* ---------------- FAQ ---------------- */

details{
    background:white;

    margin-bottom:15px;

    border-radius:16px;

    padding:20px 25px;

    box-shadow:var(--shadow);
}

summary{
    cursor:pointer;
    font-weight:600;
    font-size:1.1rem;
}

details p{
    margin-top:15px;
}

/* ---------------- GALLERY ---------------- */

.gallery{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.gallery img{
    width:100%;
    height:280px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.03);
}

/* ---------------- FOOTER ---------------- */

footer{
    background:var(--primary);
    color:white;

    text-align:center;

    padding:30px;
}

footer a{
    color:white;
    text-decoration:none;
    margin:0 10px;
}

/* ---------------- MOBILE ---------------- */

@media(max-width:768px){

    .timeline::before{
        display:none;
    }

    .event{
        width:100%;
    }

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

    .hero h1{
        letter-spacing:2px;
    }

    .count-box{
        width:90px;
        height:90px;
    }
}

#rsvp-form{
    max-width:850px;
    margin:0 auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

#rsvp-form label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#98483B;
}

#rsvp-form input,
#rsvp-form select,
#rsvp-form textarea{
    width:100%;
    padding:14px 16px;
    border:2px solid #e7ddd6;
    border-radius:12px;
    font-size:1rem;
    transition:all .2s ease;
    background:#fff;
}

#rsvp-form input:focus,
#rsvp-form select:focus,
#rsvp-form textarea:focus{
    outline:none;
    border-color:#98483B;
    box-shadow:0 0 0 4px rgba(140,90,87,0.15);
}

#rsvp-form button{
    margin-top:10px;
    background:#98483B;
    color:white;
    border:none;
    padding:16px;
    border-radius:12px;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
}

#rsvp-form button:hover{
    background:#774845;
    transform:translateY(-2px);
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

@media (max-width:768px){
    .form-row{
        grid-template-columns:1fr;
    }
}

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

.radio-group label{
    flex:1;
    padding:15px;
    background:#f8f5f2;
    border-radius:12px;
    border:2px solid #e7ddd6;
    cursor:pointer;
}

.form-intro{
    text-align:center;
    max-width:600px;
    margin:0 auto 30px auto;
    color:#666;
}

.section h2{
    text-align:center;
    margin-bottom:50px;
    font-family:'Cormorant Garamond', serif;
    font-size:4rem;
    color:var(--primary);
}

.section{
    max-width:1000px;
    margin:0 auto;
    padding:60px 20px;
    text-align:center;
}

.event{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-align:left;
}

#rsvp-form{
    max-width:700px;
    margin:0 auto;
}

.save-the-date{
    font-family:'Cormorant Garamond', serif;
    font-size:2.5rem;
    letter-spacing:3px;
    margin-bottom:20px;
}

.location-box{
    margin-top:20px;
    padding:18px;
    background:#faf7f4;
    border:1px solid var(--border);
    border-radius:16px;
}

.location-box strong{
    color:var(--primary);
    letter-spacing:1px;
}

.news-box{
    max-width:700px;
    margin:0 auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    text-align:center;
}

.news-box p{
    margin:0;
    font-size:1.1rem;
    color:#666;
}

.news-date{
    color:var(--primary);
    font-size:.9rem;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.news-text{
    font-size:1.1rem;
}

