/* HERO CAROUSEL STYLES */

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    /* Fixed height for desktop to prevent collapse */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.05);
    /* Slight zoom Effect */
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Dots Navigation */
.hero-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-dot.active {
    background: var(--accessible-gold, #a67c00);
    width: 25px;
    border-radius: 10px;
}

/* Arrows Navigation */
.hero-carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
    /* Hidden by default, show on hover */
}

.hero-carousel-wrapper:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Overlay gradient for better integration */
.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(26, 26, 46, 0.4));
    z-index: 2;
    pointer-events: none;
}

/* RESPONSIVE LAYOUT */

/* Reacomodar hero-content */
@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 80px !important;
        align-items: center;
        padding-top: 40px;
        /* Added spacing from top edge */
        padding-bottom: 40px;
    }

    .hero-text {
        text-align: left !important;
    }

    .hero-actions {
        justify-content: flex-start !important;
    }
}

/* 3 Buttons Layout */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-actions .btn {
    flex: 0 1 auto;
    min-width: 180px;
}

/* Feature link button style to match other 2 buttons */
.btn-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--accessible-gold);
}

/* Info Bar for features */
.hero-info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-info-item i {
    color: var(--accessible-gold);
    width: 20px;
    height: 20px;
}

@media (max-width: 991px) {
    .hero-content {
        display: flex !important;
        flex-direction: column-reverse !important;
        text-align: center;
    }

    .hero-carousel-wrapper {
        max-width: 500px;
        margin: 40px auto 0;
        height: 450px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-info-bar {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-carousel-wrapper {
        height: 350px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}