/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 800ms ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.carousel-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    max-width: 800px;
    padding: 2rem 3rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.carousel-title {
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-subtitle {
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-content .btn {
    background-color: #fff;
    color: var(--color-text);
    border-color: #fff;
}

.carousel-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.dot.active {
    background-color: #fff;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    font-size: var(--text-sm);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    opacity: 0.9;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
    }

    .carousel-content {
        bottom: 12%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        padding: 1.5rem 1.25rem;
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
    }

    .carousel-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .carousel-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .carousel-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    .carousel-dots {
        bottom: 1.25rem;
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 10px;
        height: 10px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 60vh;
    }

    .carousel-content {
        bottom: 10%;
        width: 92%;
        padding: 1.25rem 1rem;
    }

    .carousel-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .carousel-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .carousel-content .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }

    .carousel-dots {
        bottom: 1rem;
    }
}
