/* =============================================
   Lite Slider — Premium Design
   Developer: Youssry Shaheen | يسري شاهين
   Version: 2.0.3
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Naskh+Arabic:wght@400;600;700;800&display=swap');

/* ===== SLIDER WRAPPER ===== */
.lite-slider {
    --ls-olive:      #2D2B16;
    --ls-olive-d:    #24220F;
    --ls-olive-mid:  #35311A;
    --ls-gold:       #F2BE42;
    --ls-gold-light: #FFE08A;
    --ls-gold-dark:  #C68716;
    --ls-gold-deep:  #8D5A08;
    --ls-black:      #111111;
    --ls-white:      #FFFFFF;

    position: relative;
    width: 100%;
    overflow: hidden;
    direction: ltr;
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    background:
        radial-gradient(circle at 18% 32%, rgba(242,190,66,.14), transparent 28%),
        linear-gradient(135deg, rgba(255,224,138,.03), rgba(198,135,22,.02)),
        repeating-linear-gradient(-45deg, transparent, transparent 28px, rgba(242,190,66,.05) 28px, rgba(242,190,66,.05) 30px),
        linear-gradient(90deg, #24220F 0%, #2D2B16 38%, #35311A 100%);
}

.lite-slider.ls-rtl { direction: rtl; }

.lite-slider::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--ls-gold-dark), var(--ls-gold-light), var(--ls-gold-dark));
    z-index: 20;
    pointer-events: none;
}

/* ===== TRACK ===== */
.ls-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(.77,0,.18,1);
    will-change: transform;
}

/* ===== SLIDE ===== */
.ls-slide {
    min-width: 100%;
    height: 540px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ===== IMAGE ===== */
.ls-img-side {
    position: absolute;
    top: 0; right: 0;
    width: 52%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ls-rtl .ls-img-side {
    right: auto;
    left: 0;
}

.ls-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s ease;
}

.ls-slide.ls-active .ls-img-side img {
    transform: scale(1.05);
}

/* Soft olive feather between image and content */
.ls-img-side::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 0;
    width: 175px;
    background: linear-gradient(to right, rgba(45,43,22,.98), rgba(45,43,22,.82), rgba(45,43,22,0));
    z-index: 2;
    pointer-events: none;
}

/* Premium gold divider */
.ls-img-side::after {
    content: '';
    position: absolute;
    top: 9%;
    bottom: 9%;
    left: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(255,224,138,0),
        rgba(255,224,138,.82) 18%,
        rgba(242,190,66,1) 50%,
        rgba(255,224,138,.82) 82%,
        rgba(255,224,138,0)
    );
    box-shadow:
        0 0 10px rgba(242,190,66,.45),
        0 0 24px rgba(242,190,66,.24),
        0 0 42px rgba(255,224,138,.14);
    z-index: 3;
    pointer-events: none;
}

.ls-rtl .ls-img-side::before {
    left: auto;
    right: 0;
    background: linear-gradient(to left, rgba(45,43,22,.98), rgba(45,43,22,.82), rgba(45,43,22,0));
}

.ls-rtl .ls-img-side::after {
    left: auto;
    right: 0;
}

.ls-slide[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.ls-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to left,
        rgba(45,43,22,0.0) 38%,
        rgba(45,43,22,0.72) 62%,
        rgba(45,43,22,0.95) 100%
    ) !important;
}

.ls-rtl .ls-overlay {
    background: linear-gradient(
        to right,
        rgba(45,43,22,0.0) 38%,
        rgba(45,43,22,0.72) 62%,
        rgba(45,43,22,0.95) 100%
    ) !important;
}

/* ===== CONTENT ===== */
.ls-content {
    position: relative;
    z-index: 4;
    max-width: 48%;
    width: 48%;
    color: var(--ls-gold);
    text-align: left;
    padding: 0 50px 0 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ls-rtl .ls-content {
    text-align: right;
    padding: 0 90px 0 50px;
    align-items: flex-end;
}

.ls-content::before {
    content: '';
    position: absolute;
    left: 65px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 160px;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(255,224,138,0), rgba(255,224,138,.95) 20%, rgba(242,190,66,1) 50%, rgba(255,224,138,.95) 80%, rgba(255,224,138,0));
    box-shadow: 0 0 16px rgba(242,190,66,.34);
    opacity: .92;
}

.ls-rtl .ls-content::before {
    left: auto;
    right: 65px;
}

/* Badge */
.ls-badge {
    display: inline-block;
    background: linear-gradient(135deg, #C68716 0%, #F2BE42 45%, #FFE08A 100%);
    color: var(--ls-black);
    font-size: 13px;
    font-weight: 800;
    padding: 7px 20px;
    border-radius: 40px;
    margin-bottom: 18px;
    font-family: 'Noto Naskh Arabic', serif;
    letter-spacing: .4px;
    box-shadow: 0 6px 18px rgba(242,190,66,.18);
}

/* Premium mirror-gold shine text */
.ls-title,
.ls-subtitle,
.ls-desc {
    background-image: linear-gradient(
        120deg,
        #8D5A08 0%,
        #C68716 10%,
        #F2BE42 22%,
        #FFF1AE 30%,
        #F7C94B 38%,
        #B87611 48%,
        #FFF2B8 58%,
        #F2BE42 68%,
        #C68716 82%,
        #8D5A08 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: ls-gold-shine 5.8s linear infinite;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
}

/* Title */
.ls-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.05;
    letter-spacing: .2px;
    max-width: 640px;
}

/* Subtitle */
.ls-subtitle {
    font-family: 'Amiri', serif;
    font-size: clamp(1.8rem, 3.1vw, 2.7rem);
    font-weight: 700;
    font-style: italic;
    margin: 0 0 16px;
    line-height: 1.16;
    max-width: 620px;
    animation-duration: 6.2s;
}

/* Description */
.ls-desc {
    font-size: clamp(1.05rem, 1.55vw, 1.28rem);
    line-height: 1.9;
    margin: 0 0 34px;
    font-family: 'Noto Naskh Arabic', serif;
    max-width: 560px;
    opacity: .98;
    animation-duration: 6.8s;
}

/* CTA Button */
.ls-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    background: linear-gradient(135deg, #C68716 0%, #F2BE42 30%, #FFE08A 52%, #F2BE42 72%, #C68716 100%);
    color: var(--ls-black) !important;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Noto Naskh Arabic', serif;
    text-decoration: none;
    border: 2px solid #F8CF63;
    box-shadow: 0 6px 24px rgba(242,190,66,.30);
    transition: background .25s, transform .22s, box-shadow .25s;
}

.ls-btn:hover {
    background: linear-gradient(135deg, #E0A524 0%, #FFD45B 42%, #FFF0A8 55%, #FFD45B 72%, #D69618 100%);
    border-color: #FFE08A;
    color: var(--ls-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,208,83,.40);
}

/* ===== CONTENT ANIMATIONS ===== */
.ls-slide .ls-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}

.ls-slide.ls-active .ls-animate           { opacity: 1; transform: translateY(0); }
.ls-slide.ls-active .ls-badge             { transition-delay: .05s; }
.ls-slide.ls-active .ls-title             { transition-delay: .15s; }
.ls-slide.ls-active .ls-subtitle          { transition-delay: .25s; }
.ls-slide.ls-active .ls-desc              { transition-delay: .32s; }
.ls-slide.ls-active .ls-btn               { transition-delay: .4s;  }

@keyframes ls-gold-shine {
    0%   { background-position: 200% center; }
    100% { background-position: -20% center; }
}

/* ===== FADE MODE ===== */
.lite-slider.ls-fade .ls-track { display: block; transition: none; }

.lite-slider.ls-fade .ls-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    min-width: 100%;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
}

.lite-slider.ls-fade .ls-slide.ls-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* ===== ARROWS ===== */
.ls-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(45,43,22,.82);
    border: 2px solid rgba(242,190,66,.72);
    border-radius: 50%;
    width: 46px; height: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ls-gold);
    backdrop-filter: blur(6px);
    transition: background .2s, border-color .2s, color .2s, transform .2s;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(255,224,138,.15), 0 0 20px rgba(242,190,66,.12);
}

.ls-arrow:hover {
    background: var(--ls-gold);
    border-color: var(--ls-gold-light);
    color: var(--ls-black);
    transform: translateY(-50%) scale(1.1);
}

.ls-arrow svg { width: 20px; height: 20px; display: block; }

.ls-prev { left: 18px; }
.ls-next { right: 18px; }
.ls-rtl .ls-prev { left: auto; right: 18px; }
.ls-rtl .ls-next { right: auto; left: 18px; }

/* ===== DOTS ===== */
.ls-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.ls-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(242,190,66,.68);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s, border-color .25s, box-shadow .25s;
}

.ls-dot.active {
    background: linear-gradient(135deg, #C68716 0%, #F2BE42 40%, #FFE08A 100%);
    border-color: var(--ls-gold-light);
    transform: scale(1.35);
    box-shadow: 0 0 12px rgba(242,190,66,.28);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ls-slide { height: 420px; }

    .ls-img-side {
        width: 100%;
        right: 0; left: 0;
        opacity: .22;
    }

    .ls-img-side::before,
    .ls-img-side::after,
    .ls-content::before { display: none; }

    .ls-overlay {
        background: rgba(45,43,22,.82) !important;
    }

    .ls-content {
        max-width: 100%;
        width: 100%;
        text-align: center;
        padding: 0 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ls-rtl .ls-content {
        padding: 0 32px;
        align-items: center;
        text-align: center;
    }

    .ls-title, .ls-subtitle, .ls-desc {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ls-slide { height: 360px; }
    .ls-content { padding: 0 18px; }
    .ls-arrow { width: 38px; height: 38px; }
    .ls-arrow svg { width: 16px; height: 16px; }
    .ls-title { font-size: 2rem; }
    .ls-subtitle { font-size: 1.45rem; }
    .ls-desc { font-size: .95rem; line-height: 1.75; }
    .ls-btn { font-size: 1rem; padding: 12px 28px; }
}

/* ===== ADMIN ===== */
.ls-footer-credit { margin-top: 30px; color: #666; font-size: 13px; }
.ls-footer-credit a { color: #2271b1; text-decoration: none; }
.ls-footer-credit a:hover { text-decoration: underline; }
