
:root {
    --hero-carousel-width: 32rem;
    --hero-carousel-height: 40rem;
}


.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
}

.carousel-slide img {
    width: 50%;
    height: 600px;
    object-fit: cover;
}

.slide-content {
    padding: 3rem;
    padding-right: max(3rem, 75px);
    text-align: center;
    flex: 1;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--coral-pink);
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.6;
}

.hero .carousel-container {
    max-width: var(--hero-carousel-width);
}

.hero .carousel-slide {
    width: 100%;
    flex-shrink: 0;
}

.hero .carousel-slide img {
    width: 100%;
    max-height: var(--hero-carousel-height);
    object-fit: cover;
    display: block;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--coral-pink);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--primary-yellow);
}


@media (max-width: 768px) {

    .carousel-slide {
        flex-direction: column;
    }

    .carousel-slide img {
        width: 100%;
        max-height: 115vw;
        min-height: 100vw;
    }

    .slide-content {
        padding: 2rem;
    }

    .hero .carousel-container {
        max-width: 100%;
    }

    .hero .carousel-slide {
        max-height: 100vw;
    }
}