/* ============================================================
   Eagle Lens — Design System & Global Styles
   ============================================================ */

/* --- CSS Variables (Dark theme default) --- */
:root,
.theme-dark {
    --color-bg: #0A0A0C;
    --color-bg-alt: #111114;
    --color-bg-white: #F5F5F0;
    --color-text: #EDEDED;
    --color-text-muted: #CFCFCF;
    --color-gold: #C2A75C;
    --color-gold-hover: #D4BA72;
    --color-border: rgba(194, 167, 92, 0.15);
    --color-overlay: rgba(10, 10, 12, 0.65);
    --color-overlay-heavy: rgba(10, 10, 12, 0.8);

    /* Type scale */
    --fs-hero: clamp(3rem, 8vw, 7rem);
    --fs-h2: clamp(1.8rem, 4vw, 3.2rem);
    --fs-h3: clamp(1.3rem, 2.5vw, 2rem);
    --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
    --fs-caption: clamp(0.75rem, 1vw, 0.875rem);
    --ls-wide: 0.12em;

    /* Spacing */
    --section-py: clamp(80px, 10vh, 140px);
    --max-width: 1440px;
    --grid-gap: 12px;
    --grid-gap-lg: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration: 0.4s;

    /* Header */
    --header-height: 80px;
}

/* --- Light Theme --- */
.theme-light {
    --color-bg: #F5F5F0;
    --color-bg-alt: #EAEAE5;
    --color-text: #0A0A0C;
    --color-text-muted: #3A3A3A;
    --color-overlay: rgba(245, 245, 240, 0.65);
    --color-overlay-heavy: rgba(245, 245, 240, 0.8);
}

/* ============================================================
   Font Face — DIN Next Arabic (self-hosted)
   ============================================================ */
@font-face {
    font-family: 'DIN Next Arabic';
    src: url('/assets/fonts/DINNextArabic-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next Arabic';
    src: url('/assets/fonts/DINNextArabic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next Arabic';
    src: url('/assets/fonts/DINNextArabic-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next Arabic';
    src: url('/assets/fonts/DINNextArabic-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Lenis handles smooth scroll */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DIN Next Arabic', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Lenis */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* ============================================================
   Typography
   ============================================================ */
h1 { font-weight: 700; font-size: var(--fs-hero); line-height: 1.1; }
h2 { font-weight: 500; font-size: var(--fs-h2); line-height: 1.25; }
h3 { font-weight: 500; font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
p  { font-weight: 400; }
small, .caption { font-weight: 300; font-size: var(--fs-caption); }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover { color: var(--color-gold); }

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.text-center { text-align: center; }
.text-start { text-align: start; }

.el-container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 48px);
}

.el-section {
    padding-block: var(--section-py);
    position: relative;
}

/* ============================================================
   Header
   ============================================================ */
.el-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.el-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.6), transparent);
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.el-header.scrolled::before { opacity: 0; }

.el-header.scrolled {
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.theme-light .el-header.scrolled {
    background-color: rgba(245, 245, 240, 0.95);
}

.el-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Logo */
.el-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--color-text);
}
.el-logo img {
    height: 40px;
    width: auto;
}
.el-logo .logo-accent {
    color: var(--color-gold);
}

/* Desktop Nav */
.el-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.el-nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
    transition: color var(--duration) var(--ease);
}
.el-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width var(--duration) var(--ease);
}
.el-nav-link:hover::after,
.el-nav-link.active::after {
    width: 100%;
}
.el-nav-link:hover,
.el-nav-link.active {
    color: var(--color-gold);
}

/* Dropdown */
.el-dropdown {
    position: relative;
}
.el-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 4px 0;
}
.el-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}
.el-dropdown.open .el-dropdown-toggle svg {
    transform: rotate(180deg);
}
.el-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-start: 0;
    min-width: 220px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--ease);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.el-dropdown.open .el-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.el-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: all 0.2s var(--ease);
}
.el-dropdown-item:hover {
    color: var(--color-gold);
    background: rgba(194, 167, 92, 0.05);
}

/* Header controls */
.el-header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language switcher */
.el-lang-switcher {
    display: flex;
    gap: 4px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}
.el-lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: block;
}
.el-lang-btn.active {
    background: var(--color-gold);
    color: #0A0A0C;
}
.el-lang-btn:hover:not(.active) {
    color: var(--color-gold);
}

/* Theme toggle */
.el-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}
.el-theme-toggle:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.el-theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Hamburger */
.el-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.el-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}
.el-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.el-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.el-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.el-mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease);
}
.el-mobile-nav.open {
    opacity: 1;
    visibility: visible;
}
.el-mobile-nav a,
.el-mobile-nav button {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
}
.el-mobile-nav a:hover { color: var(--color-gold); }

.el-mobile-sub {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-inline-start: 20px;
    margin-top: 8px;
}
.el-mobile-sub.open { display: flex; }
.el-mobile-sub a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* ============================================================
   Hero Section
   ============================================================ */
.el-hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.el-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.el-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 12, 0.5) 0%,
        rgba(10, 10, 12, 0.2) 40%,
        rgba(10, 10, 12, 0.2) 60%,
        rgba(10, 10, 12, 0.6) 100%
    );
}
.theme-light .el-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(245, 245, 240, 0.4) 0%,
        rgba(245, 245, 240, 0.1) 40%,
        rgba(245, 245, 240, 0.1) 60%,
        rgba(245, 245, 240, 0.5) 100%
    );
}

.el-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding-inline: 24px;
}

.el-hero-content h1 {
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.theme-light .el-hero-content h1 {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
}

.el-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Scroll indicator */
.el-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: var(--fs-caption);
    letter-spacing: var(--ls-wide);
    animation: el-bounce 2s infinite;
}
.el-scroll-indicator svg {
    width: 20px;
    height: 20px;
}

@keyframes el-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Buttons
   ============================================================ */
.el-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    border: 1.5px solid transparent;
}

.el-btn-primary {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}
.el-btn-primary:hover {
    background: var(--color-gold);
    color: #0A0A0C;
}

.el-btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.2);
}
.el-btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.theme-light .el-btn-secondary {
    border-color: rgba(10, 10, 12, 0.2);
}

.el-btn-gold {
    background: var(--color-gold);
    color: #0A0A0C;
    border-color: var(--color-gold);
    font-weight: 700;
}
.el-btn-gold:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
}

.el-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}
[dir="rtl"] .el-btn svg { transform: scaleX(-1); }
.el-btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .el-btn:hover svg { transform: scaleX(-1) translateX(4px); }

/* ============================================================
   About Teaser
   ============================================================ */
.el-about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap-lg);
    align-items: center;
}

.el-about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/5;
}
.el-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.el-about-text h2 {
    margin-bottom: 20px;
    color: var(--color-gold);
}
.el-about-text p {
    margin-bottom: 24px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

/* ============================================================
   Services Grid
   ============================================================ */
.el-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.el-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}
.el-service-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.el-service-card:hover .el-service-card-bg {
    transform: scale(1.05);
}
.el-service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.8) 0%, rgba(10, 10, 12, 0.1) 60%);
    transition: background 0.4s var(--ease);
}
.el-service-card:hover .el-service-card-overlay {
    background: linear-gradient(to top, rgba(10, 10, 12, 0.7) 0%, rgba(10, 10, 12, 0.05) 60%);
}
.el-service-card-content {
    position: relative;
    z-index: 1;
    padding: 28px;
    width: 100%;
}
.el-service-card-content h3 {
    color: #fff;
    margin-bottom: 12px;
}
.el-service-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-weight: 500;
    font-size: 0.9rem;
}
.el-service-card-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}
[dir="rtl"] .el-service-card-arrow svg { transform: scaleX(-1); }
.el-service-card:hover .el-service-card-arrow svg {
    transform: translateX(6px);
}
[dir="rtl"] .el-service-card:hover .el-service-card-arrow svg {
    transform: scaleX(-1) translateX(6px);
}

/* ============================================================
   Gallery Showcase (Masonry)
   ============================================================ */
.el-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}
.el-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}
.el-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    user-select: none;
    -webkit-user-drag: none;
}
.el-gallery-item:hover img {
    transform: scale(1.05);
}
.el-gallery-item:nth-child(1) { grid-row: span 2; min-height: 400px; }
.el-gallery-item:nth-child(2) { min-height: 190px; }
.el-gallery-item:nth-child(3) { min-height: 190px; }
.el-gallery-item:nth-child(4) { grid-row: span 2; min-height: 400px; }
.el-gallery-item:nth-child(5) { min-height: 190px; }

/* ============================================================
   Clients Marquee
   ============================================================ */
.el-clients { overflow: hidden; }

.el-marquee {
    display: flex;
    gap: 60px;
    animation: el-marquee 40s linear infinite;
    width: max-content;
}
.el-marquee:hover { animation-play-state: paused; }

.el-marquee-logo {
    flex-shrink: 0;
    height: 50px;
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s var(--ease);
    user-select: none;
    -webkit-user-drag: none;
}
.el-marquee-logo:hover {
    filter: grayscale(0%) opacity(1);
}
.theme-light .el-marquee-logo {
    filter: grayscale(100%) opacity(0.4);
}
.theme-light .el-marquee-logo:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes el-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   Quote CTA
   ============================================================ */
.el-quote-cta {
    position: relative;
    text-align: center;
    padding-block: var(--section-py);
    overflow: hidden;
}
.el-quote-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}
.el-quote-cta-content {
    position: relative;
    z-index: 1;
}
.el-quote-cta h2 {
    margin-bottom: 12px;
}
.el-quote-cta p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}
.el-quote-cta .el-gold-word {
    color: var(--color-gold);
}

/* ============================================================
   Contact Form
   ============================================================ */
.el-contact-form {
    max-width: 700px;
    margin-inline: auto;
}
.el-form-group {
    margin-bottom: 20px;
}
.el-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.el-form-input,
.el-form-select,
.el-form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s var(--ease);
}
.el-form-input:focus,
.el-form-select:focus,
.el-form-textarea:focus {
    border-color: var(--color-gold);
}
.el-form-select {
    appearance: none;
    cursor: pointer;
}
.el-form-textarea {
    min-height: 120px;
    resize: vertical;
}
.el-form-file {
    padding: 12px 0;
}
.el-form-file input[type="file"] {
    color: var(--color-text-muted);
    font-family: inherit;
}
.el-form-message {
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}
.el-form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}
.el-form-message.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #F44336;
}

/* ============================================================
   Footer
   ============================================================ */
.el-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
    padding-bottom: 30px;
}

.el-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.el-footer-brand .el-logo {
    margin-bottom: 16px;
}
.el-footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.el-footer-col h4 {
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 1rem;
}
.el-footer-col ul {
    list-style: none;
}
.el-footer-col li {
    margin-bottom: 10px;
}
.el-footer-col a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s var(--ease);
}
.el-footer-col a:hover { color: var(--color-gold); }

.el-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.el-footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-gold);
}

/* Policies bar */
.el-footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}
.el-footer-policies a { color: var(--color-text-muted); }
.el-footer-policies a:hover { color: var(--color-gold); }

.el-footer-copy {
    text-align: center;
    margin-top: 20px;
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}

/* ============================================================
   Floating Buttons
   ============================================================ */
.el-floating {
    position: fixed;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
[dir="rtl"] .el-floating { left: 24px; bottom: 24px; }
[dir="ltr"] .el-floating { right: 24px; bottom: 24px; }

.el-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.el-float-btn:hover {
    background: var(--color-gold);
    color: #0A0A0C;
}
.el-float-btn svg {
    width: 22px;
    height: 22px;
}

.el-float-btn.el-scroll-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.4s var(--ease);
}
.el-float-btn.el-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================================
   Lightbox
   ============================================================ */
.el-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}
.el-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.el-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
.el-lightbox-close {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s var(--ease);
}
.el-lightbox-close:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.el-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}
.el-lightbox-nav:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.el-lightbox-prev { inset-inline-start: 20px; }
.el-lightbox-next { inset-inline-end: 20px; }

/* ============================================================
   Page Transition Curtain
   ============================================================ */
.el-curtain {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: var(--color-bg);
    transform: translateY(100%);
    pointer-events: none;
}

/* ============================================================
   Content Protection
   ============================================================ */
.el-protected img,
.el-protected video {
    user-select: none;
    -webkit-user-drag: none;
}
.el-protected .el-gallery-item {
    cursor: pointer;
}
.el-protected .el-gallery-item img {
    pointer-events: auto;
}

/* ============================================================
   GSAP Animation States
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
}
[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-animate="fade-in"] {
    transform: none;
}
[data-animate="fade-in"].animated {
    opacity: 1;
}

/* ============================================================
   Inner Page Hero
   ============================================================ */
.el-page-hero {
    position: relative;
    height: 50svh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.el-page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.el-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay-heavy);
}
.el-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ============================================================
   Two-Column Layout (Service Pages)
   ============================================================ */
.el-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap-lg);
    align-items: center;
}
.el-two-col-text h2 {
    margin-bottom: 20px;
}
.el-two-col-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
}
.el-two-col-media {
    border-radius: 12px;
    overflow: hidden;
}
.el-two-col-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
[dir="rtl"] .el-two-col {
    direction: rtl;
}

/* ============================================================
   Offer Grid (Sub-services / Categories)
   ============================================================ */
.el-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--grid-gap-lg);
}
.el-offer-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.el-offer-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
}
.el-offer-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.el-offer-icon svg {
    color: var(--color-gold);
    fill: var(--color-gold);
}
.el-offer-card h3 {
    font-size: var(--fs-body);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.el-offer-card p {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================================
   Vision & Mission Grid (About Page)
   ============================================================ */
.el-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap-lg);
}
.el-vm-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
}
.el-vm-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.el-vm-card h2 {
    font-size: var(--fs-h3);
    margin-bottom: 16px;
}
.el-vm-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-inline: auto;
}

/* ============================================================
   Goals Grid (About Page)
   ============================================================ */
.el-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--grid-gap-lg);
}
.el-goal-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.el-goal-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
}
.el-goal-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}
.el-goal-card h3 {
    font-size: var(--fs-body);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.el-goal-card p {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================================
   Contact Page Grid
   ============================================================ */
.el-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.el-contact-info h2,
.el-contact-form-wrap h2 {
    margin-bottom: 16px;
}
.el-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.el-contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(194, 167, 92, 0.1);
    border-radius: 10px;
}
.el-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.el-contact-item strong {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}
.el-contact-item a,
.el-contact-item span {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
.el-contact-item a:hover {
    color: var(--color-gold);
}

/* Map placeholder */
.el-map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.el-map-placeholder iframe {
    display: block;
}

/* ============================================================
   Filter Tabs (Gallery)
   ============================================================ */
.el-filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.el-filter-btn {
    padding: 10px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.el-filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.el-filter-btn.active {
    background: var(--color-gold);
    color: #0A0A0C;
    border-color: var(--color-gold);
}

/* Gallery item filter transition */
.el-gallery-item {
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.el-gallery-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* ============================================================
   404 Page
   ============================================================ */
.el-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    gap: 16px;
}
.el-404 h1 {
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--color-gold);
    line-height: 1;
}
.el-404 p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .el-nav { display: none; }
    .el-hamburger { display: flex; }
    .el-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .el-about-teaser {
        grid-template-columns: 1fr;
    }
    .el-services-grid {
        grid-template-columns: 1fr;
    }
    .el-gallery-grid {
        grid-template-columns: 1fr;
    }
    .el-gallery-item:nth-child(1),
    .el-gallery-item:nth-child(4) {
        grid-row: span 1;
    }
    .el-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .el-hero-content h1 {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }
    .el-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .el-vm-grid {
        grid-template-columns: 1fr;
    }
    .el-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .el-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .el-btn {
        width: 100%;
        justify-content: center;
    }
}
