/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 500px;
    overflow: hidden;
}

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

.hero-carousel-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
    pointer-events: none;
}

.hero-carousel-item.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-carousel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1000ms ease-out;
}

.hero-carousel-item.active .hero-carousel-bg {
    animation: ken-burns 10s ease-out forwards;
}

@keyframes ken-burns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-carousel-text {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.hero-carousel-item.active .hero-carousel-text {
    opacity: 1;
    transform: translateY(0);
    animation: fade-in-up 1s ease-out forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-carousel-label {
    color: #fff;
    background: rgba(168, 85, 247, 0.8);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-carousel-title {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    margin-bottom: 1.5rem;
    max-width: 64rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    color: #ffffff;
}

.hero-carousel-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    max-width: 45rem;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.hero-carousel-cta {
    display: inline-block;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    background-color: var(--color-primary, #a855f7);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 300ms ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-carousel-cta:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.6);
}

/* Navigation Arrows */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 300ms ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev {
    left: 1rem;
}

.hero-carousel-next {
    right: 1rem;
}

.hero-carousel-prev::before {
    content: '‹';
}

.hero-carousel-next::before {
    content: '›';
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
        min-height: 400px;
    }

    .hero-carousel-title {
        font-size: 2.5rem;
    }

    .hero-carousel-subtitle {
        font-size: 1.125rem;
    }

    .hero-carousel-label {
        font-size: 0.875rem;
    }

    .hero-carousel-cta {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .hero-carousel-prev,
    .hero-carousel-next {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-carousel-title {
        font-size: 3rem;
    }

    .hero-carousel-subtitle {
        font-size: 1.25rem;
    }
}