/* 🎨 متغيرات الألوان والخطوط */
:root {
    --primary-color: #1a472a;
    --secondary-color: #2e7d32;
    --accent-color: #4caf50;
    --dark-color: #0d3016;
    --light-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 🔄 التنسيقات العامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

body[dir="ltr"] {
    direction: ltr;
    text-align: left;
    font-family: 'Cairo', sans-serif;
}

body[dir="ltr"] .section-header h2::after {
    right: auto;
    left: 0;
}

body[dir="ltr"] .navbar-nav .nav-link::after {
    right: auto;
    left: 1rem;
}

body[dir="ltr"] .product-features li {
    padding-right: 0;
    padding-left: 1.5rem;
    text-align: left;
}

body[dir="ltr"] .product-features li::before {
    right: auto;
    left: 0;
}

body[dir="ltr"] .contact-details {
    text-align: left;
}

body[dir="ltr"] .footer-contact p,
body[dir="ltr"] .footer-links {
    text-align: left;
}

body[dir="ltr"] .language-switcher {
    margin-left: 0;
    margin-right: auto;
}

body[dir="ltr"] .slider-control.prev {
    right: auto;
    left: 20px;
}

body[dir="ltr"] .slider-control.next {
    left: auto;
    right: 20px;
}

body[dir="ltr"] .slider-control i {
    transform: rotate(180deg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header .lead {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 🔝 شريط التنقل */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    border-radius: 6px;
    padding: 4px;
    background: white;
    border: 2px solid var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

/* زر تبديل اللغة */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
    border-right: 1px solid var(--border-color);
    padding-right: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 70px;
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 0 0.3rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0.8rem;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 1.6rem);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(76, 175, 80, 0.05);
}

/* 🌟 القسم الرئيسي - مع صورة cover.webp كخلفية */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/cover.webp') center/cover no-repeat;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 1.05rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.9rem 2rem;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-success {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
}

.btn-success:hover {
    background: #1DA851;
    border-color: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* 🏢 قسم عن الشركة */
.about-content {
    margin-bottom: 2rem;
}

.vision-box,
.mission-box,
.values-box {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--accent-color);
    transition: var(--transition);
}

.vision-box:hover,
.mission-box:hover,
.values-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.vision-box h3,
.mission-box h3,
.values-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
}

.vision-box h3 i,
.mission-box h3 i,
.values-box h3 i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.vision-box p,
.mission-box p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.value-tag {
    background: rgba(76, 175, 80, 0.1);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: var(--transition);
}

.value-tag:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.company-info {
    background: rgba(26, 71, 42, 0.04);
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 3px solid var(--accent-color);
}

.company-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.2rem;
}

.company-info h4 i {
    color: var(--accent-color);
}

.company-details {
    list-style: none;
    padding: 0;
}

.company-details li {
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
}

.company-details li strong {
    color: var(--primary-color);
    min-width: 120px;
}

.company-details li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 💼 قسم المنتجات */
.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.2rem;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    text-align: right;
}

.product-features li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border-color);
    position: relative;
    padding-right: 1.8rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.product-features li:last-child {
    border-bottom: none;
}

/* ============================================= */
/* معرض الصور - تصميم جديد */
/* ============================================= */

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
}

.gallery-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
}

.gallery-subtitle {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-light);
}

.main-slide {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px 20px 20px;
    text-align: center;
    color: white;
}

.slide-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.slide-desc {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* تجاوب مع الشاشات */
@media (max-width: 768px) {
    .main-slide {
        height: 400px;
    }
    
    .thumbnail {
        width: 100px;
        height: 70px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-slide {
        height: 300px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .gallery-container {
        padding: 25px 15px;
    }
}

/* تحميل الصور */
.slide img.loading {
    opacity: 0;
}

.slide img.loaded {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 📞 قسم الاتصال */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-details p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.2);
}

/* 📞 زر الاتصال العائم */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.main-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

.options-menu {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 190px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.7rem;
    display: none;
    border: 1px solid var(--border-color);
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.option-item:last-child {
    margin-bottom: 0;
}

.option-item.call {
    background: rgba(26, 71, 42, 0.08);
    color: var(--primary-color);
}

.option-item.whatsapp {
    background: rgba(37, 211, 102, 0.08);
    color: #25D366;
}

.option-item:hover {
    transform: translateX(-5px);
    background: rgba(76, 175, 80, 0.1);
}

/* 🦶 التذييل */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding-top: 4rem;
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    font-size: 1.6rem;
}

.footer-desc {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    font-size: 1.2rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.85;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-right: 0.7rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.85;
    font-size: 1.05rem;
}

.footer-contact i {
    color: var(--accent-color);
    width: 22px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    margin-top: 4rem;
}

.copyright {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

/* ⚙️ تأثيرات الظهور */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 📱 التجاوب مع الشاشات */
@media (max-width: 992px) {
    .language-switcher {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .gallery-slider {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .language-switcher {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section {
        padding: 120px 0 80px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .slider-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slider-control.prev {
        right: 10px;
    }
    
    .slider-control.next {
        left: 10px;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 1.8rem;
    }
    
    .company-details li {
        flex-direction: column;
    }
    
    .company-details li strong {
        min-width: auto;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 576px) {
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .vision-box,
    .mission-box,
    .values-box {
        padding: 1.5rem;
    }
    
    .product-card {
        padding: 1.8rem;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .floating-cta {
        bottom: 1rem;
        left: 1rem;
    }
    
    .main-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

/* تعديلات إضافية لتحسين التصميم */
body[dir="ltr"] .value-tag {
    margin-right: 0.5rem;
    margin-left: 0;
}

body[dir="ltr"] .gallery-slide {
    direction: ltr;
}

/* صورة بديلة إذا لم توجد cover.webp */
.hero-section:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.3) 0%, rgba(13, 48, 22, 0.95) 100%);
    z-index: 1;
}

/* تحسين ظهور النص على الصورة */
.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* تأثيرات تحميل الصور */
img.loaded {
    animation: fadeIn 0.5s ease;
}

/* تحسين شريط التمرير */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* تحسينات للعرض على الأجهزة التي تدعم اللمس */
@media (hover: none) and (pointer: coarse) {
    .slider-control {
        opacity: 1 !important;
        background: rgba(255, 255, 255, 0.8);
    }
}