/* ============================================================
   MASTER CSS - JARA DESIGN STUDIO
   Shared across all pages: index, arc, interior, land, about, contact
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Momo+Signature&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Cairo:wght@300;400;600;700&display=swap');

.brand-arch-id2 {
	text-transform: uppercase;
       font-size: 0.75em !important;
       font-family: 'Inter', Arial, sans-serif !important;
       letter-spacing: 0.14em !important;
       margin-top: -2px !important;
       opacity: 0.7 !important;
}

/* ===== GLOBAL RESET & BASE ===== */
* {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: 'Inter', 'Cairo', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b0a0a;
    color: #e8dccc;
    overflow-x: hidden;
    font-family: 'Inter', 'Cairo', system-ui, -apple-system, sans-serif;
}

.consistent-typography {
    font-family: 'Inter', 'Cairo', system-ui, -apple-system, sans-serif !important;
}

.brand-protect {
    font-family: 'Inter', 'Cairo', Arial, sans-serif !important;
}
.brand-protect * {
    font-family: 'Inter', 'Cairo', Arial, sans-serif !important;
}

body.lang-ar { 
    font-family: 'Cairo', 'Inter', system-ui, sans-serif !important; 
}

html, body {
    min-height: 100%;
    min-height: 100dvh;
}

body {
    background: #0b0a0a;
    color: #e8dccc;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body.lang-ar { 
    font-family: 'Cairo', 'Inter', system-ui, sans-serif !important; 
}

/* ===== UTILITY CLASSES ===== */
.bg-arch-grid {
    background-image: 
        linear-gradient(rgba(212, 180, 140, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 180, 140, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow-soft {
    box-shadow: 0 0 60px -10px rgba(212, 180, 140, 0.15);
}

.border-gold-light { border-color: rgba(212, 180, 140, 0.25); }
.text-gold { color: #d4b48c; }
.bg-gold-soft { background: rgba(212, 180, 140, 0.08); }

.hover-glow:hover { 
    box-shadow: 0 0 30px rgba(212, 180, 140, 0.2);
    transition: all 0.3s ease;
}

.line-drawing {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 180, 140, 0.4), transparent);
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(11, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 180, 140, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 180, 140, 0.1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 180, 140, 0.4), transparent);
}

.glass {
    background: rgba(11, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 180, 140, 0.1);
}

/* ===== TYPOGRAPHY ===== */
.title-gradient {
    color: #d4b48c !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.brand-arch-id {
    color: #d4b48c !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 180, 140, 0.3);
}

/* ===== FROSTY WHITE/GLASS NAVBAR ==== */
#stickyNav {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 2px solid rgba(212, 180, 140, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

/* When scrolled - slightly more solid */
#stickyNav.scrolled {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* For light theme - more opaque */
[data-theme="light"] #stickyNav {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] #stickyNav.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}



.stat-number {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #d4b48c 0%, #c9a87c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(212, 180, 140, 0.3));
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4b48c, #c9a87c, transparent);
    margin: 80px auto;
    width: 80%;
}

.section-divider-light {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 180, 140, 0.15), transparent);
    margin-bottom: 1.5rem;
}

.text-card-body {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

.text-card-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
}

.arabic-line-height {
    line-height: 1.6 !important;
}

.consistent-typography {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.brand-protect {
    font-family: 'Inter', Arial, sans-serif !important;
}
.brand-protect * {
    font-family: 'Inter', Arial, sans-serif !important;
}

/* ===== PROJECT GRID ===== */
.project-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.project-card-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(212, 180, 140, 0.08);
    aspect-ratio: 4 / 3;
    width: 100%;
}

.project-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.8);
    border-color: rgba(212, 180, 140, 0.3);
    z-index: 2;
}

.project-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(80%);
}

.project-card-link:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.project-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1rem 0.25rem;
    background: linear-gradient(to top, rgba(11, 10, 10, 0.9) 40%, transparent) !important;
    pointer-events: none;
}

.project-info-overlay h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e8dccc;
    margin: 0 0 0.1rem;
}

.project-info-overlay .cat {
    font-size: 0.7rem;
    color: #d4b48c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-info-overlay .loc {
    font-size: 0.7rem;
    color: rgba(232, 220, 204, 0.6);
}

@media (max-width: 1024px) {
    .project-grid-custom { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

@media (max-width: 640px) {
    .project-grid-custom { grid-template-columns: 1fr; gap: 6px; }
    .bg-arch-grid { background-size: 40px 40px; }
}

/* ===== SEE MORE BUTTONS ===== */
.see-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(212, 180, 140, 0.3);
    color: #d4b48c;
    background: rgba(212, 180, 140, 0.1);
}

.see-more-btn:hover {
    background: rgba(212, 180, 140, 0.2);
    transform: scale(1.05);
}

.see-more-btn-arch { border-color: rgba(212, 180, 140, 0.3); color: #d4b48c; }
.see-more-btn-interior { border-color: rgba(201, 168, 124, 0.3); color: #c9a87c; }
.see-more-btn-landscape { border-color: rgba(180, 160, 120, 0.3); color: #b4a078; }

/* ===== PARALLAX ===== */
.parallax {
    position: relative;
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-content {
    position: relative;
    z-index: 2;
    background: rgba(11, 10, 10, 0.5);
    padding: 3rem 4rem;
    border-radius: 12px;
    max-width: 90%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 180, 140, 0.2);
}

.para1 { background-image: url('../img/para_yel.webp'); }
.para2 { background-image: url('../img/interior.jpg'); }

.hero-overlay {
    background: rgba(11, 10, 10, 0.5);
    backdrop-filter: brightness(0.85) saturate(1.1);
}

/* ===== NAVIGATION ===== */
.navbar-hidden { transform: translateY(-100%); opacity: 0; }
.navbar-visible { transform: translateY(0); opacity: 1; animation: navSlideDown 0.3s ease-out; }

@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#stickyNav {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 2px solid rgba(212, 180, 140, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

#stickyNav.scrolled {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* ===== DETAILS PAGE OVERLAY ===== */
#details-page { 
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 9999; 
    background: #0b0a0a; 
    color: #e8dccc; 
    overflow: hidden; 
}

#details-page.active { 
    display: flex; 
    flex-direction: row; 
}

.sticky-col { 
    flex: 0 0 50%; 
    height: 100vh; 
    overflow: hidden; 
    position: sticky; 
    top: 0; 
    background: #1a1a2e; 
}

.sticky-col img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.scroll-container { 
    flex: 1; 
    height: 100vh; 
    overflow-y: auto; 
    padding: 2rem 2rem 4rem; 
    background: #0b0a0a; 
}

.back-btn { 
    background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(212,180,140,0.2); 
    color: #e8dccc; 
    padding: 0.5rem 1.2rem; 
    border-radius: 40px; 
    font-size: 0.8rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: 0.2s; 
}

.back-btn:hover { 
    background: rgba(212,180,140,0.2); 
    border-color: #d4b48c; 
}

@media (max-width: 768px) {
    #details-page.active { 
        flex-direction: column !important; 
        height: 100vh !important; 
        width: 100vw !important; 
        position: fixed !important; 
        top: 0 !important; 
        left: 0 !important; 
        z-index: 9999 !important; 
        background: #0b0a0a !important; 
        overflow-y: auto !important; 
    }
    #details-page .sticky-col { 
        order: 0; 
        height: 50vh; 
        position: relative; 
        flex: none; 
        width: 100%; 
    }
    #details-page .scroll-container { 
        order: 1; 
        height: auto; 
        overflow-y: visible; 
        padding: 1.5rem; 
        flex: none; 
        width: 100%; 
    }
}

/* ===== ARABIC / RTL ===== */
body.lang-ar { font-family: 'Inter', system-ui, sans-serif !important; }
body.lang-ar [data-i18n].arabic-text { direction: rtl !important; text-align: right !important; }
body.lang-ar .flex, body.lang-ar .grid, body.lang-ar .container, body.lang-ar .glass-card { direction: ltr !important; text-align: left !important; }
body.lang-ar .text-center { text-align: center !important; }

.process-en { display: block !important; }
.process-ar { display: none !important; }
html[lang="ar"] .process-en { display: none !important; }
html[lang="ar"] .process-ar { display: block !important; }

.arabic-only-badge { display: none !important; }
[lang="ar"] .arabic-only-badge { display: inline-block !important; }

/* ===== STEP PULSE ANIMATION ===== */
.step-number {
    position: absolute;
    left: -22px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #d4b48c, #c9a87c);
    color: #0b0a0a;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(11,10,10,0.95), 0 0 0 6px rgba(212,180,140,0.3), 0 4px 15px rgba(212,180,140,0.4);
    z-index: 2;
    font-family: 'Inter', Arial, sans-serif;
    transition: all 0.3s ease;
    animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(11,10,10,0.95), 0 0 0 6px rgba(212,180,140,0.3), 0 4px 15px rgba(212,180,140,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(11,10,10,0.95), 0 0 0 8px rgba(212,180,140,0.4), 0 4px 25px rgba(212,180,140,0.6); }
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-left: 2px solid rgba(212,180,140,0.3);
    padding-left: 2rem;
    position: relative;
}

.timeline-step:last-child { border-left: none; padding-bottom: 0; margin-bottom: 0; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: rgba(11, 10, 10, 0.8);
    border-left: 4px solid #d4b48c;
    transition: transform 0.3s ease;
    border-radius: 16px;
    padding: 2rem;
}

.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card p { font-size: 0.9375rem !important; line-height: 1.6 !important; }

/* ===== FOOTER ===== */
.footer-branch {
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border-left: 3px solid #d4b48c;
}

/* ===== SERVICE TILES ===== */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212,180,140,0.2);
}

.service-tile {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(212,180,140,0.25);
}

.service-tile img {
    filter: grayscale(80%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.service-tile:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}



.reset-btn:hover { background: rgba(212,180,140,0.25); transform: translateY(-2px); }

/* ===== SCROLLBAR ===== */
.scroll-container::-webkit-scrollbar-track { background: #1a1a1a; }
.scroll-container::-webkit-scrollbar-thumb { background: #d4b48c; border-radius: 4px; }
.scroll-container::-webkit-scrollbar { width: 6px; }

/* ===== MARQUEE / ANIMATED SCROLL ===== */
.animate-scroll { animation: scroll 40s linear infinite; width: max-content; }
.animate-scroll:hover { animation-play-state: paused; }

@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* ============================================================
   SERVICE PAGE GRID CARDS (arc.html, interior.html, land.html)
   ONLY targets #projectGrid — does NOT touch homepage grids
   ============================================================ */

/* The service page grid container */
#projectGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
}

@media (min-width: 769px) {
    #projectGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Card styling for service pages only */
#projectGrid .project-card-link {
    border: 1px solid rgba(212, 180, 140, 0.5) !important;
    outline: 1px solid rgba(212, 180, 140, 0.2) !important;
    outline-offset: -6px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    cursor: pointer !important;
}

#projectGrid .project-card-link:hover {
    border-color: #d4b48c !important;
    outline-color: rgba(212, 180, 140, 0.6) !important;
}

#projectGrid .project-card-link > div {
    border-radius: 0 !important;
}

/* ============================================================
   SERVICE PAGE HERO BACKGROUND
   ============================================================ */
.service-hero-bg {
    background: linear-gradient(135deg, 
        rgba(10, 26, 47, 0.85) 0%, 
        rgba(28, 46, 74, 0.75) 50%, 
        rgba(5, 10, 20, 0.85) 100%),
        radial-gradient(circle at 20% 80%, rgba(200, 155, 60, 0.15) 0%, transparent 50%);
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] body { 
    background: #f5f0e8 !important; 
    color: #1a1a1a !important; 
}

[data-theme="light"] .glass-card { 
    background: rgba(245,240,232,0.92) !important; 
    border-color: rgba(180,150,100,0.2) !important; 
}

[data-theme="light"] .text-arch-light { color: #1a1a1a !important; }
[data-theme="light"] .text-arch-stone { color: #4a4035 !important; }
[data-theme="light"] .title-gradient { color: #b8860b !important; }
[data-theme="light"] .brand-arch-id { color: #b8860b !important; }
[data-theme="light"] .brand-arch-id2 { color: #4a4035 !important; }

[data-theme="light"] .stat-number { 
    background: linear-gradient(135deg, #b8860b, #c89b3c) !important; 
    -webkit-background-clip: text !important; 
    -webkit-text-fill-color: transparent !important; 
}

[data-theme="light"] .project-info-overlay { 
    background: linear-gradient(to top, rgba(245,240,232,0.95) 40%, transparent) !important; 
}
[data-theme="light"] .project-info-overlay h3 { color: #1a1a1a !important; }
[data-theme="light"] .project-info-overlay .cat { color: #b8860b !important; }
[data-theme="light"] .project-info-overlay .loc { color: rgba(0,0,0,0.6) !important; }

[data-theme="light"] .step-number { 
    background: radial-gradient(circle at 30% 30%, #b8860b, #c89b3c) !important; 
    color: #fff !important; 
}

[data-theme="light"] .timeline-step { border-left-color: rgba(184,134,11,0.3) !important; }

[data-theme="light"] .section-divider { 
    background: linear-gradient(90deg, transparent, #b8860b, #c89b3c, transparent) !important; 
}

[data-theme="light"] #stickyNav { 
    background: rgba(245,240,232,0.95) !important; 
    border-bottom: 1px solid rgba(180,150,100,0.2) !important; 
}
[data-theme="light"] #stickyNav .text-arch-light { color: #1a1a1a !important; }
[data-theme="light"] #stickyNav .brand-arch-id { color: #b8860b !important; }

[data-theme="light"] .see-more-btn { 
    border-color: rgba(184,134,11,0.3); 
    color: #b8860b; 
    background: rgba(184,134,11,0.1); 
}
[data-theme="light"] .see-more-btn:hover { background: rgba(184,134,11,0.2); }

[data-theme="light"] .parallax-content { 
    background: rgba(245,240,232,0.7); 
    border-color: rgba(184,134,11,0.2); 
    color: #1a1a1a; 
}

[data-theme="light"] .handle-circle { 
    background: #f5f0e8; 
    border-color: #b8860b; 
    color: #b8860b; 
}

[data-theme="light"] .testimonial-card { 
    background: rgba(245,240,232,0.8); 
    border-left-color: #b8860b; 
}

[data-theme="light"] .footer-branch { border-left-color: #b8860b; }

/* Light theme text opacity variants */
[data-theme="light"] .text-arch-light\/70 { color: rgba(26,26,26,0.7) !important; }
[data-theme="light"] .text-arch-light\/80 { color: rgba(26,26,26,0.8) !important; }
[data-theme="light"] .text-arch-light\/90 { color: rgba(26,26,26,0.9) !important; }
[data-theme="light"] .text-arch-light\/50 { color: rgba(26,26,26,0.5) !important; }
[data-theme="light"] .text-arch-light\/60 { color: rgba(26,26,26,0.6) !important; }
[data-theme="light"] .text-arch-stone\/60 { color: rgba(74,64,53,0.6) !important; }
[data-theme="light"] .text-arch-stone\/70 { color: rgba(74,64,53,0.7) !important; }
[data-theme="light"] .text-arch-stone\/80 { color: rgba(74,64,53,0.8) !important; }
[data-theme="light"] .text-arch-stone\/90 { color: rgba(74,64,53,0.9) !important; }

[data-theme="light"] .section-divider-light {
    background: linear-gradient(to right, transparent, rgba(184,134,11,0.15), transparent) !important;
}

[data-theme="light"] .glass-card .text-arch-light { color: #1a1a1a !important; }
[data-theme="light"] .glass-card .text-arch-stone { color: #4a4035 !important; }

[data-theme="light"] footer .text-arch-light { color: #1a1a1a !important; }
[data-theme="light"] footer .text-arch-stone { color: #4a4035 !important; }
[data-theme="light"] footer .text-arch-stone\/60 { color: rgba(74,64,53,0.6) !important; }
[data-theme="light"] footer .text-arch-stone\/70 { color: rgba(74,64,53,0.7) !important; }

[data-theme="light"] .footer-branch { background: rgba(0,0,0,0.04) !important; }

[data-theme="light"] .border-arch-secondary\/20 { border-color: rgba(184,134,11,0.2) !important; }
[data-theme="light"] .text-arch-secondary\/40 { color: rgba(184,134,11,0.4) !important; }

/* Light theme project grid */
[data-theme="light"] .project-card-link { 
    background: #e8e0d5 !important; 
    border-color: rgba(184,134,11,0.15) !important; 
}
[data-theme="light"] .project-card-link:hover { 
    border-color: rgba(184,134,11,0.4) !important; 
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.2) !important; 
}
[data-theme="light"] .project-card-link img { filter: grayscale(80%) brightness(0.95); }
[data-theme="light"] .project-card-link:hover img { filter: grayscale(0%) brightness(1); }

[data-theme="light"] .bg-white\/5 { background: rgba(0,0,0,0.03) !important; }
[data-theme="light"] .border-white\/10 { border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .text-white\/10 { color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .text-arch-secondary\/20 { color: rgba(184,134,11,0.2) !important; }

[data-theme="light"] #philosophy .text-arch-light\/90 { color: rgba(26,26,26,0.9) !important; }
[data-theme="light"] #philosophy .text-arch-light\/80 { color: rgba(26,26,26,0.8) !important; }
[data-theme="light"] #philosophy .text-arch-stone\/30 { color: rgba(74,64,53,0.3) !important; }
[data-theme="light"] #philosophy .bg-white\/5 { background: rgba(0,0,0,0.03) !important; }
[data-theme="light"] #philosophy .border-white\/5 { border-color: rgba(0,0,0,0.05) !important; }

[data-theme="light"] .parallax-content .text-arch-light { color: #1a1a1a !important; }
[data-theme="light"] .parallax-content .text-arch-secondary { color: #b8860b !important; }

[data-theme="light"] .see-more-btn-arch,
[data-theme="light"] .see-more-btn-interior,
[data-theme="light"] .see-more-btn-landscape {
    border-color: rgba(184,134,11,0.3) !important;
    color: #b8860b !important;
}

/* Light theme grid overrides */
[data-theme="light"] #architectureGrid .project-card-link,
[data-theme="light"] #interiorGrid .project-card-link,
[data-theme="light"] #landscapeGrid .project-card-link {
    border-color: rgba(184, 134, 11, 0.4) !important;
    outline-color: rgba(184, 134, 11, 0.2) !important;
}
[data-theme="light"] #architectureGrid .project-card-link:hover,
[data-theme="light"] #interiorGrid .project-card-link:hover,
[data-theme="light"] #landscapeGrid .project-card-link:hover {
    border-color: #b8860b !important;
    outline-color: rgba(184, 134, 11, 0.6) !important;
}

/* ============================================================
   THEME TOGGLE - DARKER ICONS IN LIGHT THEME
   ============================================================ */
[data-theme="light"] #themeToggle i,
[data-theme="light"] #themeToggleMobile i {
    color: #1a1a1a !important;
}

[data-theme="light"] #langToggle,
[data-theme="light"] #langToggleMobile {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] #langToggle:hover,
[data-theme="light"] #langToggleMobile:hover {
    background: rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(184, 134, 11, 0.4) !important;
    color: #b8860b !important;
}

[data-theme="light"] #langToggle span,
[data-theme="light"] #langToggleMobile span {
    color: #1a1a1a !important;
}

[data-theme="light"] #langToggle:hover span,
[data-theme="light"] #langToggleMobile:hover span {
    color: #b8860b !important;
}

/* ============================================================
   HERO - FORCE DARK THEME STYLES (ALWAYS DARK)
   Applies to ALL pages with #home ID
   ============================================================ */
#home .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, rgba(11, 10, 10, 0.8), rgba(11, 10, 10, 0.6), rgba(11, 10, 10, 0.8)) !important;
}

#home .bg-gradient-to-t {
    background-image: linear-gradient(to top, rgba(11, 10, 10, 0.9), transparent, rgba(11, 10, 10, 0.3)) !important;
}

#home .text-arch-light { color: #e8dccc !important; }
#home .text-arch-light\/70 { color: rgba(232, 220, 204, 0.7) !important; }
#home .text-arch-light\/90 { color: rgba(232, 220, 204, 0.9) !important; }
#home .text-arch-light\/50 { color: rgba(232, 220, 204, 0.5) !important; }

#home .text-arch-gold,
#home .text-arch-gold\/50,
#home .text-arch-gold\/30,
#home .text-arch-gold\/40,
#home .text-arch-gold\/60,
#home [style*="color: #d4b48c"] { color: #d4b48c !important; }

#home .border-arch-gold\/20 { border-color: rgba(212, 180, 140, 0.2) !important; }
#home .border-arch-gold\/30 { border-color: rgba(212, 180, 140, 0.3) !important; }

#home .bg-arch-primary\/20 { background-color: rgba(11, 10, 10, 0.2) !important; }
#home .bg-arch-secondary\/10 { background-color: rgba(212, 180, 140, 0.1) !important; }
#home .bg-arch-gold\/5 { background-color: rgba(212, 180, 140, 0.05) !important; }

#home .rounded-full.bg-arch-gold\/5 { background-color: rgba(212, 180, 140, 0.05) !important; }
#home .backdrop-blur-md {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#home .bg-arch-primary\/20 { background-color: rgba(11, 10, 10, 0.2) !important; }
#home .arabic-only-badge .text-arch-light\/60 { color: rgba(232, 220, 204, 0.6) !important; }
#home .arabic-only-badge .text-arch-light { color: #e8dccc !important; }

#home .absolute.inset-0 { z-index: 1; }
#home .container { z-index: 2; }

#home img, 
#home video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Light theme overrides for ALL heroes with #home - keep them dark */
[data-theme="light"] #home .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, rgba(11, 10, 10, 0.8), rgba(11, 10, 10, 0.6), rgba(11, 10, 10, 0.8)) !important;
}
[data-theme="light"] #home .bg-gradient-to-t {
    background-image: linear-gradient(to top, rgba(11, 10, 10, 0.9), transparent, rgba(11, 10, 10, 0.3)) !important;
}
[data-theme="light"] #home .text-arch-light { color: #e8dccc !important; }
[data-theme="light"] #home .text-arch-light\/70 { color: rgba(232, 220, 204, 0.7) !important; }
[data-theme="light"] #home .text-arch-gold { color: #d4b48c !important; }
[data-theme="light"] #home .border-arch-gold\/20 { border-color: rgba(212, 180, 140, 0.2) !important; }
[data-theme="light"] #home .border-arch-gold\/30 { border-color: rgba(212, 180, 140, 0.3) !important; }
[data-theme="light"] #home .bg-arch-primary\/20 { background-color: rgba(11, 10, 10, 0.2) !important; }
[data-theme="light"] #home .bg-arch-secondary\/10 { background-color: rgba(212, 180, 140, 0.1) !important; }
[data-theme="light"] #home .bg-arch-gold\/5 { background-color: rgba(212, 180, 140, 0.05) !important; }
[data-theme="light"] #home .rounded-full.bg-arch-gold\/5 { background-color: rgba(212, 180, 140, 0.05) !important; }
[data-theme="light"] #home .backdrop-blur-md {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
[data-theme="light"] #home .bg-arch-primary\/20 { background-color: rgba(11, 10, 10, 0.2) !important; }
[data-theme="light"] #home .arabic-only-badge .text-arch-light\/60 { color: rgba(232, 220, 204, 0.6) !important; }
[data-theme="light"] #home .arabic-only-badge .text-arch-light { color: #e8dccc !important; }
[data-theme="light"] #home .text-arch-stone { color: #8a7e6e !important; }
[data-theme="light"] #home * { --tw-text-opacity: 1 !important; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 640px) {
    .project-grid-custom { grid-template-columns: 1fr; gap: 6px; }
    .bg-arch-grid { background-size: 40px 40px; }
    .stat-number { font-size: 1.8rem; }
    .parallax-content { padding: 2rem 1.5rem; }
    .glass-card { padding: 1.5rem; }
    .section-divider { margin: 40px auto; width: 90%; }
}

/******************************************************************/

/* Image Reveal Slider */
.image-reveal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.image-reveal-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    background: #000;
    aspect-ratio: 16/9;
}

.image-reveal-inner {
    position: absolute;
    inset: 0;
}

.reveal-bottom-image, .reveal-top-image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: block;
}

.reveal-bottom-image { z-index: 1; }
.reveal-top-image { 
    z-index: 2; 
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); 
}

.reveal-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    inset: 0;
    z-index: 10;
    cursor: ew-resize;
}

.reveal-slider::-webkit-slider-thumb,
.reveal-slider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 1000px;
    background: transparent;
    cursor: ew-resize;
    border: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    z-index: 11;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.handle-line {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(200, 155, 60, 0.6);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.9);
    font-weight: 800;
    color: #333;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

.reset-btn {
    padding: 10px 24px;
    background: rgba(200, 155, 60, 0.15);
    color: #C89B3C;
    border: 1px solid rgba(200, 155, 60, 0.3);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: rgba(200, 155, 60, 0.25);
    transform: translateY(-2px);
}

/***************************************/
/****************************************************************/


/* When language is Arabic (html[lang="ar"]): Show Arabic, hide English */
html[lang="ar"] .process-en {
    display: none !important;
}

html[lang="ar"] .process-ar {
    display: block !important;
}

/* Default: Show English, hide Arabic */
.process-en {
    display: block !important;
}

.process-ar {
    display: none !important;
}


            
/* ===== BREATHING ANIMATION ===== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 3px #C89B3C, 0 4px 15px rgba(200, 155, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px #C89B3C, 0 4px 30px rgba(200, 155, 60, 0.6);
    }
}

/* ===== ARABIC PROCESS STYLES (Numbers on Right) ===== */

/* Arabic timeline step - Right border line layout */
.process-ar .timeline-step-ar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding-bottom: 2rem;
    border-right: 2px solid rgba(200, 155, 60, 0.3) !important; /* Vertical timeline line on the right */
    border-left: none !important;
    margin-right: 20px;
    padding-right: 2.5rem !important;
    padding-left: 0 !important;
    position: relative;
}

/* Step number - Positioned on the right side */
.process-ar .step-number-ar {
    position: absolute;
    right: -21px; /* Centers precisely over the right-side vertical line */
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C89B3C, #D4AF37);
    color: #0A1A2F;
    border-radius: 50%;
    border: 2px solid #0A1A2F;
    box-shadow: 0 0 0 3px #C89B3C, 0 4px 15px rgba(200, 155, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 !important;
    order: unset !important;
    z-index: 2;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Content */
.process-ar .step-content-ar {
    flex: 1;
    order: unset !important;
    text-align: right;
    direction: rtl;
}

/* REMOVE small dots */
.process-ar .timeline-step-ar::before {
    display: none !important;
}

/* Remove the line from last step */
.process-ar .timeline-step-ar:last-child {
    border-right: none !important;
    padding-bottom: 0 !important;
}

/* Typography adjustments for Arabic */
.process-ar .step-content-ar h4 {
    font-family: 'Cairo', sans-serif;
}

.process-ar .step-content-ar p {
    font-family: 'Cairo', sans-serif;
    line-height: 1.9;
}


/**************************************/



/* ===== ARABIC PROCESS STYLES (Numbers on Right) ===== */

/* Arabic timeline step - Right border line layout */
.process-ar .timeline-step-ar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding-bottom: 2rem;
    border-right: 2px solid rgba(200, 155, 60, 0.3) !important; /* Vertical timeline line on the right */
    border-left: none !important;
    margin-right: 20px;
    padding-right: 2.5rem !important;
    padding-left: 0 !important;
    position: relative;
}

/* Step number - Positioned on the right side */
.process-ar .step-number-ar {
    position: absolute;
    right: -21px; /* Centers precisely over the right-side vertical line */
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C89B3C, #d4b48c);
    color: #0A1A2F;
    border-radius: 50%;
    border: 2px solid #0A1A2F;
    box-shadow: 0 0 0 3px #C89B3C, 0 4px 15px rgba(200, 155, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 !important;
    order: unset !important;
    z-index: 2;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Content */
.process-ar .#d4b48c {
    flex: 1;
    order: unset !important;
    text-align: right;
    direction: rtl;
}

/* REMOVE small dots */
.process-ar .timeline-step-ar::before {
    display: none !important;
}

/* Remove the line from last step */
.process-ar .timeline-step-ar:last-child {
    border-right: none !important;
    padding-bottom: 0 !important;
}

/* Typography adjustments for Arabic */
.process-ar .#d4b48c h4 {
    font-family: 'Cairo', sans-serif;
	direction: rtl !important;
	text-align: right;
}

.process-ar .#d4b48c p {
    font-family: 'Cairo', sans-serif;
    line-height: 1.9;
}

/******************************************/

.active {
    border-bottom: 2px solid #d4b48c !important;
}

/* Force Fancybox to append to body and be on top */
.fancybox__container {
    position: fixed !important;
    z-index: 9999999 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.fancybox__backdrop {
    z-index: 9999998 !important;
}

.fancybox__carousel {
    z-index: 9999999 !important;
}

/* Lower SPA z-index */
#details-page {
    z-index: 9999 !important;
}

/*********************/

/* ============================================================
   FANCYBOX - Force Close Button (X) to Show
   ============================================================ */

/* Make sure the toolbar is visible */
.fancybox__toolbar {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
}

/* The close button itself */
.fancybox__button--close {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    margin: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}

.fancybox__button--close svg {
    fill: #fff !important;
    width: 20px !important;
    height: 20px !important;
}

.fancybox__button--close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Make sure the X is visible on all themes */
[data-theme="light"] .fancybox__button--close {
    background: rgba(200, 200, 200, 0.7) !important;
}

[data-theme="light"] .fancybox__button--close svg {
    fill: #333 !important;
}

@media (max-width: 1000px) {
	#floaters{display:none !important}
}

/*******************revealers************************/
/* ============================================================
   FINAL GRID OVERRIDE — DO NOT REMOVE
   Forces 1 column on mobile, 2 columns on desktop for ALL grids
   ============================================================ */

/* Mobile: 1 column, always */
@media screen and (max-width: 768px) {
    body #architectureGrid,
    body #interiorGrid,
    body #landscapeGrid,
    body #projectGrid,
    body .project-rows-container,
    body .service-project-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    body #architectureGrid > *,
    body #interiorGrid > *,
    body #landscapeGrid > *,
    body #projectGrid > *,
    body .project-rows-container > *,
    body .service-project-grid > * {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }
}

/* Desktop: 2 columns */
@media screen and (min-width: 769px) {
    body #architectureGrid,
    body #interiorGrid,
    body #landscapeGrid,
    body #projectGrid,
    body .project-rows-container,
    body .service-project-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    body #architectureGrid > *,
    body #interiorGrid > *,
    body #landscapeGrid > *,
    body #projectGrid > *,
    body .project-rows-container > *,
    body .service-project-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }
}


/*******************************************************/
