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

html{

    scroll-behavior:smooth;

}

body{

    font-family:Poppins,sans-serif;

    background:#fdfbf8;

    color:#444;

}

.hero{

    height:100vh;

    background-image:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.45)
        ),
        url("/images/portada.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.overlay{

    color:white;

}

.welcome{

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:14px;

    margin-bottom:25px;

}

.hero h1{

    font-family:"Playfair Display",serif;

    font-size:68px;

    font-weight:600;

}

.heart{

    font-size:45px;

    margin:18px 0;

    color:#ffb3c1;

    animation:pulse 2s infinite;

}

.date{

    margin-top:35px;

    font-size:24px;

}

.scroll{

    margin-top:60px;

    display:inline-block;

    color:white;

    text-decoration:none;

    font-size:18px;

    animation:float 2s infinite;

}

#countdown{

    padding:90px 20px;

    text-align:center;

}

#countdown h2{

    font-family:"Playfair Display",serif;

    font-size:42px;

    margin-bottom:50px;

}

.timer{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.time-box{

    width:130px;

    height:130px;

    background:white;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.time-box span{

    font-size:42px;

    font-weight:bold;

}

.time-box small{

    margin-top:10px;

    color:#777;

}

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.15);

    }

    100%{

        transform:scale(1);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(10px);

    }

    100%{

        transform:translateY(0);

    }

}

@media(max-width:768px){

    .hero h1{

        font-size:48px;

    }

    .date{

        font-size:20px;

    }

    .time-box{

        width:90px;

        height:90px;

    }

    .time-box span{

        font-size:30px;

    }

}

.container{

    max-width:1000px;

    margin:auto;

    padding:120px 25px;
}

#invitation{

    background:#faf7f3;

}

.section-icon{

    text-align:center;

    font-size:42px;

    color:#b88b4a;

    margin-bottom:20px;

}

#invitation h2{

    text-align:center;

    font-family:"Playfair Display",serif;

    font-size:44px;

    margin-bottom:30px;

    color:#5c4633;

}

.intro{

    max-width:720px;

    margin:auto;

    text-align:center;

    line-height:1.9;

    font-size:19px;

    color:#666;

}

.parents{

    margin-top:70px;

    display:flex;

    justify-content:center;

    gap:70px;

    flex-wrap:wrap;

}

.family{

    width:320px;

    background:white;

    padding:35px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

    text-align:center;

}

.family h3{

    font-family:"Playfair Display",serif;

    color:#8a6d4a;

    margin-bottom:18px;

}

.family p{

    line-height:1.8;

    color:#666;

}

#events{

    background:white;

}

.event-grid{

    margin-top:60px;

    display:grid;

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

    gap:35px;

}

.event-card{

    background:#faf7f3;

    border-radius:20px;

    padding:45px 35px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.event-card:hover{

    transform:translateY(-8px);

}

.event-icon{

    font-size:42px;

    margin-bottom:20px;

}

.event-card h3{

    font-family:"Playfair Display",serif;

    font-size:30px;

    color:#5c4633;

    margin-bottom:25px;

}

.event-time{

    font-size:18px;

    color:#8a6d4a;

    font-weight:600;

    margin-bottom:25px;

    line-height:1.7;

}

.event-place{

    line-height:1.9;

    color:#666;

    margin-bottom:35px;

}

.button{

    display:inline-block;

    background:#8a6d4a;

    color:white;

    text-decoration:none;

    padding:14px 30px;

    border-radius:50px;

    transition:.3s;

}

.button:hover{

    background:#6f5539;

}

.photo-divider{

    height:70vh;

    background-image:

        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        ),

        url("/images/foto1.jpg");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.photo-overlay{

    color:white;

    padding:20px;

}

.photo-overlay h2{

    font-family:"Playfair Display",serif;

    font-size:56px;

    font-weight:600;

    margin-bottom:20px;

}

.photo-overlay p{

    font-size:22px;

    letter-spacing:3px;

}

#dress-code{

    background:#faf7f3;

}
#dress-code h2{

    text-align: center;

    font-family: "Playfair Display", serif;

    font-size: 44px;

    margin-bottom: 30px;

    color: #5c4633;

}

.dress-card{

    max-width:500px;

    margin:60px auto;

    background:white;

    padding:50px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.dress-card i{

    font-size:60px;

    color:#8a6d4a;

    margin-bottom:30px;

}

.dress-card h3{

    font-family:"Playfair Display",serif;

    font-size:36px;

    margin-bottom:20px;

}

.dress-card p{

    line-height:1.8;

    color:#666;

}

#gifts{

    background:white;

}

.gift-card{

    max-width:700px;

    margin:60px auto;

    padding:55px;

    border-radius:22px;

    background:#faf7f3;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.gift-card p{

    line-height:1.9;

    color:#666;

    margin-bottom:18px;

}

.amazon-button{

    display:inline-flex;

    align-items:center;

    gap:12px;

    margin-top:25px;

    padding:16px 34px;

    background:#232f3e;

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:.3s;

    font-weight:600;

}

.amazon-button:hover{

    background:#131a22;

    transform:translateY(-3px);

}

#rsvp{

    background:#faf7f3;

}

.rsvp-description{

    text-align:center;

    color:#666;

    margin-bottom:50px;

}

#rsvpForm{

    max-width:600px;

    margin:auto;

}

.form-group{

    margin-bottom:30px;

}

.form-group label{

    display:block;

    margin-bottom:10px;

    font-weight:500;

}

.form-group input{

    width:100%;

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:17px;

    transition:.25s;

}

.form-group input:focus{

    outline:none;

    border-color:#8a6d4a;

    box-shadow:0 0 0 4px rgba(138,109,74,.15);

}

#submitButton{

    width:100%;

    padding:18px;

    border:none;

    border-radius:12px;

    background:#8a6d4a;

    color:white;

    font-size:18px;

    cursor:pointer;

    transition:.25s;

}

#submitButton:hover{

    background:#6d5438;

}

#submitButton:disabled{

    opacity:.7;

    cursor:not-allowed;

}

#message{

    text-align:center;

    margin-top:30px;

    font-size:18px;

    font-weight:500;

}