/* ===========================
   Hero Carousel
   =========================== */

/* Full-screen carousel on homepage */
body.homepage .hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

/* Normal carousel on other pages (if any) */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 55px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.carousel-caption {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: 0;
    background: none;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.carousel-caption h1 {
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--color-white);
}

.carousel-caption p {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-white);
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0.7;
}

.carousel-btn:hover {
    opacity: 1;
    background-color: var(--color-white);
}

.carousel-btn.prev {
    left: 2rem;
}

.carousel-btn.next {
    right: 2rem;
}

.carousel-btn svg {
    color: var(--color-primary);
}

/* Carousel Indicators - Removed per user preference */

/* Responsive Carousel */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
        margin-top: 60px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 1rem;
    }
    
    .carousel-btn.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 60vh;
        margin-top: 60px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

