:root {
    --olive: #6D7E6F;
    --sage: #9CA99A;
    --blue-gray: #8B9BA8;
    --light-blue: #C3CFDC;
    --cream: #EFECE5;
    --text-dark: #2c2c2c;
    --transition: 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
}

html {
    scroll-behavior: smooth;
}

.title {
    position: relative;
    background-image: url('./images/lavander.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 0rem 10rem;
    color: var(--olive);
    text-align: center;
    overflow: hidden;
    height: 360px;
}

.title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(239, 236, 229, 0) 0%, var(--cream) 100%);
    pointer-events: none;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 30px;
    flex-wrap: wrap;
    padding-right: 3%;
}

.scroll-down {
    display: inline-block;
    color: var(--olive);
    transition: transform var(--transition);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.hero {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 54px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin: 0;
    text-align: center;
    margin-bottom: 30px;
}

.hero h2 {
    font-weight: 400;
    font-size: 1.3rem;
    margin-top: 1rem;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 2rem;
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 15px;
    color: var(--olive);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

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

#countdown small {
    font-size: 1rem;
    color: #777;
}

/* 
.restaurant-section {
    max-width: 50%;
    margin: 2rem auto;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
} */

.restaurant-section h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.restaurant-section h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    text-align: center;
}

.restaurant-section a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    display: block;
    margin-top: 15px;
    font-weight: bolder;
    text-align: center;

}

#restaurant {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.title-text {
    font-size: 2em;
    text-align: center;
    font-weight: 700;
    margin: 4rem 0px;
}


/* .restaurant {
    background-image: url(./images/861383b418b19d44115c3fceead1a7c34f50e7ecc6b2f54a4a7a97fc6efdcb5e.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 600px;
    margin-top: 50px;
    background-position: center;
} */
.restaurant-section {
    display: flex;
    display: flex;
    margin-top: 49px;
    justify-content: space-around;
    gap: 20rem;
}

.restaurant {
    width: 600px;
}

.polaroid {
    width: 610px;
    background-color: white;
    padding: 33px 20px 110px;
    transform: rotate(-24deg);
    margin-left: 200px;
    margin-top: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info {
    width: 500px;
    font-size: 20px;
}

#timing {
    margin-top: 20px;
}

#timing>h1 {
    text-align: center;
    font-family: 'Playfair Display', serif;

}


.event-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.event {
    background-color: white;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 180px;
}

.event img {
    width: 177px;
    height: 173px;
    margin-bottom: 10px;
}

.event p {
    font-size: 1.2rem;
}

.rsvp-button {
    background-color: var(--olive);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.rsvp-button:hover {
    background-color: #5c6e60;
}

.colors {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.color-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.olive {
    background-color: var(--olive);
}

.sage {
    background-color: var(--sage);
}

.blue-gray {
    background-color: var(--blue-gray);
}

.light-blue {
    background-color: var(--light-blue);
}

.cream {
    background-color: var(--cream);
    border: 1px solid #ccc;
}

.faq-container {
    background-color: white;
    display: flex;
    margin: auto;
    width: 60%;
    box-sizing: border-box;
    flex-direction: column;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 56px 34px;
}

@media screen and (max-width: 1002px) {
    .navigation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 680px) {
    .restaurant {
        background-image:
            linear-gradient(to bottom, #EFECE5 3%, rgba(239, 236, 229, 0) 25%),
            url(./images/861383b418b19d44115c3fceead1a7c34f50e7ecc6b2f54a4a7a97fc6efdcb5e.jpg),
            linear-gradient(to top, #EFECE5 0%, rgba(239, 236, 229, 0) 15%);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-size: 100% 100%, cover, 100% 100%;
        background-position: top, center, bottom;
        text-align: center;
        color: var(--olive);
        position: relative;
        height: 250px;
        margin-top: 50px;
        width: 100%;
    }

    .restaurant::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to bottom, rgba(239, 236, 229, 0) 0%, var(--cream) 100%);
        pointer-events: none;
    }

    .section {
        max-width: 100%;
        margin: 0;
        padding: 0;
        background-color: transparent;
        border-radius: 0px;
        box-shadow: none;

    }

    #restaurant>.info {
        margin: 2rem 1rem;
    }
}