/* ==========================
   HERO IMAGE SLIDER STYLES
   Advanced Full-Page Slider
   ========================== */

/* Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
    cursor: grab;
}

.hero-slider:active {
    cursor: grabbing;
}

/* Slider Wrapper */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider-wrapper.dragging {
    transition: none;
}

/* Individual Slides */
.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

/* Slide Images */
.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

/* Zoom Effect on Hover */
.hero-slide:hover .hero-slide-image {
    transform: scale(1.08);
}

/* Slide Content Overlay */
.hero-slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    z-index: 10;
    max-width: 600px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate(50px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.hero-slide-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.hero-slide-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: #1a2332;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-slide-content .highlight {
    display: block;
    font-size: 3rem;
    color: #fff;
    background: #1a2332;
    padding: 10px 30px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-slide-content .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #1a2332;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.hero-slide-content .cta-button:hover {
    background: #fff;
    color: #1a2332;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    color: #1a2332;
}

.hero-slider-nav:hover {
    background: #EC3028;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slider-nav.prev {
    left: 20px;
}

.hero-slider-nav.next {
    right: 20px;
}

/* Dot Navigation */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.hero-slider-dot.active {
    background: #EC3028;
    border-color: #EC3028;
    width: 40px;
    border-radius: 10px;
}

/* Slide Counter */
.hero-slider-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 20;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
}

.hero-slider-counter .current {
    font-size: 32px;
    color: #EC3028;
}

.hero-slider-counter .divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Loading State */
.hero-slider-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #EC3028;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-slide-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-slide-content .highlight {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-slider {
        height: 450px;
    }
    
    .hero-slide-content {
        right: 5%;
        left: 5%;
        max-width: 90%;
        text-align: center;
    }
    
    .hero-slide-content h2 {
        font-size: 1rem;
    }
    
    .hero-slide-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slide-content .highlight {
        font-size: 1.5rem;
        padding: 8px 20px;
    }
    
    .hero-slider-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .hero-slider-nav.prev {
        left: 10px;
    }
    
    .hero-slider-nav.next {
        right: 10px;
    }
    
    .hero-slider-counter {
        top: 15px;
        left: 15px;
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .hero-slider-counter .current {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-slide-content h1 {
        font-size: 2rem;
    }
    
    .hero-slide-content .highlight {
        font-size: 1.2rem;
        padding: 6px 15px;
    }
    
    .hero-slide-content .cta-button {
        padding: 12px 30px;
        font-size: 12px;
    }
    
    .hero-slider-dots {
        bottom: 15px;
        gap: 10px;
    }
    
    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-slider-dot.active {
        width: 30px;
    }
}

/* Smooth Transitions */
.hero-slide-content * {
    transition: all 0.3s ease;
}

/* Image Overlay for Better Text Readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Active Slide Animation */
.hero-slide.active .hero-slide-content {
    animation: slideInRight 0.8s ease-out;
}
