



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

a,
img,
button,
.btn-primary,
.btn-secondary,
.btn-outline {
    -webkit-user-drag: none;
    user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    /* يمنع التمرير الجانبي (الفراغ الجانبي) في الهواتف */
    width: 100%;
}

html {
    overflow-x: hidden;
}

/* Navbar & Hero Integration */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* لعرض الشفافية التي تم عملها بالفوتوشوب كاملة بدون قص */
    object-position: center center;
}

.glass-nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 35px;
    background: var(--glass-dark-65);
    border: 1px solid var(--color-gold-alpha-15);
    /* إطار ذهبي خفيف جداً */
    border-radius: 16px;
    width: 85%;
    max-width: 1400px;
    margin: 30px auto 0;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px var(--color-black-alpha-05);
    /* ظل ناعم جداً لتجنب التحديد الداكن */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.logo span {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--primary);
    font-family: 'Times New Roman', serif;
    opacity: 0.8;
}

.links {
    display: flex;
    gap: 50px;
}

.links a {
    text-decoration: none;
    color: var(--text-main);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s;
}

.links a span {
    display: block;
    font-size: 13px;
    color: var(--color-gray-600);
    margin-top: 5px;
}

.links a:hover,
.links a:hover span {
    color: var(--primary);
}


.nav-btn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-hover) 100%);
    color: var(--color-dark-900);
    padding: 12px 35px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-btn strong {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.nav-btn span {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--glass-border);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--color-dark-900);
    padding: 10px 25px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--color-gold-alpha-30);
}

.btn-primary span {
    display: block;
    font-size: 10px;
    font-weight: normal;
    margin-top: 2px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--color-gold-alpha-50);
}

.hero-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* In RTL, flex-start is the right side */
    align-items: center;
    padding: 0 10%;
}

.text-wrapper {
    text-align: right;
    /* محاذاة النص لليمين بناءً على طلب العميل */
    max-width: 800px;
    /* تم زيادة العرض لمنع نزول النص لسطر ثاني */
    margin-top: -60px;
    /* صعود النص للأعلى قليلاً */
}

.text-wrapper h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 5px;
}

.text-wrapper .subtitle-eng {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.text-wrapper .desc-ar {
    font-size: 22px;
    color: var(--color-gray-500);
    margin-bottom: 8px;
}

.text-wrapper .desc-eng {
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* أزرار الهيرو */
.hero-actions {
    margin-top: 45px;
    display: flex;
    justify-content: flex-start;
    /* محاذاة لليمين بناءً على طلب العميل */
    gap: 20px;
}

.hero-actions .btn-primary {
    padding: 12px 45px;
    font-size: 18px;
    border-radius: 50px;
    /* حواف دائرية عصرية */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 45px;
    background: var(--color-white-alpha-05);
    /* شفافية زجاجية */
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    border: 1px solid var(--color-white-alpha-30);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--color-white-alpha-15);
    border-color: var(--text-main);
}

/* Section 2: Portfolio */
.portfolio-section {
    padding: 0 80px 60px;
    margin-top: -80px;
    /* سحب المعرض للأعلى */
    position: relative;
    z-index: 20;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding-bottom: 40px;
    /* مساحة إضافية للصور المسحوبة للأسفل */
}

.grid-gallery img {
    width: 100%;
    height: 450px;
    /* مستطيلات أطول */
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease-out;
    border: 1px solid var(--color-gold-alpha-30);
}

/* تأثير المداخلات (الزجزاج) للأعمدة الثانية والرابعة */
.grid-gallery img:nth-child(5n + 2),
.grid-gallery img:nth-child(5n + 4) {
    transform: translateY(40px);
}

/* تأثير التكبير عند تمرير الماوس */
.grid-gallery img:hover {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 30px var(--color-gold-alpha-60);
}

/* الحفاظ على المداخلات عند التكبير للأعمدة الزوجية */
.grid-gallery img:nth-child(5n + 2):hover,
.grid-gallery img:nth-child(5n + 4):hover {
    transform: translateY(40px) scale(1.05);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

/* Section 3: Pricing */
.pricing-section {
    padding: 80px;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    width: 85%;
    /* يتمدد ليتناسب مع عرض المعرض */
    max-width: 1600px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    /* خلفية زجاجية أنيقة */
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-gold-alpha-20);
    border-radius: 15px;
    padding: 50px 40px;
    width: 100%;
    /* ملء المساحة بالكامل */
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--color-black-alpha-50);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold-alpha-80);
    box-shadow: 0 15px 40px var(--color-gold-alpha-20);
}

.card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.card .price {
    font-size: 44px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 25px;
}

.card ul {
    list-style: none;
    margin-bottom: 40px;
    color: var(--color-gray-500);
    font-size: 18px;
    line-height: 1.8;
    flex-grow: 1;
}

.card ul li {
    margin-bottom: 15px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--color-dark-900);
}

/* Section 4: About */
.about-section {
    padding: 80px;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 32px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
}

/* About Crew Gallery */
.about-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.about-gallery img {
    width: 420px;
    /* تكبير العرض */
    height: 420px;
    /* تكبير الطول */
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid var(--color-gold-alpha-20);
    transition: all 0.4s ease;
    filter: grayscale(40%);
    /* لمسة فنية خفيفة */
}

.about-gallery img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    /* تلوين كامل عند مرور الماوس */
    border-color: var(--color-gold-alpha-80);
    box-shadow: 0 10px 30px var(--color-gold-alpha-30);
}

/* Section 5: Team */
.team-section {
    padding: 80px;
    background: var(--bg-light);
}

/* Text-Only Luxury Team Layout */
.team-text-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-text-card {
    flex: 1;
    min-width: 300px;
    background: var(--glass-dark-50);
    /* خلفية زجاجية داكنة */
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-gold-alpha-15);
    /* إطار ذهبي خفيف */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-text-card:hover {
    transform: translateY(-10px);
    background: var(--glass-dark-alt-80);
    border-color: var(--glass-border);
    box-shadow: 0 15px 40px var(--color-black-alpha-60);
}

.team-text-card:hover::before {
    opacity: 1;
}

.team-text-card h3 {
    font-size: 30px;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 800;
}

.team-text-card .role {
    display: block;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* Section 6: Luxury Footer */
.luxury-footer {
    background: var(--bg-dark);
    /* أسود عميق */
    padding: 80px 0 0 0;
    border-top: 1px solid var(--color-gold-alpha-15);
    /* خط ذهبي فاصل */
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand h2 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-brand .sub-logo {
    display: block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--primary);
    font-family: 'Times New Roman', serif;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-brand p {
    color: var(--color-gray-700);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 350px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--color-white-alpha-20);
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--color-dark-900);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--text-main);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-right: 5px;
    /* لمسة حركية عند التمرير */
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item span {
    color: var(--color-gray-700);
    font-size: 15px;
}

.footer-bottom {
    background: var(--color-dark-800);
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--color-white-alpha-05);
}

.footer-bottom p {
    color: var(--color-gray-900);
    font-size: 14px;
}

/* =========================================================
   Mobile Responsiveness (Responsive Design for Phones)
   ========================================================= */
@media (max-width: 1070px) {

    /* Navbar */
    .glass-nav {
        flex-direction: row;
        /* إبقاؤه أفقياً */
        justify-content: space-between;
        padding: 10px 20px;
        gap: 0;
        border-radius: 20px;
        width: 92%;
        margin-top: 15px;
    }

    .logo h2 {
        font-size: 18px;
        /* تصغير الشعار ليلائم الشاشة */
    }

    .logo span {
        font-size: 8px;
    }

    .nav-btn {
        padding: 8px 15px;
    }

    .nav-btn strong {
        font-size: 13px;
        margin-bottom: 0;
    }

    .nav-btn span {
        display: none;
        /* إخفاء النص الصغير في الزر لتوفير مساحة أفقية */
    }

    .links {
        display: none;
        /* إخفاء الروابط في الموبايل لتبسيط الشاشة وتجنب التداخل */
    }

    /* Hero Section */
    .hero-content {
        padding: 0 20px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .text-wrapper {
        text-align: center;
        margin-top: 150px;
        /* دفع النص للأسفل لتجنب تداخل الناف بار */
    }

    .text-wrapper h1 {
        font-size: 38px;
    }

    .text-wrapper .subtitle-eng {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .text-wrapper .desc-ar {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    .hero-bg {
        width: 100%;
        /* تأخذ العرض بالكامل في الموبايل بدلاً من 60% */
        left: 0;
    }

    .hero-bg img {
        width: 100%;
        object-fit: cover;
        /* تغطية الشاشة بالكامل لتتوسط الصورة */
        object-position: top center;
        /* التركيز على الوجوه من الأعلى */
        opacity: 0.15;
        /* تقليل سطوع الصورة في الهاتف ليبرز النص */
    }

    /* Portfolio Section */
    .portfolio-section {
        margin-top: 80px;
        padding: 20px;
    }

    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        /* عمودين فقط في الهاتف */
        gap: 10px;
        padding-bottom: 0;
        /* إزالة المساحة السفلية الخاصة بالزجزاج */
    }

    .grid-gallery img {
        height: 250px;
        transform: none !important;
        /* إلغاء أي صعود ونزول للصور لتكون متساوية */
    }

    .grid-gallery img:hover {
        transform: scale(1.02) !important;
        /* تكبير بسيط فقط عند النقر/اللمس */
    }

    /* Pricing Section */
    .pricing-section {
        padding: 40px 5px;
        /* إلغاء المساحات الجانبية الضخمة الخاصة بالكمبيوتر */
    }

    /* Pricing Section - 2 Columns Layout */
    .pricing-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        /* تقليل الفراغ لزيادة عرض البطاقات */
        padding: 0 10px;
        width: 100%;
        justify-content: center;
        align-items: stretch;
    }

    .card {
        min-width: 0;
        width: 100%;
        padding: 20px 8px;
        /* تقليل المساحة الداخلية */
        margin: 0;
        display: flex;
        flex-direction: column;
        border-radius: 12px;
    }

    .card h3 {
        font-size: 14px;
        /* تصغير الخط لمنع النزول لسطرين */
        margin-bottom: 8px;
    }

    .card .price {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .card ul {
        font-size: 11px;
        margin-bottom: 15px;
        padding: 0;
        line-height: 1.6;
    }

    .card ul li {
        margin-bottom: 8px;
    }

    .btn-outline {
        padding: 8px 5px;
        font-size: 12px;
        margin-top: auto;
    }

    .card.premium {
        transform: none;
    }

    .card.premium:hover {
        transform: none;
    }

    /* About Us Mobile Gallery */
    .about-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0 20px;
    }

    .about-gallery img {
        width: calc(50% - 7.5px);
        /* للحفاظ على عرض النصف لكل صورة بالضبط */
        height: 250px;
        /* تكبير الارتفاع لتبدو الصورة أضخم وأكثر تفصيلاً في الهاتف */
        object-fit: cover;
    }

    /* Team Section */
    .team-section {
        padding: 40px 10px;
        /* إزالة المساحات الجانبية الضخمة الخاصة بالكمبيوتر */
    }

    .team-text-grid {
        flex-direction: column;
        padding: 0 10px;
        gap: 15px;
        /* تقليل الفراغ بين كروت الموظفين */
    }

    .team-text-card {
        min-width: 100%;
        padding: 20px 15px;
        /* تصغير مساحة الكرت الداخلي */
    }

    .team-text-card h3 {
        font-size: 20px;
        /* تصغير اسم الموظف */
    }

    .team-text-card .role {
        font-size: 13px;
        /* تصغير المسمى الوظيفي */
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px 40px;
    }

    .footer-brand p {
        margin: 0 auto 25px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px;
    /* Adds space from top and bottom corners */
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-dark-200);
    border-radius: 20px;
    border: 6px solid var(--color-dark-700);
    /* 14px - 12px border = 2px visible ultra-thin thumb! */
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-dark-50);
    border: 5px solid var(--color-dark-700);
    /* Grows slightly on hover */
}


.pricing-section .card .price {
    font-size: 22px;
}

.pricing-desc {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.pricing-btn {
    text-decoration: none;
    display: block;
    text-align: center;
}

.footer-divider {
    margin: 0 10px;
    opacity: 0.5;
}

.footer-admin-link {
    color: var(--color-gray-900);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-admin-link:hover {
    color: var(--primary);
}