@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;700&display=swap');

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

body { 
    font-family: 'Space Grotesk', sans-serif; 
    background: #fdf6ff; 
    color: #333;
    overflow-x: hidden;
}

.top-nav {
    position: fixed;
    top: 1rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 30;
}

.top-nav a {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ff4f86, #ff8a00);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 79, 134, 0.35);
}

.top-nav a:hover {
    background: linear-gradient(135deg, #ff2f73, #ff6b00);
    transform: translateY(-1px);
}

/* Hero with a rotating background slideshow */
.hero {
    position: relative;
    margin-top: 3.5rem;
    min-height: calc(75vh - 4rem);
    height: calc(75vh - 4rem);
    width: 100%;
    overflow: hidden;

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroSlider 12s ease-in-out infinite;
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes heroSlider {
    0%, 100% {
        background-image: linear-gradient(rgba(255,182,193,0.3), rgba(173,216,230,0.3), rgba(121,50,130,0.3)),
            url('main-img0.png');
    }
    25% {
        background-image: linear-gradient(rgba(255,182,193,0.3), rgba(173,216,230,0.3), rgba(121,50,130,0.3)),
            url('main-img1.png');
    }
    50% {
        background-image: linear-gradient(rgba(255,182,193,0.3), rgba(173,216,230,0.3), rgba(121,50,130,0.3)),
            url('main-img1_2.png');
    }
    75% {

        background-image: linear-gradient(rgba(255,182,193,0.3), rgba(173,216,230,0.3), rgba(121,50,130,0.3)),
             url('main-img2.png');
    }
}

h1 { font-size: 4rem; letter-spacing: -2px; color: #ff6f9c; }

/* Services Section */
.services {
    padding: 2.2rem 8%;
    text-align: center;
    background: #fff;
}

.services h2 {
    color: #ff4f86;
    margin-bottom: 1rem;
}

.services ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 420px;
}

.services li {
    background: #fff5f8;
    border: 1px solid #ffd7e6;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    margin: 0.65rem 0;
    font-size: 1rem;
    color: #4f2f44;
}

/* About Section */
.about { padding: 2.5rem 8%; text-align: center; }

/* Gallery Section */
.gallery { padding: 2.5rem 6%; background: #ff6f9c; color: white; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Reviews Section */
.reviews {
    padding: 3rem 6%;
    background: linear-gradient(180deg, #fff5f8 0%, #ffe9f2 100%);
    color: #382232;
    text-align: center;
}

.reviews-intro p:first-child {
    margin-bottom: 0.5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ff4f86;
    font-size: 0.85rem;
    font-weight: 700;
}

.reviews-intro h2 {
    font-size: 2.5rem;
    margin: 0.5rem auto 0.75rem;
    max-width: 720px;
}

.reviews-intro p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: #5e3f58;
    line-height: 1.8;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto 2.5rem;
    max-width: 1120px;
}

.review-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 18px 40px rgba(121, 31, 98, 0.08);
    color: #5a3250;
    line-height: 1.8;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card span {
    margin-top: 1.5rem;
    display: inline-block;
    font-weight: 700;
    color: #bf3d7a;
}

.review-feature {
    background: linear-gradient(180deg, #ffebf2 0%, #fff4fb 100%);
}

.review-btn {
    display: inline-block;
    background: #ff4f86;
    color: white;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 79, 134, 0.22);
}

.review-btn:hover {
    background: #ff2f73;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
    .top-nav {
        top: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .top-nav a {
        padding: 0.65rem 0.9rem;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 55vh;
        height: auto;
        padding: 2.5rem 1rem;
    }

    .hero-overlay {
        padding: 1.25rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .about,
    .gallery,
    .reviews {
        padding-left: 5%;
        padding-right: 5%;
    }

    .gallery-grid,
    .review-cards {
        gap: 14px;
    }

    .gallery-item img {
        height: 170px;
    }
}

@media (max-width: 600px) {
    .top-nav {
        position: static;
        margin: 0.75rem auto 0;
        justify-content: center;
        width: calc(100% - 2rem);
    }

    .hero {
        min-height: 50vh;
        padding: 1.75rem 0.75rem 1rem;
    }

    .hero-overlay {
        padding: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .about,
    .gallery,
    .reviews {
        padding-left: 4%;
        padding-right: 4%;
    }

    .about p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 160px;
    }

    .reviews-intro h2 {
        font-size: 1.8rem;
    }

    .review-card {
        min-height: auto;
        padding: 1.3rem;
    }

    .review-btn {
        width: 100%;
        padding: 0.95rem 0;
    }
}
