/* ==========================================
   1. الأساسيات والتهيئة العامة
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    font-family: 'Tahoma', sans-serif;
    overflow-x: hidden;
}

/* ==========================================
   2. شريط التنقل (Navbar & Logo) - ملء الشاشة 100%
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar nav ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #d4af37;
}

.btn {
    background: #d4af37;
    color: #0b0b0b;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #f3c643;
}

/* ==========================================
   3. قسم الهيرو والتدرج - ملء الشاشة 100%
   ========================================== */
.hero {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 140px 8% 0 8%;
    margin: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(11, 11, 11, 0.3) 0%, 
        rgba(11, 11, 11, 0.65) 50%, 
        rgba(11, 11, 11, 0.95) 85%, 
        #0b0b0b 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-top: auto;
    margin-bottom: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 30px;
}

/* ==========================================
   4. حاوية محتوى الموقع تحت الهيرو (90% ومتوسطة)
   ========================================== */
.page-container {
    width: 90% !important;
    max-width: 1350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 2;
}

/* ==========================================
   5. تنسيق قسم الإحصائيات (منزل إضافياً بـ 200 بكسل وضمن إطار فخم)
   ========================================== */
.stats-section {
    position: relative;
    z-index: 3;
    margin-top: 450px;
    padding: 0 20px;
}

.stats-lux-box {
    max-width: 100%;
    margin: 0 auto;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 60px 40px;
}

.stats-grid {
    column-count: 2;
    column-gap: 30px;
    width: 100%;
}

.stat-card {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 35px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.3s ease;
    break-inside: avoid;
    margin-bottom: 30px;
}

.stat-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.stats-grid .stat-card:nth-child(1) {
    min-height: 270px;
}

.stats-grid .stat-card:nth-child(2) {
    min-height: 180px;
}

.stats-grid .stat-card:nth-child(3) {
    min-height: 180px;
}

.stats-grid .stat-card:nth-child(4) {
    min-height: 270px;
}

.stat-title {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.stat-number {
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-number span {
    color: #d4af37;
}

/* ==========================================
   6. قسم التقييمات الشامل (المربع الفخم)
   ========================================== */
.reviews-wrapper {
    padding: 0 20px;
    margin-top: 100px;
}

.reviews-lux-box {
    max-width: 100%;
    margin: 0 auto;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 60px 20px;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-subtitle {
    display: block;
    font-size: 1rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.reviews-title {
    font-size: 4.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1.1;
}

.google-reviews-marquee {
    position: relative;
    width: 100%;
}

.marquee-container {
    display: flex;
    width: max-content;
    gap: 25px;
    animation: scrollMarqueeLeft 50s linear infinite;
    padding-left: 20px;
}

.reviews-lux-box:hover .marquee-container {
    animation-play-state: paused;
}

.review-card {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 25px 30px;
    width: 320px;
    flex-shrink: 0;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    display: block;
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(26, 26, 26, 1);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #d4af37;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-source {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-author {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    display: block;
    text-align: left;
}

@keyframes scrollMarqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12.5px)); }
}

/* ==========================================
   7. قسم من نحن (About Section)
   ========================================== */
.about {
    padding: 100px 5%;
    background-color: #0b0b0b;
    position: relative;
    z-index: 2;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 100%;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.about-text p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ==========================================
   قسم فريق العمل (Team Section)
   ========================================== */
.team-section {
    padding: 0 20px;
    margin-top: 100px;
}

.team-lux-box {
    max-width: 100%;
    margin: 0 auto;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 60px 40px;
    box-sizing: border-box;
}

.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-subtitle {
    display: block;
    font-size: 1rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-title {
    font-size: 4.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.team-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

.team-img-container {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background-color: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-container img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px 20px;
}

.team-member-name {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-member-role {
    font-size: 0.9rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .team-title {
        font-size: 2.8rem;
    }
    .team-lux-box {
        padding: 40px 15px;
    }
}
/* ==========================================
   8. معرض الصور (Gallery Section)
   ========================================== */
.gallery-section {
    padding: 100px 5%;
    background-color: #0f0f0f;
    text-align: center;
}

.gallery-section h2 {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.masonry-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(11,11,11,0.9), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay p {
    font-size: 1rem;
    color: #d4af37;
    font-weight: 600;
}

/* ==========================================
   تنسيق قسم الأسئلة الشائعة (FAQ Lux Section - متطابق بالعرض مع التقييمات)
   ========================================== */
.faq-section {
    padding: 0 20px;
    margin-top: 100px;
}

.faq-lux-box {
    max-width: 100%;
    margin: 0 auto;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 60px 40px;
    box-sizing: border-box;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-subtitle {
    display: block;
    font-size: 1rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.faq-title {
    font-size: 4.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.faq-content-grid {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.faq-image-container {
    flex: 1;
}

.faq-image-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-accordion {
    flex: 1.4;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
}

.faq-icon {
    font-size: 1.4rem;
    color: #d4af37;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 12px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: #999999;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   9. قسم التواصل والفوتر
   ========================================== */
.contact {
    padding: 100px 5%;
    background-color: #0f0f0f;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #bbb;
    margin: 15px 0;
}

.contact-info i {
    color: #d4af37;
    margin-left: 10px;
}

footer {
    padding: 30px 5%;
    background: #070707;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   10. التجاوب مع الهواتف والشاشات الصغيرة
   ========================================== */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }
    .masonry-grid {
        column-count: 2;
    }
    .stats-grid {
        column-count: 1;
    }
    .stat-card {
        margin-top: 0 !important;
        min-height: auto !important;
    }
    .stats-section {
        margin-top: 250px;
    }
    .faq-content-grid {
        flex-direction: column;
    }
    .faq-image-container img {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
    .stat-number {
        font-size: 3rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .reviews-title,
    .faq-title {
        font-size: 2.8rem;
    }
    .reviews-lux-box,
    .stats-lux-box,
    .faq-lux-box {
        padding: 40px 15px;
    }
    .review-card {
        width: 280px;
        padding: 20px;
    }
}
/* تنسيق أداة عرض صورة المعلق أو الحرف الأول تلقائياً */
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}