/* AR TMC Slider v4.4 (Advanced Responsive Standards & Ken Burns) */
.artmc-slider-wrapper { position: relative; width: 100%; direction: ltr; overflow: hidden; }
.artmc-slider-wrapper[dir="rtl"] { direction: rtl; }

.artmc-swiper-container { 
    width: 100%; 
    position: relative; 
    --artmc-arrow-h: 20px; 
    --artmc-arrow-v: 50%; 
}

.artmc-slide-item { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background: #000; 
}

/* Layer 0: Media */
.artmc-media-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 0; 
    overflow: hidden;
}
.artmc-video-wrap, .artmc-bg-img {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0;
}
.artmc-bg-img { background-size: cover; background-position: center; transition: transform 0.5s ease-out; }
.artmc-video-wrap iframe, .artmc-video-wrap video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 177.77vh; height: 56.25vw; min-width: 100%; min-height: 100%; object-fit: cover;
    pointer-events: none;
}

/* KEN BURNS ANIMATION */
@keyframes artmcKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}
.artmc-ken-burns .swiper-slide-active .artmc-bg-img {
    animation: artmcKenBurns 20s linear infinite alternate;
}

/* Layer 1: Overlay */
.artmc-overlay-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 5; 
    pointer-events: none; 
}

/* Layer 2: Split Background */
.artmc-split-bg { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 6; display: none; pointer-events: none; }
.layout-split_left .artmc-split-bg { right: 0; display: block; background: #222; }
.layout-split_right .artmc-split-bg { left: 0; display: block; background: #222; }
[dir="rtl"] .layout-split_left .artmc-split-bg { left: 0; right: auto; }
[dir="rtl"] .layout-split_right .artmc-split-bg { right: 0; left: auto; }

/* Layer 10: Content */
.artmc-content-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 10; 
    display: flex; align-items: center; justify-content: center; 
    pointer-events: none; 
}
.artmc-content-inner { 
    width: 100%; max-width: 1140px; padding: 30px; position: relative; 
    text-align: center; pointer-events: none; 
}
.artmc-title, .artmc-sub { pointer-events: none; margin-bottom: 15px; } 
.artmc-title { font-size: 3rem; font-weight: 700; color: #fff; line-height: 1.2; }
.artmc-sub { font-size: 1.2rem; opacity: 0.9; color: #f1f1f1; }

/* Layer 100: Interactive Elements */
.artmc-btn-wrap { display: block; margin-top: 20px; pointer-events: auto !important; position: relative; z-index: 100; }
.artmc-btn { display: inline-block; padding: 12px 30px; background: #fff; color: #000; text-decoration: none; border-radius: 4px; font-weight: bold; transition: 0.3s; }
.artmc-btn:hover { opacity: 0.9; }

.artmc-full-link { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    z-index: 20; cursor: pointer; display: block; background: transparent;
}

/* Layout Positions */
.layout-split_left .artmc-media-layer { width: 50%; left: 0; }
.layout-split_left .artmc-content-layer { width: 50%; left: 50%; justify-content: center; }
[dir="rtl"] .layout-split_left .artmc-media-layer { right: 0; left: auto; }
[dir="rtl"] .layout-split_left .artmc-content-layer { right: 50%; left: auto; }

.layout-split_right .artmc-media-layer { width: 50%; right: 0; left: auto; }
.layout-split_right .artmc-content-layer { width: 50%; right: 50%; left: auto; justify-content: center; }
[dir="rtl"] .layout-split_right .artmc-media-layer { left: 0; right: auto; }
[dir="rtl"] .layout-split_right .artmc-content-layer { left: 50%; right: auto; }

/* Navigation */
.artmc-arrow { 
    position: absolute !important; top: var(--artmc-arrow-v) !important; transform: translateY(-50%) !important; 
    z-index: 200 !important; cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%;
    transition: all 0.3s ease;
}
.artmc-arrow-start { left: var(--artmc-arrow-h) !important; right: auto !important; }
.artmc-arrow-end { right: var(--artmc-arrow-h) !important; left: auto !important; }
[dir="rtl"] .artmc-arrow-start { right: var(--artmc-arrow-h) !important; left: auto !important; }
[dir="rtl"] .artmc-arrow-end { left: var(--artmc-arrow-h) !important; right: auto !important; }

/* Pagination */
.swiper-pagination { 
    position: absolute !important; bottom: 20px !important; left: 0 !important;
    width: 100% !important; z-index: 200 !important; text-align: center !important; pointer-events: auto !important;
}
.swiper-pagination-bullet { display: inline-block !important; margin: 0 6px !important; border-radius: 50% !important; transition: 0.3s; opacity: 0.5; background: #fff; }
.swiper-pagination-bullet-active { opacity: 1 !important; }


/* =========================================================
   STANDARD RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================= */

/* Tablet (Max 1024px) */
@media (max-width: 1024px) {
    .artmc-title { font-size: 2.5rem; }
}

/* Mobile (Max 767px) */
@media (max-width: 767px) {
    /* 1. Typography & Spacing Optimization */
    .artmc-content-inner { padding: 15px 20px; }
    .artmc-title { font-size: 1.8rem; margin-bottom: 10px; }
    .artmc-sub { font-size: 1rem; margin-bottom: 15px; }
    .artmc-btn { padding: 10px 20px; font-size: 0.9rem; }
    
    /* 2. Navigation Scaling (Smaller Arrows on Mobile) */
    .artmc-arrow { width: 35px !important; height: 35px !important; }
    .artmc-arrow i, .artmc-arrow svg { font-size: 16px !important; width: 16px !important; }
    
    /* 3. Split Layout Stacking (Vertical on Mobile instead of 50% width) */
    .layout-split_left .artmc-media-layer, .layout-split_right .artmc-media-layer { 
        width: 100%; height: 50%; top: 0; left: 0; right: 0; 
    }
    .layout-split_left .artmc-content-layer, .layout-split_right .artmc-content-layer { 
        width: 100%; height: 50%; top: 50%; left: 0; right: 0; 
    }
    .layout-split_left .artmc-split-bg, .layout-split_right .artmc-split-bg { 
        width: 100%; height: 50%; top: 50%; left: 0; right: 0; 
    }
}

/* Custom premium enhancements for arrows, opacity, font, and text shadows */
.artmc-title {
    font-family: 'Cairo', sans-serif !important;
}
.artmc-sub, .artmc-btn, .artmc-content-inner {
    font-family: 'Tajawal', sans-serif !important;
}
.artmc-title {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0, 0, 0, 0.5) !important;
}
.artmc-sub {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8) !important;
}

/* Lighten the background images (making them less dark) */
.artmc-overlay-layer {
    opacity: 0.7 !important; /* Caps the custom overlay opacity so the background images appear lighter */
}
.artmc-mag-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%) !important;
}

/* Make Swiper navigation arrows larger, prominent and beautifully gold-accented on hover */
.artmc-arrow {
    width: 60px !important;
    height: 60px !important;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.artmc-arrow:hover {
    background: #c5a95b !important; /* Elegant gold/brass hover color */
    color: #fff !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: #c5a95b !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}
.artmc-arrow i, .artmc-arrow svg {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

/* Clear arrow position adjustments */
.artmc-arrow-start { left: 30px !important; }
.artmc-arrow-end { right: 30px !important; }
[dir="rtl"] .artmc-arrow-start { right: 30px !important; left: auto !important; }
[dir="rtl"] .artmc-arrow-end { left: 30px !important; right: auto !important; }

/* Scale down slightly on mobile for responsiveness */
@media (max-width: 767px) {
    .artmc-arrow {
        width: 40px !important;
        height: 40px !important;
        background: rgba(0,0,0,0.5) !important;
    }
    .artmc-arrow i, .artmc-arrow svg {
        font-size: 18px !important;
        width: 18px !important;
        height: 18px !important;
    }
    .artmc-arrow-start { left: 15px !important; }
    .artmc-arrow-end { right: 15px !important; }
    [dir="rtl"] .artmc-arrow-start { right: 15px !important; left: auto !important; }
    [dir="rtl"] .artmc-arrow-end { left: 15px !important; right: auto !important; }
}

/* Fix RTL flipped chevron icons */
[dir="rtl"] .artmc-arrow i,
[dir="rtl"] .artmc-arrow svg {
    display: inline-block !important;
    transform: rotate(180deg) !important;
}
