/* ==========================================================================
   ALJANIA HERO SLIDER WIDGET - FRONTEND & EDITOR CSS
   ========================================================================== */

.aljania-slider-wrapper-inner {
    width: 100%;
    position: relative;
}

.aljania-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
}

/* Full Width 100vw Breakout Trick (Borde a Borde Automático) */
.aljania-slider-container.width-mode-full_width {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
}

/* Height Modes */
.aljania-slider-container.height-mode-fullscreen {
    height: 88vh;
    min-height: 550px;
}

.aljania-slider-container.height-mode-auto {
    height: auto;
    min-height: 500px;
}

.aljania-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slide Base */
.aljania-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Background Image & Ken Burns */
.aljania-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 1.2s ease-out;
}

.aljania-slide-bg.kenburns-active {
    animation: kenburnsZoom 16s infinite alternate ease-in-out;
}

@keyframes kenburnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15) translate(-1%, -1%); }
}

/* Overlay Masks */
.aljania-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.overlay-dark_gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(0, 0, 0, 0.65) 100%);
}

.overlay-soft_tint {
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.overlay-vignette {
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.aljania-slide-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Slide Content Container & Matrix Positioning */
.aljania-slide-content-container {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1350px;
    height: 100%;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    box-sizing: border-box;
}

.aljania-slide.pos-center_left .aljania-slide-content-container {
    align-items: center;
    justify-content: flex-start;
}

.aljania-slide.pos-center_center .aljania-slide-content-container {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.aljania-slide.pos-top_left .aljania-slide-content-container {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 80px;
}

.aljania-slide.pos-bottom_left .aljania-slide-content-container {
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 80px;
}

.aljania-slide-content-box {
    max-width: 680px;
    color: #ffffff;
    animation: fadeInUpContent 0.8s ease forwards;
}

@keyframes fadeInUpContent {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badges */
.aljania-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffe0b2;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.aljania-slide-badge .badge-icon i {
    color: #1b5e20;
    font-size: 0.95rem;
}

/* Titles & Descriptions */
.aljania-slide-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px 0;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.aljania-slide-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f1f5f9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Button Models */
.aljania-slide-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.aljania-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-style-solid_orange {
    background: #1b5e20;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(230, 92, 0, 0.4);
}

.btn-style-solid_orange:hover {
    background: #cc5200;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 92, 0, 0.55);
}

.btn-style-glassmorphism {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-style-glassmorphism:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-style-neon_glow {
    background: #ffffff;
    color: #1b5e20 !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.btn-style-neon_glow:hover {
    background: #e8f5e9;
    transform: translateY(-3px) scale(1.03);
}

/* Arrow Models */
.aljania-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ffffff;
}

.aljania-arrow::after {
    display: none !important;
}

.arrow-model-glass .aljania-arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.arrow-model-glass .aljania-arrow:hover {
    background: #1b5e20;
    border-color: #1b5e20;
    transform: scale(1.12);
}

.arrow-model-paw_badges .aljania-arrow {
    background: #ffffff;
    color: #1b5e20;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.arrow-model-paw_badges .aljania-arrow:hover {
    background: #1b5e20;
    color: #ffffff;
    transform: scale(1.15) rotate(15deg);
}

/* Pagination Models */
.aljania-pagination {
    bottom: 25px !important;
    z-index: 10;
}

.pagination-model-pill_expanding .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ffffff;
    opacity: 0.5;
    border-radius: 20px;
    transition: all 0.35s ease;
}

.pagination-model-pill_expanding .swiper-pagination-bullet-active {
    width: 38px;
    opacity: 1;
    background: #1b5e20;
    box-shadow: 0 0 12px rgba(230, 92, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .aljania-slide-title {
        font-size: 2.2rem;
    }
    .aljania-slide-desc {
        font-size: 0.98rem;
    }
    .aljania-arrow {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 600px) {
    .aljania-slide-title {
        font-size: 1.7rem;
    }
    .aljania-btn {
        padding: 11px 22px;
        font-size: 0.85rem;
    }
}
