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

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--secondary-color);
}

.carousel-wrapper {
    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;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.7) 0%, rgba(0, 153, 204, 0.5) 100%);
    z-index: 2;
}

.carousel-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: white;
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Standard Carousel (for other sections) */
.standard-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.standard-carousel .carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.standard-carousel .carousel-slide {
    position: relative;
    flex: 0 0 100%;
    opacity: 1;
}

/* ========================================================================= */
/*                              Responsividade                               */
/* ========================================================================= */

@media (max-width: 1200px) {
    .carousel-content h1 {
        font-size: 3rem;
    }
    
    .carousel-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 500px;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .carousel-controls {
        padding: 0 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .carousel-controls {
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

