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

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    line-height:1.6;
}

h1,h2,h3{
    font-family:'Playfair Display',serif;
}

.hero{
    height:100vh;
    background-image:url("../images/clm.jpg");
    background-size:cover;
    background-position:center;
    position:relative;

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

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:white;
}

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

.hero p{
    font-size:1.4rem;
}

.hero h2{
    margin:20px 0;
}

.btn{
    display:inline-block;
    background:#c9a86a;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:30px;
    border:none;
    cursor:pointer;
}

.countdown-section{
    text-align:center;
    padding:80px 20px;
    background:#faf7f2;
}

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

#countdown div{
    min-width:100px;
}

#countdown span{
    font-size:2rem;
    font-weight:bold;
}

.story,
.gallery,
.event-section,
.rsvp{
    padding:80px 20px;
    text-align:center;
}

.story p{
    max-width:700px;
    margin:auto;
}

.gallery-grid{
    margin-top:40px;

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

    gap:20px;
}

.gallery img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:15px;
}

.cards{
    display:flex;
    gap:30px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:40px;
}

.card{
    background:white;
    padding:30px;
    border-radius:20px;
    width:350px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.btn-small{
    display:inline-block;
    margin-top:20px;
    background:#c9a86a;
    color:white;
    text-decoration:none;
    padding:10px 20px;
    border-radius:25px;
}

footer{
    text-align:center;
    padding:40px;
    background:#f2ede5;
}

@media(max-width:768px){

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

.card{
    width:100%;
}

}