/* ====================================
   HERO SLIDER - HOME PAGE ONLY
   ==================================== */
.hero-slider {
    background: none;
    animation: none;
    padding: 0;
    position: relative;
    color: var(--white);
    overflow: hidden;
    min-height: 600px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    padding: 20px 0 0;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Slide backgrounds (fallback - inline styles from database take precedence) */
.slide-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide-bg-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Slider content styling */
.hero-slider .hero-content {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    flex-direction: row-reverse;
}

.hero-slider .hero-image {
    flex: 0 0 auto;
    width: 600px;
    height: 600px;
    align-self: flex-end;
}

.hero-slider .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-slider .hero-text {
    flex: 1;
    text-align: left;
    padding-bottom: 80px;
}

.hero-slider h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-slider p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-slider .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-slider .hero-buttons .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider .hero-buttons .btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-home {
    padding: 0;
}

/* Slider Navigation Buttons */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 14px;
    height: 14px;
}

/* ====================================
   RESPONSIVE - HERO SLIDER
   ==================================== */
@media (max-width: 968px) {
    .hero-slider {
        min-height: 550px;
    }
    
    .hero-slider .hero-content {
        gap: 40px;
    }
    
    .hero-slider .hero-image {
        width: 600px;
        height: 600px;
    }
    
    .hero-slider .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .hero-slider h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .hero-text {
        padding-bottom: 60px;
    }
    
    .hero-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .hero-prev {
        left: 15px;
    }
    
    .hero-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 700px;
    }
    
    .hero-slide {
        padding: 40px 0 0;
        min-height: 700px;
    }
    
    .hero-slider .hero-content {
        flex-direction: column;
        gap: 0;
        text-align: center;
        align-items: center;
        position: relative;
        min-height: 700px;
    }
    
    .hero-slider .hero-image {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        height: 500px;
        order: 2;
    }
    
    .hero-slider .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .hero-slider .hero-text {
        text-align: center;
        padding-bottom: 20px;
        order: 1;
        flex-shrink: 0;
        z-index: 2;
        position: relative;
    }
    
    .hero-slider .hero-buttons {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        order: 3;
        justify-content: center;
        width: 90%;
    }
    
    .hero-home .hero-text {
        padding-bottom: 0;
    }
    
    .hero-slider h1 {
        font-size: 2rem;
    }
    
    .hero-slider p {
        font-size: 1.1rem;
    }
    
    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .hero-prev {
        left: 10px;
    }
    
    .hero-next {
        right: 10px;
    }
    
    .hero-slider-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 650px;
    }
    
    .hero-slide {
        min-height: 650px;
    }
    
    .hero-slider .hero-content {
        min-height: 650px;
    }
    
    .hero-slider .hero-image {
        width: 450px;
        height: 450px;
    }
    
    .hero-slider .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .hero-slider h1 {
        font-size: 1.75rem;
    }
    
    .hero-slider p {
        font-size: 1rem;
    }
    
    .hero-slider .hero-buttons {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }
    
    .hero-slider .hero-buttons .btn {
        flex: 1;
        text-align: center;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .hero-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .hero-prev {
        left: 5px;
    }
    
    .hero-next {
        right: 5px;
    }
    
    .hero-slider-dots {
        display: none;
    }
}
