/* ==============================================
   AHMED PAPER DECORATIONS
   Hero Slider - Perfect Fit For All Screens
   ============================================== */

/* ==========================================
   HERO SLIDER WRAPPER - Aspect Ratio Based
   ========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    max-height: 640px;
    overflow: hidden;
    background: #FFFFFF;
}

/* ==========================================
   SLIDER TRACK
   ========================================== */
.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

/* ==========================================
   SLIDE IMAGE - Full Fill, No Gap
   ========================================== */
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    transform: scale(1);
    transition: transform 6s ease;
}

.hero-slide.is-active .hero-slide-image {
    transform: scale(1);
}

/* ==========================================
   SLIDE OVERLAY
   ========================================== */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ==========================================
   SLIDE CONTENT
   ========================================== */
.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--container-2xl);
    padding: 0 var(--space-8);
    text-align: center;
    z-index: 3;
}

.hero-slide-inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero-slide-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-gold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-full);
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.3s;
}

.hero-slide-title {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-4);
    letter-spacing: var(--ls-tight);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.45s;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-slide-title span {
    color: var(--color-gold);
    font-style: italic;
}

.hero-slide-description {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin-bottom: var(--space-6);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.6s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slide-button {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease 0.75s;
    display: inline-block;
}

.hero-slide.is-active .hero-slide-subtitle,
.hero-slide.is-active .hero-slide-title,
.hero-slide.is-active .hero-slide-description,
.hero-slide.is-active .hero-slide-button {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   ARROWS
   ========================================== */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-md);
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.hero-slider-arrow:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-arrow-prev { left: var(--space-6); }
.hero-slider-arrow-next { right: var(--space-6); }

/* ==========================================
   DOTS
   ========================================== */
.hero-slider-dots {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
}

.hero-slider-dot {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.hero-slider-dot.is-active {
    background: var(--color-gold);
    width: 55px;
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold, #D4AF37);
    z-index: 10;
    transition: width 0.1s linear;
}

/* ==========================================
   RESPONSIVE - TEXT SCALING ONLY
   (Height auto-adjusts via aspect-ratio)
   ========================================== */

@media (max-width: 1199px) {
    .hero-slide-title {
        font-size: var(--fs-4xl);
    }
}

@media (max-width: 991px) {
    .hero-slide-title {
        font-size: var(--fs-3xl);
    }
    .hero-slide-description {
        font-size: var(--fs-sm);
    }
    .hero-slider-arrow {
        width: 44px;
        height: 44px;
    }
    .hero-slider-arrow-prev { left: var(--space-3); }
    .hero-slider-arrow-next { right: var(--space-3); }
}

@media (max-width: 767px) {
    .hero-slide-content {
        padding: 0 var(--space-4);
    }
    .hero-slide-subtitle {
        font-size: var(--fs-xs);
        padding: 4px 12px;
        margin-bottom: var(--space-2);
    }
    .hero-slide-title {
        font-size: var(--fs-2xl);
        margin-bottom: var(--space-2);
    }
    .hero-slide-description {
        font-size: var(--fs-sm);
        margin-bottom: var(--space-4);
    }
    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: var(--fs-sm);
        background: rgba(0, 0, 0, 0.55);
    }
    .hero-slider-arrow-prev { left: var(--space-2); }
    .hero-slider-arrow-next { right: var(--space-2); }
    .hero-slider-dots {
        bottom: var(--space-3);
    }
    .hero-slider-dot {
        width: 22px;
        height: 3px;
    }
    .hero-slider-dot.is-active {
        width: 36px;
    }
}

@media (max-width: 575px) {
    .hero-slide-title {
        font-size: var(--fs-xl);
    }
    .hero-slide-description {
        font-size: var(--fs-xs);
    }
    .hero-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .hero-slider-dots {
        bottom: var(--space-2);
        gap: 4px;
    }
    .hero-slider-dot {
        width: 18px;
    }
    .hero-slider-dot.is-active {
        width: 28px;
    }
}

@media (max-width: 400px) {
    .hero-slide-title {
        font-size: var(--fs-lg);
    }
    .hero-slider-arrow {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}