/* ===============================================
   PREMIUM WHY CHOOSE US - MOUNTAIN & GLASS
   =============================================== */

.why-us-enhanced {
    padding: 20px 0 60px 0;
    /* Reduced top padding from 60px to 20px */
    /* Mountain Background with Parallax effect */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('../../assets/images/imagenes _principales_hero/turismo_solidario_principal/turimo_solidario.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.why-us-enhanced::before,
.why-us-enhanced::after {
    display: none !important;
}

/* Section Header Styling */
.why-us-enhanced .section-header-enhanced {
    margin-bottom: 50px;
    z-index: 2;
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.why-us-enhanced .section-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.why-us-enhanced .section-badge.green {
    background: var(--gradient-primary);
    border: none;
    backdrop-filter: none;
}

.why-us-enhanced h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.why-us-enhanced .section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Carousel Layout */
.why-us-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    /* Hide overflow */
    z-index: 2;
}

.why-us-carousel-track {
    display: flex;
    transition: transform 0.5s ease-out;
    cursor: grab;
    width: 100%;
}

.why-us-carousel-track:active {
    cursor: grabbing;
}

.why-us-carousel-item {
    flex: 0 0 100%;
    /* Default mobile: 1 item per view */
    padding: 15px;
    box-sizing: border-box;
}

/* Premium Card - Glassmorphism */
.feature-card-premium {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    user-select: none;
    /* Prevent text selection while dragging */
}

/* Icon Styling */
.feature-icon-wrapper {
    margin-bottom: 25px;
}

.feature-icon-premium {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.feature-card-premium:hover .feature-icon-premium {
    transform: scale(1.1) rotate(5deg);
}

/* Text Content */
.feature-card-premium h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.feature-card-premium p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* List Items */
.feature-details-list {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-detail-item i {
    color: #4cd137;
    background: rgba(255, 255, 255, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Controls */
.why-us-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-control:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.why-us-control.prev {
    left: 10px;
}

.why-us-control.next {
    right: 10px;
}

/* Dots */
.why-us-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.why-us-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-us-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsive */
@media (min-width: 768px) {
    .why-us-carousel-item {
        flex: 0 0 50%;
        /* Tablet: 2 items */
    }
}

@media (min-width: 1024px) {
    .why-us-carousel-wrapper {
        overflow: visible;
        /* Allow items to wrap */
        padding: 0 20px;
    }

    .why-us-carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        transform: none !important;
        /* Force disable transform */
        width: 100%;
    }

    .why-us-carousel-item {
        flex: none;
        /* Disable flex sizing */
        padding: 0;
        /* Remove carousel padding */
        width: auto;
    }

    .why-us-dots {
        display: none !important;
    }

    .why-us-control {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .why-us-enhanced h2 {
        font-size: 2rem;
    }

    .why-us-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}