/* ================================================
   Luxury Corner - Fit-out Solutions
   Main Stylesheet - CSS Variables & Global Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Almarai:wght@300;400;700&display=swap');



p {
    color: #000000 !important;
    font-size: 1.2rem !important;
    /* line-height: 1.8; */
}



.section-values-gradient p, 
.footer p, 
.footer-links a,
.loading-screen p {
    color: var(--text-gray) !important;
    font-size: 1.1rem !important; 
}
.hero-section p{
    color: white !important;

}

.image-crop-container {
    width: 100%;
    height: 450px;           /* الارتفاع المطلوب (هذا ما يجعلها قصيرة) */
    overflow: hidden;        /* هذا السطر هو الذي "يقص" الزيادات فعلياً */
    border-radius: 20px;     /* انحناء الزوايا */
    display: flex;
    align-items: center;     /* يضمن أن القص يتم من الأعلى والأسفل بالتساوي */
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(243, 179, 8, 0.2); /* إطار ذهبي خفيف جداً */
}

.image-crop-container .about-img {
    width: 100% !important;
    height: auto !important; /* يحافظ على جودة الصورة */
    min-height: 100%;        
    object-fit: cover;
}

/* للموبايل: نجعلها أقصر أيضاً لتناسب الشاشة */
@media (max-width: 768px) {
    .image-crop-container {
        height: 200px; 
    }
}
/* ===========================
   CSS Variables
   =========================== */
   
:root {
    /* Colors */
    --primary-gold: #f3b308;
    --dark-bg: #1A1A1A;
    --light-bg: #FBFBFB;
    --text-gray: #A6A6A6;
    --text-white: #FFFFFF;
    --accent-dark: #0D0D0D;
    
    /* Fonts */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Almarai', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 30px rgba(255, 209, 41, 0.3);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Loading Screen
   =========================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    animation: shine 1.5s infinite;
}

.loading-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px var(--primary-gold));
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 209, 41, 0.1);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shine {
    0%, 100% { 
        filter: drop-shadow(0 0 20px var(--primary-gold)) drop-shadow(0 0 40px var(--primary-gold)); 
    }
    50% { 
        filter: drop-shadow(0 0 40px var(--primary-gold)) drop-shadow(0 0 80px var(--primary-gold)); 
    }
}

/* ===========================
   Navbar
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    transition: var(--transition-fast);
}

.navbar.scrolled .navbar-brand img {
    height: 60px;
}

.navbar-nav .nav-link {
    color: var(--text-white);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    margin: 0 0.3rem;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-gold);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 50%;
    right: 25%;
}

/* .btn-consultation {
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: .5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    border: 2px solid var(--primary-gold);
    transition: var(--transition-fast);
} */




/* Styling for the Language Button in the Navbar */
.btn-nav-custom, 
.btn-consultation {
    display: inline-flex ;
    align-items: center;
    justify-content: center;
    padding: 10px 25px; /* Ensures consistent internal spacing */
    height: 45px;       /* Forces both buttons to have the same height */
    min-width: 140px;   /* Forces both buttons to have the same minimum width */
    border-radius: 50px; 
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-consultation{
    border: 1px solid var(--primary-gold); 
    background: var(--primary-gold);
    color: var(--dark-bg);
}
.btn-nav-custom{
     border: 1px solid var(--primary-gold); 
    background: transparent;
    color: var(--light-bg);
}
.btn-consultation:hover {
    background: transparent;
    color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}


/* Responsive adjustments for Mobile Devices (max-width 991px) */
@media (max-width: 991.98px) {
    .btn-nav-custom
     {
        margin-bottom: 15px !important; /* Adds the spacing you requested below the button */
        display: flex;
    }
    .btn-consultation{
        margin-bottom: 30px !important;
        display: flex;

    }
    
    
    /* Resets the horizontal margins used for Desktop layout */
    .mx-lg-3 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* toggle */

.navbar .container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    position: relative;
}

.navbar-toggler {
    border: none !important;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9000; 
    outline: none !important;
    box-shadow: none !important;
}


.navbar-toggler .icon-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    margin: 3px 0; 
    transition: all 0.3s ease-in-out;
}


.navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        background-color: rgba(26, 26, 26, 0.98);
        z-index: 1050;
       
        display: flex !important; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
       
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease-in-out;
    }

   
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 50px; 
    }

    .navbar-nav .nav-link {
        font-size: 1rem !important;
        color: white !important;
        margin-bottom: 20px;
    }
}
/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
                url('assets/bg.jpg') center/cover fixed;
    overflow: hidden;
}


.hero-content {
    text-align: center;
    color: var(--text-white);
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .gold-text {
    color: var(--primary-gold);
    display: block;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-gold {
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: .5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: var(--transition-fast);
    display: inline-block;
    box-shadow: var(--shadow-gold);
}

.btn-primary-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(255, 209, 41, 0.5);
}
/* ===========================
   About Section Styling
=========================== */
.about-home {
    padding: 100px 0; 
    background-color: #ffffff;
    overflow: hidden;
}

.about-home .row {
    display: flex;
    align-items: center; 
}

.about-home h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}


.about-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.about-home p.lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-home p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    max-width: 100%; 
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02); 
}


@media (max-width: 991px) {
    .about-home {
        padding: 60px 0;
        text-align: center;
    }
    .about-home h2::after {
        right: 50%;
        transform: translateX(50%); /
    }
   
    .about-home .col-lg-6 {
        margin-bottom: 30px;
    }
}
/* ===========================
   Section Styles
   =========================== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark-bg);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gold);
}

.section-title p {
    font-size: 1.2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 600;
}

/* ===========================
   Service Cards
   =========================== */
.service-card {
    background: var(--text-white);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid rgb(236, 235, 235);
    height: 100%;
}

.service-card:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--dark-bg);
}

.service-card i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.service-card:hover i {
    color: var(--dark-bg);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}



/* ===========================
   clients section
   =========================== */
.section-clients {
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid #f8f8f8;
}

.partners-title {
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center; /* أضفت التوسيط لضمان التناسق */
}

.gold-separator {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto 50px;
}



/* ===========================
   تعديل قسم العملاء - الحجم الكبير والمسافات الملغاة
   =========================== */
/* --- قسم شركاء النجاح المطور --- */
/* --- قسم شركاء النجاح - حجم كبير واحترافي --- */
.section-clients {
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.luxury-marquee {
    display: flex;
    justify-content: center;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 30px; /* مسافة متوازنة */
    justify-content: center;
    flex-wrap: wrap; /* مهم جداً للجوال */
    width: 90%;
    max-width: 1200px;
}

.client-item {
    flex: 0 1 350px; /* تكبير عرض الكارت لـ 350px */
    height: 250px;    /* تكبير الارتفاع لـ 250px */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    /* إطار خفيف جداً لإعطاء شكل فخم */
    border: 1px solid rgba(0, 0, 0, 0.05); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.client-item img {
    width: 100%;      /* تأخذ كامل عرض الكارت المتاح */
    height: 100%;     /* تأخذ كامل ارتفاع الكارت المتاح */
    max-width: 280px; /* أقصى عرض للوجو نفسه داخل الكارت */
    max-height: 220px;/* أقصى ارتفاع للوجو نفسه داخل الكارت */
    object-fit: contain; /* أهم سطر: يمنع التمطيط ويحافظ على أبعاد اللوجو */
    transition: all 0.4s ease;
}

/* تأثير عند التمرير بالماوس */
.client-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(243, 179, 8, 0.12);
    border-color: var(--primary-gold);
}

/* --- تعديلات الجوال (تنسيق خاص جداً) --- */
@media (max-width: 768px) {
    .section-clients {
        padding: 60px 0;
    }
    .marquee-track {
        gap: 20px;
    }
    .client-item {
        flex: 0 1 100%; 
        height: 200px;  
        max-width: 320px; 
    }
    .client-item img {
        max-width: 240px;
        max-height: 180px;
    }
}



/* ===========================
   WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--text-white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-bg);
    color: var(--text-gray);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-right: 10px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.social-icon:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.social-icon i {
    color: var(--text-white);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(166, 166, 166, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}
.footer-logo img{
    width: auto;
    height: 130px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
}


/* ===================================================
   LANGUAGE ADJUSTMENTS & ALIGNMENT CONTROL
   =================================================== */

/* General Hero Section centering for both languages */
.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content p {
    margin-left: auto;
    margin-right: auto;
}

/* English Language Specific Adjustments */
html[lang="en"] {
    direction: ltr;
}

html[lang="en"] body {
    text-align: left;
}

/* Center headings in Services and Partners sections  */
html[lang="en"] .section-title, 
html[lang="en"] .hero-content, 
html[lang="en"] .stats-section,
html[lang="en"] .sectors-grid-section .text-center {
    text-align: center !important;
}

/* Adjust gold lines under headings  */
html[lang="en"] .about-home h2::after,
html[lang="en"] .main-title span::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

/* Services Page: Flip service number and heading border  */
html[lang="en"] .srv-number {
    right: auto;
    left: 0; 
}

html[lang="en"] .srv-heading {
    border-right: none;
    border-left: 5px solid var(--primary-gold); 
    padding-right: 0;
    padding-left: 15px;
    text-align: left;
}

html[lang="en"] .srv-features-list li i {
    margin-left: 0;
    margin-right: 10px; /* Moves check icon spacing to the right */
}

/* Clients marquee animation adjustment for English */
html[lang="en"] .marquee-track {
    animation: luxury-scroll-ltr 35s linear infinite;
}

@keyframes luxury-scroll-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===================================================
   FIXED LANGUAGE SWITCHER STYLING
   =================================================== */

/* Main Container */
.lang-switcher-fixed {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    font-family: 'Cairo', sans-serif;
}

/* Default position (Arabic) */
html[lang="ar"] .lang-switcher-fixed {
    /* left: auto; */
    right: 20px;
}

/* Position for English */
html[lang="en"] .lang-switcher-fixed {
     /* left: auto; */
    right: 20px;
}

/* html[lang="en"] p {
    font-size: 18px !important;
} */

/* Main Button */
.lang-btn-main {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lang-btn-main img { width: 20px; border-radius: 2px; }

/* Dropdown Menu */
.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    list-style: none;
    padding: 5px;
    width: 130px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    animation: slideUp 0.3s ease;
}

.lang-dropdown li {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

.lang-dropdown li:hover { background: #f8f8f8; }

/* Toggle Dropdown Visibility */
.lang-switcher-fixed.active .lang-dropdown { display: block; }
.lang-switcher-fixed.active .lang-btn-main i { transform: rotate(180deg); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hide the fixed language switcher initially */
.lang-switcher-fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Class to show the switcher after loading */
.lang-switcher-fixed.show-switcher {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



