/* Office Work & Play Carousel Section */
.work-play-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #fff;
    height: 100vh;
    margin: 3rem 0;
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.carousel-text {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    background-color: #fff;
}

.carousel-text-content {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 1rem 1.5rem;
}
.carousel-text-content .heading-xl{
    color: #000;
}
.carousel-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    color: #000;
    margin: 0;
    letter-spacing: -0.03em;
}

.carousel-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 3vw, 2.5rem);
}

.carousel-button {
    display: inline-block;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #000;
    color: #fff !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
}

.carousel-button:hover {
    background-color: var(--accent-color);
}

.carousel-slides {
    position: relative;
    width: 60%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    position: absolute;
    width: 300%; /* Triple width to accommodate three slides */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: relative;
    width: 33.333%; /* Each slide takes up one-third of the carousel-track */
    height: 100%;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
    display: flex;
    gap: 1rem;
}

.carousel-nav-button {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.carousel-nav-button:hover {
    background-color: #fff;
}

.carousel-nav-button svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #000;
}

/* Mobile styles */
@media (max-width: 1200px) {
    .carousel-heading {
        font-size: clamp(2.2rem, 5vw, 4rem);
    }
    
    .work-play-carousel {
        margin: 2.5rem 0;
    }
}

@media (max-width: 991px) {
    .work-play-carousel {
        height: auto;
        flex-direction: column;
        margin: 2rem 0;
    }
    
    .carousel-container {
        flex-direction: column-reverse;
    }
    
    .carousel-text,
    .carousel-slides {
        width: 100%;
    }
    
    .carousel-text {
        padding: clamp(2rem, 4vw, 3rem) 0;
        height: auto;
    }
    
    .carousel-text-content {
        max-width: 100%;
        text-align: center;
    }
    
    .carousel-heading {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .carousel-slides {
        height: 50vh;
    }
    
    .carousel-nav {
        bottom: 1rem;
        right: 1rem;
    }
    
    .carousel-nav-button {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-heading {
        font-size: clamp(1.75rem, 4vw, 3rem);
    }
    
    .work-play-carousel {
        margin: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    .carousel-heading {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }
    
    .carousel-slides {
        height: 35vh;
    }
    
    .carousel-nav {
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .carousel-nav-button {
        width: 2rem;
        height: 2rem;
    }
    
    .work-play-carousel {
        margin: 1rem 0;
    }
} 