/* ==========================================================================
   MOVEO RENT A CAR - HERO FULL-WIDTH VEHICLE TRANSITION SLIDER
   Aesthetic: Panoramic Full-Width ("A lo Largo"), Ultra-Crisp Automotive Hero
   Matches User's Preferred Reference: Bright, Sharp Focus, Zero Murky Shadow
   ========================================================================== */

.hero-slider-wrap {
    position: relative;
    padding: 15px 0 60px 0;
    min-height: 640px;
    background-color: #0b0c10;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* Container of all slides */
.hero-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

/* Individual Slide (Full Width / A Lo Largo) */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding-top: 15px;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 6;
    pointer-events: none;
}

/* Full-Width Panoramic Background Image (High Resolution, Smooth Rendering) */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.02);
}

/* Clean, Soft Left-Edge Gradient (Text is legible, CAR REMAINS 100% BRIGHT & CLEAR) */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(10, 12, 16, 0.60) 0%, 
        rgba(10, 12, 16, 0.20) 25%, 
        rgba(10, 12, 16, 0.0) 40%, 
        rgba(10, 12, 16, 0.0) 70%,
        rgba(10, 12, 16, 0.20) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Content layer within slide */
.hero-slide-content {
    position: relative;
    z-index: 7;
    width: 100%;
    padding-top: 5px;
    pointer-events: none;
}

/* Left Column Vehicle Information with Glassmorphism Card - Top-Left Compact Alignment */
.hero-slide .hero__text {
    padding: 18px 22px;
    max-width: 440px;
    margin-left: 15px;
    background: rgba(12, 14, 18, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto;
    position: relative;
    z-index: 8;
}

.hero-slide.active .hero__text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
    pointer-events: auto;
}

/* Category & Featured Badge */
.hero__badge-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hero__badge-tag .badge-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #db2d2e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(219, 45, 46, 0.45);
}

.hero__badge-tag .badge-highlight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Title Styling - Compact, High Impact */
.hero-slide .hero__text__title {
    margin-bottom: 12px;
}

.hero-slide .hero__text__title span {
    font-size: 11px;
    color: #ff6b6b;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.hero-slide .hero__text__title h2 {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Price & Year Block */
.hero-slide .hero__price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hero-slide .hero__price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(219, 45, 46, 0.5);
    padding: 4px 12px;
    border-radius: 8px;
}

.hero-slide .hero__price-tag .price-amount {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.hero-slide .hero__price-tag .price-period {
    font-size: 15px;
    font-weight: 700;
    color: #db2d2e;
}

.hero-slide .hero__year-pill {
    background: #ffffff;
    color: #111111;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-slide .hero__km-free {
    color: #2ecc71;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Specs pills row */
.hero__specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.hero__specs-row .spec-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
}

.hero__specs-row .spec-item i {
    color: #db2d2e;
    font-size: 12px;
}

/* Call to action buttons */
.hero-slide .hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 9;
    pointer-events: auto;
}

.hero-slide .hero__actions .primary-btn {
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(219, 45, 46, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.hero-slide .hero__actions .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 45, 46, 0.7);
}

.hero-slide .hero__actions .primary-btn.more-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
    color: #ffffff;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.hero-slide .hero__actions .primary-btn.more-btn:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

/* Content Entrance Animations */
.hero-slide.active .hero__badge-tag {
    animation: heroFadeInUp 0.5s ease-out forwards;
}

.hero-slide.active .hero__text__title {
    animation: heroFadeInUp 0.65s ease-out forwards;
}

.hero-slide.active .hero__price-box {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.hero-slide.active .hero__specs-row {
    animation: heroFadeInUp 0.95s ease-out forwards;
}

.hero-slide.active .hero__actions {
    animation: heroFadeInUp 1.1s ease-out forwards;
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   FLOATING SEARCH FORM (Right Column, stays fixed across transitions)
   ========================================================================== */
.hero-search-wrapper {
    position: relative;
    z-index: 12;
    pointer-events: none; /* Crucial: allows clicks on left-side vehicle card to pass through */
}

.hero-search-wrapper .hero__tab {
    position: relative;
    z-index: 13;
    max-width: 440px;
    margin-left: auto;
    margin-right: 15px;
    pointer-events: auto; /* Re-enables clicks for search card form */
}

.hero-search-wrapper .hero__tab__form {
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   NAVIGATION ARROWS & DOTS
   ========================================================================== */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(14, 16, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    outline: none;
}

.hero-nav-arrow:hover {
    background: #db2d2e;
    border-color: #db2d2e;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(219, 45, 46, 0.6);
}

.hero-nav-arrow.prev {
    left: 15px;
}

.hero-nav-arrow.next {
    right: 15px;
}

/* Pagination Dots */
.hero-dots-wrap {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 15;
}

.hero-dot {
    width: 28px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    padding: 0;
    outline: none;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    width: 50px;
    background: #db2d2e;
    box-shadow: 0 0 12px rgba(219, 45, 46, 0.8);
}

/* Vehicle Counter Pill (Ocultado a solicitud) */
.hero-counter-pill {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .hero-slider-wrap {
        padding: 40px 0 60px 0;
        min-height: auto;
    }

    .hero-slide {
        position: relative;
        min-height: 480px;
        padding-top: 10px;
    }

    .hero-slide .hero__text {
        text-align: center;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 25px;
    }

    .hero-search-wrapper .hero__tab {
        max-width: 100%;
        margin-right: 0;
    }

    .hero__badge-tag,
    .hero-slide .hero__price-box,
    .hero__specs-row,
    .hero-slide .hero__actions {
        justify-content: center;
    }

    .hero-slide .hero__text__title h2 {
        font-size: 30px;
    }

    .hero-nav-arrow {
        display: none;
    }

    .hero-counter-pill {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero-slide .hero__text__title h2 {
        font-size: 26px;
    }

    .hero-slide .hero__price-tag .price-amount {
        font-size: 28px;
    }

    .hero-slide .hero__actions .primary-btn {
        width: 100%;
        justify-content: center;
    }
}
