
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --gold: #c5a059;       
    --dark-bg: #0a0a0a;    
    --card-bg: #151515;    
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}


header.main-header {
    background-color: transparent;
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.logo-text {
    display: flex;
    flex-direction: column; 
    line-height: 1.2;
}


.brand-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
}


.brand-tagline {
    color: var(--gold); 
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
}


.logo-img {
    height: 60px;
    width: 60px;
   object-fit: cover;  
     border-radius: 50%;   
    border: 2px solid #ccc;
}


@media (max-width: 768px) {
    .brand-name { font-size: 1.1rem; }
    .brand-tagline { font-size: 0.65rem; }
    .logo-img { height: 45px; }
}

.navigation a {
    color: var(--white);
    text-decoration: none;
    margin-right: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.navigation a:hover {
    color: var(--gold);
}


.main {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bg-zoom {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1600') no-repeat center center/cover;
    animation: zoomEffect 20s infinite alternate;
    z-index: -2;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: -1;
}

.main-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 30px;
}

.hero-title {
    margin-bottom: 20px;
}

.bronze-text {
    color: var(--gold);
    font-size: 4.5rem;
    font-weight: 800;
    display: block;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--gold);
    color: #000;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--white);
    transition: var(--transition);
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.services-advanced {
    padding: 100px 8%;
    background-color: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

/* ========================================= */
/* شبكة الخدمات 
/* ========================================= */

.luxury-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 20px 0;
}


.luxury-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border: 1px solid rgba(197, 160, 89, 0.2); 
    transition: transform 0.3s ease, border-color 0.3s ease;
}


.luxury-card:hover {
    transform: translateY(-10px);
    border-color: #c5a059;
}


.luxury-card .card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-card:hover .card-bg {
    transform: scale(1.15); 
}


.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid #c5a059;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: 0.4s;
}

.icon-box i {
    color: #c5a059;
    font-size: 1.5rem;
    transition: 0.4s;
}

.luxury-card:hover .icon-box {
    background: #c5a059;
}

.luxury-card:hover .icon-box i {
    color: #000;
}

/* العنوان */
.card-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: transform 0.4s ease;
}


.card-content p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0; 
    opacity: 0;
    margin: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}


.luxury-card:hover .card-content {
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.4) 100%);
    padding-bottom: 30px; 
}

.luxury-card:hover h3 {
    color: #c5a059;
}

.luxury-card:hover p {
    max-height: 100px; 
    opacity: 1;
    transform: translateY(10px);
    margin-top: 5px;
}


@media (max-width: 768px) {
    .luxury-services-grid {
        display: flex; 
        overflow-x: auto; 
        gap: 20px; 
        padding-bottom: 30px; 
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

   
    .luxury-services-grid::-webkit-scrollbar {
        height: 6px;
    }
    .luxury-services-grid::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-radius: 10px;
    }
    .luxury-services-grid::-webkit-scrollbar-thumb {
        background: #c5a059;
        border-radius: 10px;
    }

    .luxury-card {
        flex: 0 0 280px; 
        height: 350px; 
        scroll-snap-align: start; 
    }
    
    
    .card-content {
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.2) 100%);
    }
    .card-content p {
        max-height: 100px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 5px;
    }
}




.projects-gallery {
    padding: 100px 8%;
    background-color: #050505;
}

.gallery-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    height: 400px; 
    border-radius: 4px; 
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
    border: 1px solid rgba(197, 160, 89, 0.1);
}


.gallery-item.tall {
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(197, 160, 89, 0.2) 100%);
    display: flex;
    align-items: flex-end; 
    padding: 30px;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-text .category {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.overlay-text h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.overlay-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* ========================================= */
/* تحويل المجلدات لسلايدر أفقي (النسخة المصححة) */
/* ========================================= */
@media (max-width: 768px) {
    .folders-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        
        
        justify-content: flex-start !important; 
        
        overflow-x: auto !important; 
        gap: 15px !important;
        padding: 20px 5% 40px !important; 
        
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    .folders-grid::-webkit-scrollbar {
        display: none !important;
    }

    .folder-card {
        flex: 0 0 85% !important; 
        max-width: 320px !important;
        scroll-snap-align: center !important; 
        height: auto !important;
        margin: 0 !important; 
    }
}

/* تنسيق قسم التواصل */
.contact-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px; 
}

/* تصميم الكارت الواحد */
.info-card {
    background: #111;
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center; 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: #c5a059;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.15);
}

/* الأيقونة الذهبية */
.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    color: #c5a059;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px; 
    transition: 0.4s ease;
}

.info-card:hover .info-icon {
    background: #c5a059;
    color: #000;
    transform: scale(1.1);
}

/* النصوص */
.info-text h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* تجاوب الموبايل */
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr; 
    }
}


/* ========================================= */
/* 2. الفوتر (تذييل الصفحة) */
/* ========================================= */
.main-footer { 
    background: #050505; 
    padding: 60px 8% 20px; 
    margin: 20px;
    border-top: 1px solid #111;
    direction: rtl; 
}

.footer-grid {
    display: grid; 
    grid-template-columns: 2fr 1.5fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px;
}

.footer-about p { 
    color: #888; 
    margin-top: 15px; 
    max-width: 350px; 
    line-height: 1.6;
}

.footer-links h3, .footer-social h3 {
    color: #fff; 
    margin-bottom: 20px; 
    font-size: 1.2rem; 
    
}

/* الروابط الأفقية بمسافات مريحة للعين */
.footer-links ul { 
    list-style: none; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px 35px; 
    padding: 0;
    
}

.footer-links ul li a { 
    color: #888; 
    text-decoration: none; 
    transition: 0.3s; 
    font-size: 1rem;
    display: inline-block;
}

.footer-links ul li a:hover { 
    color: var(--gold); 
    transform: translateY(-4px); 
}

/* السوشيال ميديا */
.social-btns { display: flex; gap: 12px; }
.social-btns a {
    width: 40px; height: 40px; 
    background: #151515; color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; border: 1px solid #222;
    text-decoration: none; transition: 0.3s; 
    font-size: 1.1rem;
}
.social-btns a:hover { 
    background: var(--gold); 
    color: #000; 
    transform: translateY(-5px); 
}

.footer-bottom {
    text-align: center; 
    padding-top: 20px; 
    border-top: 1px solid #111; 
    color: #555; 
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px;}
    .footer-about p { margin: 15px auto; }
    .footer-links ul, .social-btns { justify-content: center; }
}

/* زرار الواتساب العائم */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-decoration: none; 
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite; 
}

/* تأثير لما الماوس يقف عليه (للكومبيوتر) */
.whatsapp-fixed:hover {
    background: #20b858; 
    transform: scale(1.1) translateY(-5px); 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); 
}

/* كود حركة النبض (Pulse) */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* تظبيط حجمه للموبايل عشان ميزعجش العميل في القراية */
@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}


@media (max-width: 768px) {
    .bronze-text { font-size: 2.5rem; }
    .navigation { display: none; }
    .hero-btns { flex-direction: column; }
    .contact .card { width: 100%; }
}

/* ========================================= */
/* قسم الفيديوهات - التصميم السينمائي المطور (تمرير أفقي) */
/* ========================================= */

.video-gallery {
    padding: 100px 8%;
    background-color: #050505;
}

/* 1. تعديل الشبكة لتصبح شريط تمرير أفقي */
.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    margin-top: 50px;
    padding-bottom: 25px; /* مساحة بالأسفل لشريط التمرير */
    scroll-snap-type: x mandatory; /* وقوف ناعم عند كل كارت */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* لدعم التمرير السلس في الآيفون */
}

/* 2. تجميل شريط التمرير ليناسب ألوان موقعك */
.video-grid::-webkit-scrollbar {
    height: 8px;
}
.video-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}
.video-grid::-webkit-scrollbar-thumb {
    background: var(--gold, #c5a059);
    border-radius: 10px;
}
.video-grid::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* 3. تعديل الكارت ليحافظ على عرضه ولا ينضغط */
.video-card {
    flex: 0 0 320px; /* تثبيت العرض بـ 320 بيكسل */
    scroll-snap-align: start; /* محاذاة الكارت عند التمرير */
    background: var(--card-bg, #111);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition, 0.3s ease);
    cursor: pointer;
}

.video-card:hover {
    border-color: var(--gold, #c5a059);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.15);
}

/* حاوية صورة الغلاف وزر التشغيل */
.video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

/* زر التشغيل (Play Button) */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gold, #c5a059);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    padding-left: 5px;
    transition: var(--transition, 0.3s ease);
    animation: pulse-play 2s infinite;
}

.video-card:hover .play-btn {
    background: #fff;
    color: var(--gold, #c5a059);
    transform: translate(-50%, -50%) scale(1.15);
}

@keyframes pulse-play {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* معلومات الفيديو */
.video-info {
    padding: 25px;
    text-align: right;
}

.video-info h3 {
    color: var(--gold, #c5a059);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================= */
/* النافذة المنبثقة للفيديو (المودال)        */
/* ========================================= */

.video-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.close-video-modal {
    position: absolute;
    top: 20px; right: 30px;
    color: #000;
    background: var(--gold, #c5a059);
    padding: 8px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000;
    transition: var(--transition, 0.3s ease);
}

.close-video-modal:hover {
    background: #fff;
}

.modal-video-container {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid var(--gold, #c5a059);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.modal-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

/* 4. التجاوب مع الموبايل (محدث) */
@media (max-width: 768px) {
    .video-gallery {
        padding: 60px 5%; /* تقليل الحواف الجانبية لترك مساحة للتمرير */
    }
    .video-card {
        flex: 0 0 280px; /* تصغير عرض الكارت قليلاً ليناسب شاشات الموبايل */
    }
    .modal-video-container {
        width: 95%;
    }
}


.mobile-menu-btn {
    display: none; 
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .navigation.active {
        right: 0; 
      }  

    .navigation a {
        margin: 20px 0;
        font-size: 1.5rem;
    } 
}
/* --- قسم معرض الفخامة (السلايدر) --- */

.slider-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    padding: 0 15px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px; /* يمكنك تعديله حسب الرغبة */
    overflow: hidden;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.main-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
    z-index: 1;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* حالة الصورة النشطة عند النقر على الرابط */
#slide1:target, #slide2:target, #slide3:target, #slide4:target {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

/* جعل أول صورة تظهر تلقائياً عند فتح الصفحة */
#slide1 {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* إخفاء الصورة الأولى إذا تم استهداف أي صورة أخرى */
.slider-container:has(#slide2:target) #slide1,
.slider-container:has(#slide3:target) #slide1,
.slider-container:has(#slide4:target) #slide1 {
    opacity: 0;
    visibility: hidden;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    padding: 40px 20px 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 11;
}

/* أزرار التنقل المصغرة */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.nav-item a {
    display: block;
    width: 100px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.3);
    transition: var(--transition);
}

.nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: 0.3s;
}

.nav-item a:hover, 
.nav-item a:focus {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.nav-item a:hover img {
    filter: grayscale(0%);
}

/* تحسين السلايدر للموبايل */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    
    .nav-item a {
        width: 70px;
        height: 50px;
    }
    
    .slide-caption {
        font-size: 0.95rem;
        padding: 20px 10px 10px;
    }
}
/* تحويل أيقونة الهامبرغر إلى X عند التفعيل */
.mobile-menu-btn.active i::before {
    content: "\f00d"; /* رمز X من FontAwesome */

}


/* شبكة الفولدرات (بجانب بعض) */
.folders-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* شكل الفولدر */
.folder-card {
    width: 280px;
    background: #111;
    border: 2px solid #c5a059;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s;
    position: relative;
}

.folder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.folder-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.folder-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.folder-card h3 {
    color: #fff;
    font-size: 1.3rem;
}

/* نافذة عرض الصور (المودال) */
.folder-modal {
    display: none; /* مخفية افتراضياً */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 20px; right: 30px;
    color: #000;
    background: #c5a059;
    padding: 8px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000;
}

.modal-title {
    color: #c5a059;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* حاوية الصورة والأسهم */
.modal-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    position: relative;
}

#modal-main-img {
    max-width: 80%;
    max-height: 70vh;
    border: 3px solid #c5a059;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
    transition: opacity 0.3s ease;
}

.modal-arrow {
    background: transparent;
    color: #c5a059;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    padding: 0 20px;
    transition: 0.3s;
}

.modal-arrow:hover {
    color: #fff;
    transform: scale(1.2);
}

.image-counter {
    color: #fff;
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;

}






