/* ============================================================
   MASHAEL STUDIO — Main Stylesheet
   Cinematic Wedding Photography Studio
   Riyadh & Jeddah, Saudi Arabia
   ============================================================ */

:root {
    /* Colors - Olive & Gold Palette (redesigned 2026) */
    --bg: #F7F7EF;
    --bg-secondary: #F1ECE0;
    --bg-blush: #EFEDDF;
    --blush: #E5DDC1;
    --blush-deep: #D3C9A6;
    --rose: #7C8556;
    --champagne: #D3C9A6;
    --gold: #D3C9A6;
    --gold-deep: #B5A87E;
    --ink: #1F2F24;
    --ink-soft: #4A5A4D;
    --gray: #7A8780;
    --gray-light: #C8C2B4;
    --line: #E5E3D6;
    --white: #FFFFFF;

    /* New semantic tokens for olive accent (used in additions below) */
    --olive: #7C8556;
    --olive-soft: #A0A87B;
    --olive-deep: #5E6640;
    --surface: #FFFFFF;
    --surface-soft: #FDFCF6;

    /* Shadows (refined for sharper editorial look) */
    --shadow-sm: 0 1px 2px rgba(31,47,36,0.04);
    --shadow-md: 0 1px 3px rgba(31,47,36,0.04), 0 8px 24px rgba(31,47,36,0.06);
    --shadow-lg: 0 1px 3px rgba(31,47,36,0.04), 0 18px 48px rgba(31,47,36,0.10);

    /* Spacing */
    --container: 1280px;
    --section-padding: 120px;

    /* Typography - Tajawal (Arabic-first, clarity-focused) + Inter (English) */
    --font-display-ar: 'Tajawal', sans-serif;
    --font-display-en: 'Inter', sans-serif;
    --font-body-ar: 'Tajawal', sans-serif;
    --font-body-en: 'Inter', sans-serif;
}

/* ============================================================
   DARK MODE — toggleable via [data-theme="dark"]
   Inverts the palette while preserving all visual relationships
   ============================================================ */
[data-theme="dark"] {
    --bg: #161814;
    --bg-secondary: #1F2F24;
    --bg-blush: #232E27;
    --blush: #2A3A2F;
    --blush-deep: #3A4A3F;
    --rose: #A0A87B;
    --champagne: #D3C9A6;
    --gold: #D3C9A6;
    --gold-deep: #B5A87E;
    --ink: #F2EBE0;
    --ink-soft: #C8C2B4;
    --gray: #998D7F;
    --gray-light: #4A5A4D;
    --line: #2A3A2F;
    --white: #1F2F24;

    --olive: #A0A87B;
    --olive-soft: #7C8556;
    --olive-deep: #5E6640;
    --surface: #1F2F24;
    --surface-soft: #232E27;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 1px 3px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 1px 3px rgba(0,0,0,0.5), 0 18px 48px rgba(0,0,0,0.5);
}

/* Smooth theme transitions */
body, .nav, .nav.scrolled, .package-card, .service-card, .testimonial-card,
.about-card, .faq-item, .contact-form, input, textarea, select,
.featured-post, .featured-content, .footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body-ar);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

body.lang-en {
    font-family: var(--font-body-en);
    direction: ltr;
    text-align: left;
}

body.lang-en [dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Hide elements based on language */
.ar-only { display: block; }
.en-only { display: none; }
body.lang-en .ar-only { display: none; }
body.lang-en .en-only { display: block; }

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== NEW LOGO STYLING ========== */
.nav-logo-img {
    height: 38px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-fit: contain;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(124, 133, 86, 0.3));
}

.nav.scrolled .nav-logo-img {
    height: 32px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* ========== FALLING PETALS ANIMATION ========== */
.petal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -50px;
    width: 14px;
    height: 14px;
    opacity: 0;
    animation: fallPetal var(--duration, 15s) linear var(--delay, 0s) infinite;
}

.petal svg {
    width: 100%;
    height: 100%;
}

@keyframes fallPetal {
    0% {
        opacity: 0;
        transform: translateY(-100px) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translateY(110vh) translateX(var(--sway, 100px)) rotate(720deg);
    }
}

/* ========== FLOATING PARTICLES (Sparkles) ========== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle var(--duration, 8s) ease-in-out var(--delay, 0s) infinite;
}

.particle.gold { background: #7C8556; box-shadow: 0 0 8px rgba(124, 133, 86, 0.8); }
.particle.blush { background: #D3C9A6; box-shadow: 0 0 8px rgba(211, 201, 166, 0.8); }
.particle.champagne { background: #D3C9A6; box-shadow: 0 0 8px rgba(212, 184, 150, 0.8); }

@keyframes floatParticle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: translateY(var(--float-y, -50px)) translateX(var(--float-x, 30px)) scale(1);
    }
}

/* ========== CUSTOM CURSOR (Enhanced) ========== */
.cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                background 0.3s ease,
                opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
    transform: translate(-50%, -50%);
}

.cursor-inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.3s ease, background 0.3s ease;
    opacity: 0;
    will-change: transform;
    transform: translate(-50%, -50%);
}

/* Show cursor on devices with hover capability (desktop) */
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor .cursor-outer, 
    body.has-custom-cursor .cursor-inner {
        opacity: 1 !important;
    }
    
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor input,
    body.has-custom-cursor select,
    body.has-custom-cursor textarea {
        cursor: none !important;
    }
}

.cursor-outer.expanded {
    width: 80px;
    height: 80px;
    border-color: var(--gold-deep);
    border-width: 2px;
    background: rgba(124, 133, 86, 0.05);
}

.cursor-inner.expanded {
    width: 0;
    height: 0;
    opacity: 0;
}

.cursor-outer.gallery-hover {
    width: 100px;
    height: 100px;
    background: var(--gold);
    border-color: var(--gold);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hide old cursor-dot */
.cursor-dot {
    display: none !important;
}

/* ========== HEART BEAT ========== */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.featured-stat:nth-child(1) .featured-stat-icon svg {
    animation: heartBeat 2.5s ease-in-out infinite;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 1.5px solid var(--gold);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator::before {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0; }
}

/* ========== INSTAGRAM PROFILE LINK ========== */
.ig-profile-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ig-profile-link:hover {
    transform: translateY(-3px);
}

/* ========== SHIMMER ON GALLERY ITEMS ========== */
.masonry-item .shimmer-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    background-size: 200% 200%;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    border-radius: inherit;
}

.masonry-item:hover .shimmer-effect {
    opacity: 1;
    animation: shimmerSweep 1.2s ease;
}

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    padding: 15px 0;
    border-bottom-color: var(--line);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display-en);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--ink);
}

.nav-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gold-deep);
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--gold-deep);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

body.lang-en .nav-menu a::after {
    right: auto;
    left: 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    padding: 8px 18px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-deep);
    background: transparent;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.lang-toggle:hover {
    background: var(--gold);
    color: white;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--ink);
    transform: rotate(15deg);
}

.theme-toggle svg { display: block; }
.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }

.btn-primary {
    padding: 12px 28px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--rose);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31, 47, 36, 0.25);
}

/* Dark mode: primary button needs a brighter accent so it stands out.
   We override bg/color with hardcoded values (--ink is inverted in dark mode)
   and disable the ::before slide-in overlay so the gold bg is fully visible. */
[data-theme="dark"] .btn-primary {
    background: #D3C9A6 !important;
    color: #1F2F24 !important;
}
[data-theme="dark"] .btn-primary:hover {
    background: #7C8556 !important;
    color: #F7F7EF !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}
[data-theme="dark"] .btn-primary::before {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: 0.3s;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, var(--bg-blush) 0%, transparent 60%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(229, 221, 193, 0.25) 0%, transparent 70%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: var(--font-display-ar);
    font-size: 72px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

body.lang-en .hero h1 {
    font-family: var(--font-display-en);
    font-style: italic;
    font-weight: 400;
}

.hero h1 .accent {
    color: var(--gold-deep);
    font-style: italic;
}

.hero p {
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 12px 28px;
    border: 1px solid var(--ink);
    border-radius: 30px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--ink);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .num {
    font-family: var(--font-display-en);
    font-size: 36px;
    font-weight: 500;
    color: var(--gold-deep);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat .label {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s 0.3s ease forwards;
    opacity: 0;
}

.hero-image-main {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #EFEDDF 0%, #E5DDC1 50%, #D3C9A6 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(139, 111, 71, 0.2);
}

.hero-image-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212,184,150,0.3) 0%, transparent 50%);
}

.hero-image-main svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-image-main picture,
.hero-image-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
}

.hero-image-decoration {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 50%;
    aspect-ratio: 1;
    background: var(--blush);
    border-radius: 4px;
    z-index: -1;
}

body.lang-en .hero-image-decoration {
    right: auto;
    left: -40px;
}

.hero-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--surface);
    padding: 15px 22px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

body.lang-en .hero-badge {
    left: auto;
    right: 30px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

/* ========== SECTION HEADERS ========== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--gold-deep);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display-ar);
    font-size: 56px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 20px;
    font-weight: 500;
}

body.lang-en .section-title {
    font-family: var(--font-display-en);
    font-style: italic;
    font-weight: 400;
}

.section-title .accent {
    color: var(--gold-deep);
    font-style: italic;
}

.section-desc {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--bg);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    position: relative;
    aspect-ratio: 4/5;
}

.about-img-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 75%;
    background: linear-gradient(135deg, #EFEDDF, #E5DDC1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

body.lang-en .about-img-1 {
    right: auto;
    left: 0;
}

.about-img-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 60%;
    background: linear-gradient(135deg, #D3C9A6, #7C8556);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 8px solid var(--bg);
}

.about-img-1 picture,
.about-img-1 img,
.about-img-2 picture,
.about-img-2 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

body.lang-en .about-img-2 {
    left: auto;
    right: 0;
}

.about-content h2 {
    margin-bottom: 30px;
    text-align: right;
}

body.lang-en .about-content h2 {
    text-align: left;
}

.about-content p {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 22px;
    line-height: 1.85;
}

.about-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-blush);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-deep);
}

.about-feature-text strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.about-feature-text p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--surface);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid transparent;
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(139, 111, 71, 0.12);
    border-color: var(--blush);
}

.service-image {
    height: 280px;
    background: linear-gradient(135deg, #EFEDDF, #E5DDC1);
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(2) .service-image {
    background: linear-gradient(135deg, #f0e6d8, #D3C9A6);
}

.service-card:nth-child(3) .service-image {
    background: linear-gradient(135deg, #e8dfd5, #c9bfb5);
}

.service-card:nth-child(4) .service-image {
    background: linear-gradient(135deg, #EFEDDF, #D3C9A6);
}

.service-card:nth-child(5) .service-image {
    background: linear-gradient(135deg, #E5DDC1, #A0A87B);
}

.service-card:nth-child(6) .service-image {
    background: linear-gradient(135deg, #D3C9A6, #7C8556);
}

.service-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.85);
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold-deep);
    letter-spacing: 0.5px;
}

body.lang-en .service-tag {
    right: auto;
    left: 20px;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-family: var(--font-display-ar);
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 12px;
    font-weight: 500;
}

body.lang-en .service-content h3 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.service-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-deep);
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 14px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

body[dir="rtl"] .service-link svg {
    transform: scaleX(-1);
}

/* ========== FEATURED INSTAGRAM PROFILE CARD ========== */
.featured-post {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 221, 193, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.featured-post::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatReverse 18s ease-in-out infinite;
    pointer-events: none;
}

.instagram-profile-card {
    display: block;
    max-width: 880px;
    margin: 80px auto 0;
    position: relative;
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(139, 111, 71, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
}

.instagram-profile-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 40px 100px rgba(139, 111, 71, 0.22),
        0 5px 15px rgba(220, 39, 67, 0.1);
}

/* Animated Background */
.ig-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ig-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    transition: all 0.8s ease;
}

.ig-gradient-orb.orb-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f09433, #e6683c);
    top: -100px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite;
}

.ig-gradient-orb.orb-2 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #dc2743, #cc2366);
    bottom: -80px;
    left: -80px;
    animation: orbFloat 14s ease-in-out infinite reverse;
}

.ig-gradient-orb.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #bc1888, #cc2366);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 25px); }
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.instagram-profile-card:hover .ig-gradient-orb.orb-1 {
    transform: translate(40px, -30px) scale(1.1);
}

.instagram-profile-card:hover .ig-gradient-orb.orb-2 {
    transform: translate(-30px, 40px) scale(1.1);
}

/* Card Content */
.ig-card-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px 30px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Avatar */
.ig-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.ig-avatar-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, 
        #f09433 0%, 
        #e6683c 25%, 
        #dc2743 50%, 
        #cc2366 75%, 
        #bc1888 100%);
    position: relative;
    animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ig-avatar-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        #f09433 0%, 
        #e6683c 25%, 
        #dc2743 50%, 
        #cc2366 75%, 
        #bc1888 100%);
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.ig-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--surface);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: ringRotate 8s linear infinite reverse;
}

.ig-avatar img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.instagram-profile-card:hover .ig-avatar img {
    transform: scale(1.05);
}

.ig-verified {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1da1f2, #0d6cb3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(29, 161, 242, 0.4);
    animation: pulseScale 2s ease-in-out infinite;
}

body.lang-en .ig-verified {
    right: auto;
    left: 8px;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Info */
.ig-info {
    flex: 1;
}

.ig-username {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display-en);
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.ig-platform-icon {
    color: #cc2366;
    flex-shrink: 0;
}

.ig-bio {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats */
.ig-stats {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

body.lang-en .ig-stats {
    border-right: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.ig-stat {
    text-align: center;
}

.ig-stat strong {
    display: block;
    font-family: var(--font-display-en);
    font-size: 26px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 600;
}

.ig-stat-highlight strong {
    background: linear-gradient(135deg, #cc2366, #f09433);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ig-stat span {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Follow Button */
.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, 
        #f09433 0%, 
        #dc2743 50%, 
        #bc1888 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ig-follow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #bc1888 0%, 
        #dc2743 50%, 
        #f09433 100%);
    transition: left 0.5s ease;
    z-index: 0;
}

.instagram-profile-card:hover .ig-follow-btn::before {
    left: 0;
}

.instagram-profile-card:hover .ig-follow-btn {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 39, 67, 0.4);
}

.ig-follow-btn svg,
.ig-follow-btn span {
    position: relative;
    z-index: 1;
}

/* Arrow */
.ig-arrow {
    position: absolute;
    top: 25px;
    left: 25px;
    color: var(--ink-soft);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.lang-en .ig-arrow {
    left: auto;
    right: 25px;
}

body.lang-en .ig-arrow svg {
    transform: scaleX(1);
}

body[dir="rtl"] .ig-arrow svg {
    transform: scaleX(-1);
}

.instagram-profile-card:hover .ig-arrow {
    opacity: 1;
    color: #cc2366;
    transform: translate(-8px, -8px) rotate(-10deg);
}

body.lang-en .instagram-profile-card:hover .ig-arrow {
    transform: translate(8px, -8px) rotate(10deg);
}

/* Bottom Bar */
.ig-bottom-bar {
    position: relative;
    z-index: 2;
    padding: 20px 50px;
    background: rgba(248, 242, 236, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--line);
}

.ig-bottom-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ig-bottom-item:hover {
    color: var(--gold-deep);
    transform: translateY(-2px);
}

.ig-bottom-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .ig-card-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        padding: 50px 30px 25px;
    }
    
    .ig-avatar-wrapper {
        margin: 0 auto;
    }
    
    .ig-username {
        justify-content: center;
        font-size: 26px;
    }
    
    .ig-stats {
        border: none;
        padding: 20px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        justify-content: center;
    }
    
    .ig-follow-btn {
        margin: 0 auto;
    }
    
    .ig-arrow {
        display: none;
    }
    
    .ig-bottom-bar {
        padding: 20px 25px;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .ig-avatar-ring {
        width: 110px;
        height: 110px;
    }
    
    .ig-stats {
        gap: 20px;
    }
    
    .ig-stat strong {
        font-size: 22px;
    }
}

/* ========== PORTFOLIO - MASONRY GALLERY ========== */
.portfolio {
    background: var(--bg);
    position: relative;
}

/* Loader */
.gallery-loader {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.gallery-loader.active {
    display: block;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--line);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-loader p {
    color: var(--gray);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 4;
    column-gap: 15px;
    margin-top: 60px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

.masonry-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.masonry-item:hover {
    box-shadow: 0 20px 50px rgba(139, 111, 71, 0.25);
    transform: translateY(-5px);
}

.masonry-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-blush);
}

.masonry-image::before {
    content: '';
    display: block;
    padding-bottom: var(--aspect-ratio, 100%);
}

.masonry-image .image-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover .image-bg {
    transform: scale(1.08);
}

/* Decorative SVG inside each placeholder */
.image-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

/* Image overlay */
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 47, 36, 0.85) 0%, rgba(31, 47, 36, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 2;
}

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

.masonry-info {
    color: white;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.masonry-item:hover .masonry-info {
    transform: translateY(0);
}

.masonry-info h4 {
    font-family: var(--font-display-ar);
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 500;
}

body.lang-en .masonry-info h4 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.masonry-info span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--champagne);
    text-transform: uppercase;
    font-weight: 500;
}

.masonry-info .view-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.lang-en .masonry-info .view-icon {
    left: auto;
    right: 15px;
}

.masonry-item:hover .view-icon {
    opacity: 1;
    transform: scale(1);
}

/* Load More Button */
.gallery-more {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    cursor: pointer;
    padding: 14px 32px;
    background: var(--surface);
    border: 1px solid var(--ink);
    color: var(--ink);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: var(--ink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.load-more-btn svg {
    transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

.load-more-btn.loading svg {
    animation: spin 0.6s linear infinite;
}

.load-more-btn.hidden {
    display: none;
}

/* Instagram CTA */
.instagram-cta {
    margin-top: 80px;
    padding: 40px 50px;
    background: linear-gradient(135deg, #F7F7EF 0%, #EFEDDF 100%);
    border-radius: 16px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(139, 111, 71, 0.08);
}

.instagram-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instagram-cta-content {
    flex: 1;
}

.instagram-cta-content h3 {
    font-family: var(--font-display-ar);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 500;
}

body.lang-en .instagram-cta-content h3 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.instagram-cta-content p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.instagram-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
}

.instagram-btn::before {
    background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%) !important;
}

/* Dark mode adjustment for Instagram button (override the dark-mode btn-primary rule) */
[data-theme="dark"] .instagram-btn {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 13, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image-wrapper {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    min-width: 400px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper img,
.lightbox-image-wrapper svg {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-info {
    text-align: center;
    color: white;
}

.lightbox-title {
    font-family: var(--font-display-ar);
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 500;
}

body.lang-en .lightbox-title {
    font-family: var(--font-display-en);
    font-style: italic;
}

.lightbox-category {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 10px;
}

.lightbox-counter {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

body.lang-en .lightbox-close {
    right: auto;
    left: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

body.lang-en .lightbox-prev {
    left: auto;
    right: 30px;
}

body.lang-en .lightbox-next {
    right: auto;
    left: 30px;
}

body[dir="rtl"] .lightbox-prev svg,
body[dir="rtl"] .lightbox-next svg {
    transform: scaleX(-1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Masonry */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 3;
    }
    
    .instagram-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 2;
        column-gap: 10px;
    }
    
    .masonry-item {
        margin-bottom: 10px;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-image-wrapper {
        min-width: 280px;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        column-count: 1;
    }
}

/* ========== PORTFOLIO LEGACY (kept for compatibility) ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: linear-gradient(135deg, #EFEDDF, #E5DDC1);
}

.portfolio-item:nth-child(1) { 
    grid-row: span 2;
    aspect-ratio: 1/2;
    background: linear-gradient(135deg, #f0e6d8, #D3C9A6);
}
.portfolio-item:nth-child(2) {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #E5DDC1, #A0A87B);
}
.portfolio-item:nth-child(3) {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #EFEDDF, #D3C9A6);
}
.portfolio-item:nth-child(4) {
    grid-row: span 2;
    aspect-ratio: 1/2;
    background: linear-gradient(135deg, #D3C9A6, #7C8556);
}
.portfolio-item:nth-child(5) {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #e8dfd5, #c9bfb5);
}
.portfolio-item:nth-child(6) {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #EFEDDF, #E5DDC1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 47, 36, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

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

.portfolio-info {
    color: white;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    font-family: var(--font-display-ar);
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 500;
}

body.lang-en .portfolio-info h4 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.portfolio-info span {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--champagne);
    text-transform: uppercase;
    font-weight: 500;
}

.portfolio-view-all {
    text-align: center;
    margin-top: 60px;
}

/* ========== WHY US ========== */
.why-us {
    background: var(--ink);
    color: white;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(124, 133, 86, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .section-title {
    color: white;
}

.why-us .section-desc {
    color: var(--gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(124, 133, 86, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--champagne);
    transition: all 0.4s ease;
}

.why-item:hover .why-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1);
}

.why-item h3 {
    font-family: var(--font-display-ar);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
    color: white;
}

body.lang-en .why-item h3 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.why-item p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
}

/* ========== PACKAGES ========== */
.packages {
    background: var(--bg-secondary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.package {
    background: var(--surface);
    border-radius: 8px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid var(--line);
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(31, 47, 36, 0.12);
}

.package.featured {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--gold);
    transform: scale(1.03);
}

[data-theme="dark"] .package.featured {
    background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.package-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-deep);
    color: white;
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.package-name {
    font-family: var(--font-display-ar);
    font-size: 28px;
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 500;
}

body.lang-en .package-name {
    font-family: var(--font-display-en);
    font-style: italic;
}

.package-subtitle {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.package-price {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed var(--line);
}

.package-price .num {
    font-family: var(--font-display-en);
    font-size: 56px;
    font-weight: 500;
    color: var(--gold-deep);
    line-height: 1;
}

.package-price .currency {
    font-size: 16px;
    color: var(--ink-soft);
    margin-right: 5px;
}

body.lang-en .package-price .currency {
    margin-right: 0;
    margin-left: 5px;
}

.package-price .period {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
    letter-spacing: 1px;
}

.package-features {
    list-style: none;
    text-align: right;
    margin-bottom: 35px;
}

body.lang-en .package-features {
    text-align: left;
}

.package-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.package .btn-primary {
    width: 100%;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--bg);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial {
    background: var(--surface);
    padding: 40px 35px;
    border-radius: 8px;
    border: 1px solid var(--line);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border-color: var(--blush);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--gold);
}

.testimonial-text {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 25px;
    font-style: italic;
    min-height: 130px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blush), var(--champagne));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-family: var(--font-display-en);
    font-size: 18px;
}

.testimonial-author-info strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
}

.testimonial-author-info span {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-blush) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 30%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(229, 221, 193, 0.3), transparent 70%);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    text-align: right;
    margin-bottom: 25px;
}

body.lang-en .contact-info h2 {
    text-align: left;
}

.contact-info > p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 45px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--gold);
    transform: translateX(-5px);
}

body.lang-en .contact-method:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-blush);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.contact-detail span {
    color: var(--gray);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--surface);
    padding: 50px 45px;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(139, 111, 71, 0.08);
    border: 1px solid var(--line);
}

.contact-form h3 {
    font-family: var(--font-display-ar);
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 500;
}

body.lang-en .contact-form h3 {
    font-family: var(--font-display-en);
    font-style: italic;
}

.contact-form > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    transition: all 0.3s ease;
    direction: rtl;
}

body.lang-en .form-group input,
body.lang-en .form-group select,
body.lang-en .form-group textarea {
    direction: ltr;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(124, 133, 86, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--ink);
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.25);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--ink);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-family: var(--font-display-en);
    font-size: 32px;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-brand p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--champagne);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--champagne);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-light);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 50;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

body.lang-en .whatsapp-float {
    left: auto;
    right: 30px;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== FAQ SECTION ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(139, 111, 71, 0.08);
}

.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--ink);
    font-size: 16px;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--gold-deep);
}

.faq-arrow {
    color: var(--gold-deep);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 28px 24px;
    color: var(--ink-soft);
    line-height: 1.85;
    font-size: 15px;
    animation: faqSlideDown 0.4s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ANIMATIONS ON SCROLL ========== */
/* All elements ARE ALWAYS VISIBLE - guaranteed no matter what */
.fade-in,
.fade-left,
.fade-right,
.scale-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Optional subtle entrance animation when JS marks an element */
.fade-in.scroll-enter {
    animation: gentleFadeIn 0.9s ease-out both;
}

.fade-left.scroll-enter {
    animation: gentleSlideLeft 1s ease-out both;
}

.fade-right.scroll-enter {
    animation: gentleSlideRight 1s ease-out both;
}

.scale-in.scroll-enter {
    animation: gentleScale 1s ease-out both;
}

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

@keyframes gentleSlideLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gentleSlideRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gentleScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========== FLOATING ELEMENTS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scaleBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ========== HERO ANIMATIONS ========== */
.hero-image-main {
    animation: scaleBreath 8s ease-in-out infinite;
}

.hero-image-decoration {
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    animation: floatReverse 4s ease-in-out infinite;
}

.hero-image-main svg circle {
    animation: sparkle 3s ease-in-out infinite;
}

.hero-image-main svg circle:nth-child(2) { animation-delay: 0.5s; }
.hero-image-main svg circle:nth-child(3) { animation-delay: 1s; }
.hero-image-main svg circle:nth-child(4) { animation-delay: 1.5s; }
.hero-image-main svg circle:nth-child(5) { animation-delay: 2s; }

/* ========== HOVER MICRO-INTERACTIONS ========== */
.service-card {
    transform: translateY(0);
}

.service-card .service-image {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.service-card .service-image-icon {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-image-icon {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
}

/* Package card breathing */
.package.featured {
    animation: scaleBreath 6s ease-in-out infinite;
}

.package-features li {
    transition: padding 0.3s ease;
}

.package-features li:hover {
    padding-right: 25px;
}

body.lang-en .package-features li:hover {
    padding-right: 12px;
    padding-left: 25px;
}

/* Portfolio image zoom on hover */
.portfolio-item {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover::before {
    transform: scale(1.1);
}

/* Buttons advanced hover */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

body.lang-en .btn-primary::before {
    right: auto;
    left: -100%;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover::before {
    right: 0;
}

body.lang-en .btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-secondary:hover::before {
    transform: scaleY(1);
}

/* Logo hover animation */
.nav-logo-circle {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-logo:hover .nav-logo-circle {
    background: var(--gold);
    color: white;
    transform: rotate(360deg);
}

/* Section title underline reveal */
.section-eyebrow {
    overflow: hidden;
}

/* Testimonial card hover effect */
.testimonial {
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 30px;
    font-family: var(--font-display-en);
    font-size: 120px;
    color: var(--blush);
    opacity: 0.4;
    line-height: 1;
    transition: all 0.4s ease;
}

body.lang-en .testimonial::before {
    right: auto;
    left: 30px;
}

.testimonial:hover::before {
    opacity: 0.7;
    transform: scale(1.1);
}

/* WhatsApp button ripple effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Why us cards hover */
.why-item {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-item:hover {
    transform: translateY(-10px);
}

/* Stats counter animation */
.hero-stat .num {
    display: inline-block;
    transition: transform 0.4s ease, color 0.4s ease;
}

.hero-stat:hover .num {
    transform: scale(1.1);
    color: var(--ink);
}

/* Contact methods hover slide */
.contact-method {
    position: relative;
    overflow: hidden;
}

.contact-method::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 4px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

body.lang-en .contact-method::after {
    right: auto;
    left: 0;
}

.contact-method:hover::after {
    transform: scaleY(1);
}

/* Form input focus animation */
.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
}

/* Social link hover rotation */
.social-link {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-link:hover {
    transform: translateY(-5px) rotate(8deg);
}

/* Decorative background shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 221, 193, 0.15), transparent 70%);
    top: 10%;
    left: -150px;
    animation: float 10s ease-in-out infinite;
}

.bg-shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.15), transparent 70%);
    bottom: 20%;
    right: -100px;
    animation: floatReverse 12s ease-in-out infinite;
}

/* Number counter highlight */
.counter {
    display: inline-block;
}

/* Section transition - smooth color shift */
section {
    transition: background-color 0.5s ease;
}

/* Legacy cursor-dot removed - using cursor-outer/cursor-inner instead */

/* Hero - all content ALWAYS visible, no entrance animation */
.hero-content > *,
.hero-visual {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Smooth header background shift */
.nav.scrolled .nav-logo-circle {
    background: var(--gold);
    color: white;
}

/* Marquee animation for "trusted by" if added */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

body[dir="rtl"] @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

/* Highlight current section in nav */
.nav-menu a.active {
    color: var(--gold-deep);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Glow effect for featured package */
.package.featured {
    box-shadow: 0 20px 60px rgba(124, 133, 86, 0.15);
    position: relative;
}

.package.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold), var(--blush), var(--gold));
    border-radius: 9px;
    z-index: -1;
    opacity: 0.5;
    animation: gradientShift 4s ease infinite;
    background-size: 200% 200%;
}

/* Smooth page load - DISABLED, was causing faded content */
@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* body animation removed - it was causing the entire site to appear faded */

/* Service card link arrow animation */
.service-link svg {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body[dir="rtl"] .service-link:hover svg {
    transform: scaleX(-1) translateX(4px);
}

body.lang-en .service-link:hover svg {
    transform: translateX(4px);
}

/* Reveal text effect for section titles */
.section-title {
    position: relative;
}

/* Subtle parallax effect for backgrounds */
.hero::before,
.hero::after {
    will-change: transform;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-inner,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero h1 { font-size: 56px; }
    .section-title { font-size: 44px; }
    
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-right .btn-primary {
        display: none;
    }
    
    .hero {
        padding: 110px 0 60px;
    }
    
    .hero h1 { font-size: 42px; }
    .section-title { font-size: 34px; }
    
    .hero p { font-size: 16px; }
    
    .hero-stats {
        gap: 25px;
    }
    
    .hero-stat .num { font-size: 28px; }
    
    .services-grid,
    .packages-grid,
    .testimonials-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .package.featured {
        transform: scale(1);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(4) {
        grid-row: span 1;
        aspect-ratio: 1/1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
    
    :root {
        --section-padding: 60px;
    }
}

/* ============================================================
   SEO CONTENT SECTION - Visible but subtle
   ============================================================ */
.seo-content{padding:80px 0;background:linear-gradient(180deg,var(--bg) 0%,var(--bg-secondary) 100%);position:relative}
.seo-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:1100px;margin:0 auto}
.seo-block{padding:35px;background:rgba(255,255,255,0.5);border-radius:12px;border:1px solid var(--line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:all 0.4s ease}
.seo-block:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(139,111,71,0.08);border-color:var(--gold)}
.seo-block h2{font-family:var(--font-display-ar);font-size:26px;color:var(--ink);margin-bottom:18px;font-weight:600;line-height:1.3}
body.lang-en .seo-block h2{font-family:var(--font-display-en);font-style:italic;font-weight:500}
.seo-block p{font-size:15px;line-height:1.85;color:var(--ink-soft);margin-bottom:15px}
.seo-block p:last-child{margin-bottom:0}
.seo-block strong{color:var(--gold-deep);font-weight:700}
.seo-block ul{margin-top:15px;padding-right:20px;list-style:none}
.seo-block ul li{padding:8px 0;font-size:14px;color:var(--ink-soft);position:relative;padding-right:25px}
.seo-block ul li::before{content:'✓';position:absolute;right:0;top:8px;color:var(--gold);font-weight:bold;font-size:16px}

@media (max-width: 968px){
    .seo-grid{grid-template-columns:1fr;gap:30px}
    .seo-block{padding:25px}
    .seo-block h2{font-size:22px}
}
