
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem 1rem;
}

.hero img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 25px;
    display: block;
}

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(252, 238, 236, 0.45);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.contact-modal.active {
    display: flex;
}

.contact-form-box {
    position: relative;
    width: min(90%, 420px);
    padding: 2rem;
    border-radius: 25px;
    background: rgba(247, 198, 194, 0.75);
    border: 1px solid var(--red-rose);
    box-shadow: 0 0 30px rgba(248, 164, 158, 0.5);
    animation: popIn 0.25s ease;
}

.contact-form-box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--brown);
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 15px;
    border: 1px solid var(--red-rose);
    background: rgba(255, 255, 255, 0.65);
    font-family: 'Poppins', sans-serif;
    color: var(--brown);
    outline: none;
}

.contact-form-box textarea {
    min-height: 120px;
    resize: none;
}

.close-contact {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    border: none;
    background: transparent;
    font-size: 2rem;
    color: var(--brown);
    cursor: pointer;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

main {
    width: 100%;
}

.intro-section,
.services-section,
.about-section,
.cta-section {
    width: min(90%, 1100px);
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
}

.intro-section h1,
.services-section h2,
.about-section h2,
.cta-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--brown);
}

.intro-section p,
.service-card p,
.about-section p,
.cta-section p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(248, 164, 158, 0.5);
    box-shadow: 0 10px 25px rgba(248, 164, 158, 0.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--brown);
}

.about-section {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 30px;
}

.cta-section {
    padding-bottom: 6rem;
}

.btns-end {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    background: var(--red-rose);
    color: var(--tan);
    box-shadow: 0 0 15px rgba(248, 164, 158, 0.6);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    nav {
        position: relative;
        overflow: visible;
    }

    a, button {
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
        padding-right: 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--rose);
        flex-direction: column;
        align-items: center;
        gap: 2rem;

        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;

        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
        z-index: 1000;
    }

    .nav-links.active {
        max-height: 400px;
        padding: 2rem 0;
        opacity: 1;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .btns {
        display: none;
    }


    .hero {
        position: relative;
        z-index: 1;
        width: 100%;
        padding: 2rem 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .hero img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .intro-section,
    .services-section,
    .about-section,
    .cta-section {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }
}
