/*
==========================================================================
A+Co ASC - Slider Text & Header Fix (v2 - Simplified)
Bu fayl modern-aplusco-styles.css-dən SONRA yüklənməlidir
==========================================================================

PROBLEMLƏR:
1. Header üstündə artıq boşluq - HƏL OLUNDU
2. Slider mətnləri görünmür - BU FAYLDA HƏL OLUNUR

SƏBƏB: modern-aplusco-styles.css faylında sl-subtitle, sl-title, sl-desc 
       elementlərinə opacity: 0 və animation qoyulub. Animation düzgün 
       işləmir, ona görə mətnlər görünmür.

HƏL: Animasiyaları silmək və mətnləri həmişə görünən etmək.
==========================================================================
*/

/* ========== 1. HEADER BOŞLUQ FIX ========== */
#rs-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.defult-home {
    padding-top: 0 !important;
}

.full-width-header {
    margin-bottom: 0 !important;
}


/* ========== 2. SLIDER MƏTNLƏRİ - HƏMİŞƏ GÖRÜNƏN ========== */

/* Bütün animasiyaları və opacity: 0 silmək */
.botslider .sl-subtitle,
.botslider .sl-title,
.botslider .sl-desc,
.slider-bottom .readon.slide-started {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
}

/* Subtitle stili */
.botslider .sl-subtitle {
    display: inline-block !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e94560;
    background: rgba(233, 69, 96, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

/* Title stili */
.botslider .sl-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Description stili */
.botslider .sl-desc {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 600px;
    margin-bottom: 1.5rem !important;
    line-height: 1.6;
}

/* Button stili */
.slider-bottom .readon.slide-started {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #ffffff !important;
    border-radius: 30px;
    box-shadow: 0 0 40px rgba(233, 69, 96, 0.4);
    border: none;
    text-decoration: none;
}

.slider-bottom .readon.slide-started:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 10px 50px rgba(233, 69, 96, 0.5);
}


/* ========== 3. CAROUSEL CAPTION POZİSİYASI ========== */
#botslider .carousel-caption {
    z-index: 2;
    text-align: left;
    left: 10%;
    right: 10%;
    bottom: auto !important;
    top: 50%;
    transform: translateY(-50%);
}

/* Carousel item */
#botslider .carousel-item {
    height: 85vh;
    min-height: 600px;
}

#botslider .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Overlay gradient */
#botslider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.85) 0%, 
        rgba(15, 52, 96, 0.7) 50%,
        rgba(233, 69, 96, 0.3) 100%);
    z-index: 1;
}


/* ========== 4. MOBILE RESPONSIVE ========== */
@media (max-width: 991px) {
    #botslider .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .botslider .sl-title {
        font-size: 2rem !important;
    }
    
    .botslider .sl-desc {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 767px) {
    #botslider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .botslider .sl-desc {
        display: none !important;
    }
    
    .botslider .sl-title {
        font-size: 1.75rem !important;
    }
    
    #botslider .carousel-caption {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 575px) {
    #botslider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .botslider .sl-title {
        font-size: 1.5rem !important;
    }
    
    .botslider .sl-subtitle {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.75rem !important;
    }
    
    .slider-bottom .readon.slide-started {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.85rem !important;
    }
}


/* ========== 5. ƏLAVƏ TƏMİZLİK ========== */
/* Bootstrap d-none d-md-block override - mobil üçün də göstər */
#botslider .carousel-caption.d-none {
    display: block !important;
}

@media (max-width: 767px) {
    #botslider .carousel-caption.d-md-block {
        display: block !important;
    }
}