/* ===== CSS Variables ===== */
:root {
    /* Color Palette - Warm Gold & Deep Charcoal Theme */
    --color-primary: #C9A962;
    --color-primary-dark: #A88B4A;
    --color-primary-light: #E5D4A8;
    --color-secondary: #1A1A1A;
    --color-dark: #0D0D0D;
    --color-dark-lighter: #2A2A2A;
    --color-light: #F5F3EF;
    --color-cream: #FAF8F5;
    --color-text: #333333;
    --color-text-muted: #6B6B6B;
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-arabic);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

/* RTL Support */
html[dir="rtl"] body {
    font-family: var(--font-arabic);
}

html[dir="ltr"] body {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: fixed;
    top: var(--spacing-md);
    left: var(--spacing-md);
    z-index: 1001;
    display: flex;
    gap: 4px;
    background: rgba(13, 13, 13, 0.9);
    padding: 4px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

html[dir="ltr"] .lang-switcher {
    left: auto;
    right: var(--spacing-md);
}

.lang-btn {
    padding: 8px 16px;
    font-family: var(--font-arabic);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-white);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-arabic);
    font-weight: 700;
    line-height: 1.3;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-arabic);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-medium);
}

html[dir="ltr"] .btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-arabic);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.logo-text-en {
    display: none;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

html[dir="ltr"] .logo-text {
    display: none;
}

html[dir="ltr"] .logo-text-en {
    display: block;
}

.logo-tagline {
    font-family: var(--font-arabic);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.8;
}

html[dir="ltr"] .logo-tagline {
    font-family: var(--font-body);
    letter-spacing: 0.3em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: var(--spacing-xs) 0;
}

html[dir="ltr"] .nav-links a {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-medium);
}

html[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.7) 0%,
        rgba(13, 13, 13, 0.5) 50%,
        rgba(13, 13, 13, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.2s both;
}

html[dir="ltr"] .hero-badge {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.title-line {
    display: block;
    font-family: var(--font-arabic);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-xs);
}

html[dir="ltr"] .title-line {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.title-main {
    display: block;
    font-family: var(--font-arabic);
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    line-height: 0.9;
    text-shadow: 0 4px 30px rgba(201, 169, 98, 0.3);
}

html[dir="ltr"] .title-main {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-family: var(--font-arabic);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.6s both;
}

html[dir="ltr"] .hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
}

.hero-description {
    max-width: 550px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1rem;
    color: var(--color-white);
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 0.8s both;
}

html[dir="ltr"] .hero-description {
    font-size: 0.9375rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    opacity: 0.6;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

html[dir="ltr"] .scroll-indicator span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-xxl);
}

.section-header.light .section-title,
.section-header.light .section-description {
    color: var(--color-white);
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

html[dir="ltr"] .section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

html[dir="ltr"] .section-description {
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== Services Section ===== */
.services {
    padding: var(--spacing-xxl) 0;
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    background: var(--color-dark);
    color: var(--color-white);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: var(--radius-sm);
    z-index: 10;
}

html[dir="ltr"] .featured-badge {
    left: auto;
    right: var(--spacing-md);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.service-card.featured .service-title {
    color: var(--color-white);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.7);
}

.service-list {
    margin-bottom: var(--spacing-md);
}

.service-list li {
    position: relative;
    padding-right: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

html[dir="ltr"] .service-list li {
    padding-right: 0;
    padding-left: var(--spacing-md);
}

.service-card.featured .service-list li {
    color: rgba(255, 255, 255, 0.7);
}

.service-list li::before {
    content: '✦';
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-size: 0.5rem;
}

html[dir="ltr"] .service-list li::before {
    right: auto;
    left: 0;
}

.service-price {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.service-card.featured .service-price {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.service-price .price {
    font-family: var(--font-arabic);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

html[dir="ltr"] .service-price .price {
    font-family: var(--font-display);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: var(--spacing-xxl) 0;
    background: var(--color-dark);
}

.gallery .section-title,
.gallery .section-description {
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
}

/* ===== Team Section ===== */
.team {
    padding: var(--spacing-xxl) 0;
    background: var(--color-cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--color-primary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info h4 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.member-info p {
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-content .section-tag {
    text-align: right;
}

html[dir="ltr"] .about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: right;
    margin-bottom: var(--spacing-lg);
}

html[dir="ltr"] .about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.9;
}

html[dir="ltr"] .about-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.feature-text h4 {
    font-family: var(--font-arabic);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

html[dir="ltr"] .feature-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

html[dir="ltr"] .feature-text p {
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 140px;
    height: 140px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(201, 169, 98, 0.4);
}

html[dir="ltr"] .experience-badge {
    left: auto;
    right: -20px;
}

.exp-number {
    font-family: var(--font-arabic);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

html[dir="ltr"] .exp-number {
    font-family: var(--font-display);
}

.exp-text {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    text-align: center;
    max-width: 80px;
    margin-top: var(--spacing-xs);
}

html[dir="ltr"] .exp-text {
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xxl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(201, 169, 98, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(201, 169, 98, 0.08) 0%, transparent 40%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.contact-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: var(--color-whatsapp);
}

.contact-details h4 {
    font-family: var(--font-arabic);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

html[dir="ltr"] .contact-details h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-details a {
    display: block;
    font-size: 1.0625rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

html[dir="ltr"] .contact-details a {
    font-size: 1rem;
}

.contact-details a:hover {
    color: var(--color-primary-light);
}

.contact-details p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

html[dir="ltr"] .contact-details p {
    font-size: 0.8125rem;
}

.contact-details .hours {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--color-dark-lighter);
}

.map-container iframe {
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.8;
    transition: all var(--transition-medium);
}

.map-container:hover iframe {
    filter: grayscale(50%);
    opacity: 1;
}

.map-overlay {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-secondary);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-md);
    max-width: 280px;
    line-height: 1.8;
}

html[dir="ltr"] .footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-arabic);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

html[dir="ltr"] .footer-links h4,
html[dir="ltr"] .footer-contact h4,
html[dir="ltr"] .footer-social h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

html[dir="ltr"] .footer-links a {
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

html[dir="ltr"] .footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--color-primary);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all var(--transition-medium);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.4);
}

html[dir="ltr"] .footer-bottom p {
    font-size: 0.875rem;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-medium);
    animation: pulse 2s infinite;
}

html[dir="ltr"] .whatsapp-float {
    left: auto;
    right: var(--spacing-lg);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@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.6); }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: var(--spacing-xl);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        top: auto;
        bottom: var(--spacing-lg);
        left: 50%;
        transform: translateX(-50%);
    }
    
    html[dir="ltr"] .lang-switcher {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    html[dir="ltr"] .nav-links a {
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: -10px;
        left: -10px;
    }
    
    html[dir="ltr"] .experience-badge {
        left: auto;
        right: -10px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: calc(var(--spacing-lg) + 60px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .title-main {
        font-size: 3.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
    }
}

/* ===== Performance Optimizations ===== */

/* GPU acceleration for animated elements */
.service-card,
.gallery-item,
.feature,
.contact-card {
    will-change: transform, opacity;
}

/* Content visibility for off-screen performance */
.services,
.gallery,
.about,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* Lazy loaded images - blur-up effect */
img[loading="lazy"] {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease-out, filter 0.4s ease-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
    filter: blur(0);
}

/* Eager loaded images (hero) */
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Image wrapper loading state */
.service-image,
.gallery-item,
.member-image-wrapper,
.about-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

.service-image::before,
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    animation: shimmer 1.5s infinite;
    z-index: 1;
    pointer-events: none;
}

.service-image:has(.loaded)::before,
.gallery-item:has(.loaded)::before {
    display: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    img[loading="lazy"] {
        filter: none;
        opacity: 1;
    }
}

/* Print styles for better SEO */
@media print {
    .navbar,
    .whatsapp-float,
    .lang-switcher,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
}
