/* =====================================================
   L'Atelier De L'Art - Main Styles
   French Luxury Interior Design
   ===================================================== */

:root {
    /* New Elegant Palette - Light Warm Theme */
    --bg-deep: #ffffff;
    --bg-panel: #ffffff;
    --bg-card: #f5f3f1;
    --bg-elevated: #ebe8e5;
    --bg-charcoal: #ddd8d3;

    /* Dark text tones for light background */
    --text-cream: #2d2a28;
    --text-ivory: #1a1917;
    --text-muted: #5a5651;
    --text-soft: #7a7570;
    --text-light: #3d3a38;

    /* Gold spectrum */
    --accent-gold: #c9a861;
    --accent-gold-light: #d4b87a;
    --accent-gold-pale: #e0ca94;
    --accent-gold-dim: #a08540;
    --accent-gold-dark: #806830;

    /* Complementary colors */
    --accent-burgundy: #722F37;
    --accent-burgundy-light: #8B3A44;
    --accent-champagne: #ded2c1;
    --accent-bronze: #b8956c;

    /* Borders & Effects */
    --border-subtle: rgba(222, 210, 193, 0.12);
    --border-gold: rgba(201, 168, 97, 0.4);
    --border-cream: rgba(222, 210, 193, 0.25);
    --border-strong: rgba(201, 168, 97, 0.6);
    --glow-gold: rgba(201, 168, 97, 0.12);
    --glow-gold-strong: rgba(201, 168, 97, 0.2);

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-display: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-arabic: 'IBM Plex Sans Arabic', sans-serif;

    /* Spacing */
    --container-padding: 6vw;
    --section-gap: 12vh;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-cream);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.8;
    max-width: 100vw;
    position: relative;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f3f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold-dim) #f5f3f1;
}

/* === ENHANCED OVERLAYS === */

/* Noise texture for depth */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === MAGNIFICENT FRENCH BAROQUE PATTERN === */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.04;
    background-size: 200px 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='goldGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ded2c1'/%3E%3Cstop offset='50%25' stop-color='%23c9a861'/%3E%3Cstop offset='100%25' stop-color='%23ded2c1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23goldGrad)'%3E%3Cpath d='M100 25c-3 0-5 10-5 16 0 5 2 8 5 11 3-3 5-6 5-11 0-6-2-16-5-16zm-12 24c-6 3-14 10-14 18 0 5 3 8 6 8 4 0 7-4 8-8 0 5 3 14 12 20v-6c-6-3-9-11-9-17 0-8-1-13-3-15zm24 0c-2 2-3 7-3 15 0 6-3 14-9 17v6c9-6 12-15 12-20 1 4 4 8 8 8 3 0 6-3 6-8 0-8-8-15-14-18zM100 82c-3 0-5 2-5 5v12h10V87c0-3-2-5-5-5z'/%3E%3Cpath d='M15 15c0 12 8 22 18 26M185 15c0 12-8 22-18 26M15 185c0-12 8-22 18-26M185 185c0-12-8-22-18-26' stroke='%23ded2c1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30 100c15-8 25-5 35 5-10-15-5-25 5-35M170 100c-15-8-25-5-35 5 10-15 5-25-5-35M100 30c-8 15-5 25 5 35-15-10-25-5-35 5M100 170c-8-15-5-25 5-35-15 10-25 5-35-5' stroke='%23ded2c1' stroke-width='1' fill='none' opacity='0.7' stroke-linecap='round'/%3E%3Cpath d='M100 160l8-8-8-8-8 8z' fill-opacity='0.6'/%3E%3Cpath d='M40 100l6-6-6-6-6 6z' fill-opacity='0.5'/%3E%3Cpath d='M160 100l6-6-6-6-6 6z' fill-opacity='0.5'/%3E%3Cpath d='M50 50c-1 0-2 3-2 5s1 2 2 3c1-1 2-1 2-3s-1-5-2-5zm-4 7c-2 1-4 3-4 6 0 2 1 3 2 3 1 0 2-1 3-3 0 2 1 4 4 6v-2c-2-1-3-3-3-5 0-3 0-4-1-5zm8 0c0 1-1 2-1 5 0 2-1 4-3 5v2c3-2 4-4 4-6 0 2 2 3 3 3 1 0 2-1 2-3 0-3-3-5-4-6z' transform='translate(0,0)' fill-opacity='0.4'/%3E%3Cpath d='M50 50c-1 0-2 3-2 5s1 2 2 3c1-1 2-1 2-3s-1-5-2-5zm-4 7c-2 1-4 3-4 6 0 2 1 3 2 3 1 0 2-1 3-3 0 2 1 4 4 6v-2c-2-1-3-3-3-5 0-3 0-4-1-5zm8 0c0 1-1 2-1 5 0 2-1 4-3 5v2c3-2 4-4 4-6 0 2 2 3 3 3 1 0 2-1 2-3 0-3-3-5-4-6z' transform='translate(100,0)' fill-opacity='0.4'/%3E%3Cpath d='M50 50c-1 0-2 3-2 5s1 2 2 3c1-1 2-1 2-3s-1-5-2-5zm-4 7c-2 1-4 3-4 6 0 2 1 3 2 3 1 0 2-1 3-3 0 2 1 4 4 6v-2c-2-1-3-3-3-5 0-3 0-4-1-5zm8 0c0 1-1 2-1 5 0 2-1 4-3 5v2c3-2 4-4 4-6 0 2 2 3 3 3 1 0 2-1 2-3 0-3-3-5-4-6z' transform='translate(0,100)' fill-opacity='0.4'/%3E%3Cpath d='M50 50c-1 0-2 3-2 5s1 2 2 3c1-1 2-1 2-3s-1-5-2-5zm-4 7c-2 1-4 3-4 6 0 2 1 3 2 3 1 0 2-1 3-3 0 2 1 4 4 6v-2c-2-1-3-3-3-5 0-3 0-4-1-5zm8 0c0 1-1 2-1 5 0 2-1 4-3 5v2c3-2 4-4 4-6 0 2 2 3 3 3 1 0 2-1 2-3 0-3-3-5-4-6z' transform='translate(100,100)' fill-opacity='0.4'/%3E%3Ccircle cx='100' cy='100' r='3' fill-opacity='0.3'/%3E%3Ccircle cx='25' cy='100' r='2' fill-opacity='0.25'/%3E%3Ccircle cx='175' cy='100' r='2' fill-opacity='0.25'/%3E%3Ccircle cx='100' cy='25' r='2' fill-opacity='0.25'/%3E%3Ccircle cx='100' cy='175' r='2' fill-opacity='0.25'/%3E%3Cpath d='M60 100h-20M140 100h20M100 60v-20M100 140v20' stroke='%23ded2c1' stroke-width='0.5' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black 30%, transparent 70%);
    animation: patternFloat 60s ease-in-out infinite;
}

@keyframes patternFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.02) rotate(0.5deg);
    }
}

/* Secondary pattern layer for depth */
.pattern-overlay-secondary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.025;
    background-size: 300px 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg stroke='%23ded2c1' fill='none' stroke-width='0.5'%3E%3Ccircle cx='150' cy='150' r='100' opacity='0.3'/%3E%3Ccircle cx='150' cy='150' r='80' opacity='0.2'/%3E%3Ccircle cx='150' cy='150' r='120' opacity='0.15'/%3E%3Cpath d='M150 30v40M150 230v40M30 150h40M230 150h40' opacity='0.4'/%3E%3Cpath d='M70 70l30 30M200 70l-30 30M70 230l30-30M200 230l-30-30' opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat2 80s ease-in-out infinite reverse;
}

@keyframes patternFloat2 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Vignette overlay for cinematic effect - disabled for light theme */
.vignette-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8999;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

/* === CUSTOM CURSOR (DISABLED) === */
.cursor,
.cursor-follower {
    display: none !important;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}

.heading-xl {
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.02em;
    color: var(--text-cream);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    font-family: var(--font-display) !important;
}

.heading-xl span {
    display: block;
    font-style: italic;
    font-weight: 300;
    font-family: var(--font-display) !important;
}

.heading-lg {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--text-cream);
    position: relative;
}

.heading-md {
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

.text-body {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 60ch;
    font-weight: 300;
}

.text-italic {
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* === BUTTONS === */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--border-gold);
    color: var(--text-cream);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Hide hero elements before GSAP animation */
.hero .btn-luxury,
.hero-subtitle,
.hero-tagline,
.hero .ornament-divider,
.scroll-indicator {
    visibility: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-luxury::after {
    content: '\2192';
    margin-left: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    display: inline-block;
}

.btn-luxury:hover {
    color: #ffffff;
    border-color: var(--accent-gold);
    font-weight: 500;
}

.btn-luxury:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-luxury:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* === ORNATE DIVIDERS === */
.ornament-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    position: relative;
}

.ornament-divider::before,
.ornament-divider::after {
    content: '';
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.5;
}

.ornament-icon {
    color: var(--accent-gold);
    margin: 0 2rem;
    opacity: 1;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Grand section divider */
.section-divider {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-charcoal);
}

.section-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold) 20%, var(--border-gold) 80%, transparent);
}

.section-divider-ornament {
    position: relative;
    z-index: 1;
    background: var(--bg-charcoal);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-divider-ornament::before,
.section-divider-ornament::after {
    content: '\2726';
    color: var(--accent-gold);
    font-size: 0.8rem;
    opacity: 0.6;
}

.section-divider-ornament i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* === LAYOUT === */
.container {
    padding: 0 var(--container-padding);
    width: 100%;
    margin: 0 auto;
    max-width: 1800px;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(15, 18, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 164, 92, 0.2);
    padding: 1rem var(--container-padding);
}

nav.scrolled .nav-logo-img {
    filter: brightness(0) invert(1);
}

nav.scrolled .nav-links a {
    color: #f5f0e8;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(0) invert(1) sepia(0.3) saturate(1.5);
}

nav.scrolled .nav-logo:hover .nav-logo-img {
    filter: brightness(0) invert(1) sepia(0.3) saturate(1.5);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    color: #ffffff;
}

.nav-links a::before {
    content: '\2726';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%) scale(0);
    font-size: 0.6rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: width 0.4s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-links a:hover::before {
    transform: translateX(-50%) scale(1);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--accent-gold);
    width: 48px;
    height: 48px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-deep);
    border-color: var(--accent-gold);
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 5, 5, 0.65) 0%,
            rgba(5, 5, 5, 0.45) 30%,
            rgba(5, 5, 5, 0.45) 60%,
            rgba(5, 5, 5, 0.85) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.1);
    filter: sepia(15%) contrast(1.1) brightness(0.85);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1000px;
}

/* Ornate French Frame for Hero */
.hero-frame {
    position: absolute;
    inset: 80px;
    pointer-events: none;
    z-index: 1;
}

.hero-frame-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-subtle);
}

.hero-frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-gold);
}

.hero-frame-corner.top-left {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.hero-frame-corner.top-right {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.hero-frame-corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.hero-frame-corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.hero-frame-ornament {
    position: absolute;
    color: var(--accent-gold);
    font-size: 1.8rem;
    opacity: 0.5;
}

.hero-frame-ornament.top {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-frame-ornament.bottom {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.hero-frame-ornament.left {
    left: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

.hero-frame-ornament.right {
    right: -18px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.hero-subtitle span {
    display: inline-block;
}

.hero-subtitle-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold));
    opacity: 0.6;
}

.hero-subtitle-line.right {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

/* Shimmer effect for hero title */
.heading-xl .shimmer {
    background: linear-gradient(120deg,
            var(--text-cream) 0%,
            var(--accent-gold-light) 25%,
            var(--text-cream) 50%,
            var(--accent-gold-light) 75%,
            var(--text-cream) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* Hero Logo */
.hero-logo {
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.hero-logo-img {
    max-width: 500px;
    width: 80vw;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 30px rgba(0, 0, 0, 0.2));
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold-dim), var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.scroll-indicator-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    position: relative;
}

.scroll-indicator-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--accent-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(30px);
        opacity: 0;
    }
}

/* === PHILOSOPHY SECTION === */
.philosophy-section {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--bg-charcoal);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-text {
    max-width: 550px;
}

.philosophy-image {
    position: relative;
}

.philosophy-image-frame {
    position: relative;
    padding: 20px;
}

.philosophy-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-gold);
    transform: translate(15px, 15px);
}

.philosophy-image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: sepia(10%);
    transition: filter 0.5s;
}

.philosophy-image-frame:hover img {
    filter: sepia(0%);
}

/* Featured quote style */
.featured-quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-ivory);
    line-height: 1.6;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 2rem 0;
    position: relative;
}

.featured-quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: var(--font-display);
}

/* === PROCESS SECTION === */
.process-section {
    padding: var(--section-gap) 0;
    background: var(--bg-charcoal);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.process-step {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-card);
    transition: background 0.4s;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: var(--bg-elevated);
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: opacity 0.4s;
}

.process-step:hover .step-number {
    opacity: 0.4;
}

.step-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-gold);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    transition: all 0.4s;
}

.process-step:hover .step-icon {
    background: var(--accent-gold);
    color: var(--bg-deep);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === SERVICES SECTION === */
.services-section {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--bg-charcoal);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-deep);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-cream);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: var(--bg-panel);
}

/* Diamond icon frame */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-gold);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    transition: all 0.4s ease;
    background: var(--bg-panel);
}

.service-icon-box::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--border-gold);
}

.service-card:hover .service-icon-box {
    background: var(--accent-gold);
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 0 25px var(--glow-gold-strong);
}

.service-icon {
    font-size: 1.4rem;
    color: var(--accent-gold);
    transform: rotate(-45deg);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    color: var(--bg-deep);
    transform: rotate(-45deg) scale(1.1);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-cream);
    text-transform: uppercase;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* === QUOTE SECTION === */
.quote-section {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--bg-deep);
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M50 10c-1 0-2 4-2 6s1 3 2 4c1-1 2-2 2-4s-1-6-2-6zm-5 9c-2 1-5 4-5 7 0 2 1 3 2 3 2 0 3-2 3-3 0 2 1 5 5 8v-2c-3-1-4-4-4-6 0-4 0-5-1-7zm10 0c0 2-1 3-1 7 0 2-1 5-4 6v2c4-3 5-6 5-8 0 1 1 3 3 3 1 0 2-1 2-3 0-3-4-6-5-7z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.quote-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-marks {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--accent-gold);
    opacity: 0.15;
    line-height: 0.5;
    position: absolute;
}

.quote-marks.open {
    top: -30px;
    left: -40px;
}

.quote-marks.close {
    bottom: 0;
    right: -40px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--text-cream);
    line-height: 1.5;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.quote-author {
    margin-top: 2.5rem;
    color: var(--accent-gold);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.quote-translation {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-soft);
    font-style: italic;
}

/* === PARTNERS/SUPPLIERS SECTION === */
.partners-section {
    padding: var(--section-gap) 0;
    background: var(--bg-charcoal);
}

.clients-section {
    background: var(--bg-charcoal);
}


.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.clients-grid {
    grid-template-columns: repeat(4, 1fr);
}

.partner-logo {
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    min-height: 100px;
    width: calc(25% - 1.5rem);
    min-width: 200px;
}

.partner-logo:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    padding: var(--section-gap) 0;
    background: var(--bg-charcoal);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    grid-column: span 6;
    aspect-ratio: 4/3;
}

.portfolio-item.tall {
    grid-column: span 4;
    aspect-ratio: 3/5;
}

.portfolio-item.wide {
    grid-column: span 8;
    aspect-ratio: 16/9;
}

.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), filter 0.5s;
    filter: grayscale(20%) brightness(0.9);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}

/* Portfolio frame effect */
.portfolio-frame {
    position: absolute;
    inset: 15px;
    border: 1px solid transparent;
    transition: all 0.5s;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-frame {
    border-color: var(--accent-gold);
    inset: 20px;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-cream);
}

/* === MARQUEE === */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-deep);
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep), transparent);
}

.marquee-content {
    display: inline-flex;
    animation: scroll 45s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    margin: 0 3rem;
}

.marquee-divider {
    color: var(--accent-gold);
    opacity: 0.4;
    margin: 0 2rem;
    font-size: 0.8rem;
}

.client-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-muted);
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.client-name:hover {
    opacity: 0.8;
    color: var(--accent-gold);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* === CONTACT SECTION === */
.contact-section {
    padding: var(--section-gap) 0;
    background: var(--bg-charcoal);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
    margin: 2rem 0;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
    background: var(--accent-gold);
    color: var(--bg-deep);
}

.contact-item-content h4 {
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.contact-item-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Form styling */
.contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-control {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-gold);
    padding: 1.2rem 1rem;
    color: var(--text-cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-control::placeholder {
    color: var(--text-soft);
    transition: color 0.3s;
}

.form-control:focus::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

/* Form Message Styles */
.form-message {
    padding: 1rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-luxury:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    font-size: 1rem;
}

.social-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* === FOOTER === */
footer {
    padding: 4rem var(--container-padding) 3rem;
    border-top: none;
    background: var(--bg-charcoal);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo img {
    height: 35px;
    filter: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* === ARABIC LANGUAGE STYLES === */
html[dir="rtl"] {
    font-family: var(--font-arabic);
}

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
    font-family: var(--font-arabic);
    font-weight: 700;
}

html[dir="rtl"] .heading-xl {
    letter-spacing: 0;
    line-height: 1.4;
    font-weight: 700;
}

html[dir="rtl"] .heading-lg {
    letter-spacing: 0;
    font-weight: 700;
}

html[dir="rtl"] .heading-md {
    letter-spacing: 0.05em;
    font-weight: 700;
}

html[dir="rtl"] .text-body,
html[dir="rtl"] .service-desc,
html[dir="rtl"] .step-desc {
    font-weight: 600;
    line-height: 2.2;
}

html[dir="rtl"] .btn-luxury {
    font-weight: 700;
    letter-spacing: 0.02em;
}

html[dir="rtl"] .nav-links a {
    font-weight: 700;
    letter-spacing: 0.02em;
}

html[dir="rtl"] .service-title,
html[dir="rtl"] .step-title {
    font-weight: 700;
}

html[dir="rtl"] .featured-quote,
html[dir="rtl"] .quote-text {
    font-weight: 600;
    line-height: 2;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn-luxury::after {
    content: '\2190';
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .hero-subtitle-line {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

html[dir="rtl"] .hero-subtitle-line.right {
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

html[dir="rtl"] .contact-divider {
    background: linear-gradient(to left, var(--accent-gold), transparent);
}

html[dir="rtl"] .philosophy-image-frame::before {
    transform: translate(-15px, 15px);
}

html[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

/* === ENHANCED PORTFOLIO SECTION === */
.portfolio-section {
    padding: var(--section-gap) 0;
    overflow: hidden;
    background: var(--bg-charcoal);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-header>div {
    display: inline-block;
}

.portfolio-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.portfolio-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    flex: 1;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 280px;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.1);
}

.portfolio-card-content {
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-card);
}

.portfolio-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-cream);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.portfolio-card-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 400;
}

.portfolio-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--text-cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.portfolio-nav:hover {
    background: var(--accent-gold);
    color: var(--bg-deep);
    border-color: var(--accent-gold);
}

/* Portfolio RTL adjustments */
html[dir="rtl"] .portfolio-header {
    text-align: center;
}

html[dir="rtl"] .portfolio-carousel {
    flex-direction: row-reverse;
}

/* Arabic Language Switch */
.lang-switch {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* === ARABIC RTL FIX === */
/* Remove letter-spacing for Arabic to fix kashida display */
html[dir="rtl"] * {
    letter-spacing: 0 !important;
}

/* Apply Arabic font for RTL */
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .heading-lg,
html[dir="rtl"] .heading-md,
html[dir="rtl"] .heading-sm,
html[dir="rtl"] .text-body,
html[dir="rtl"] .btn-luxury {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}