:root {
    --arch-black: #050505;
    --arch-gray-dark: #121212;
    --arch-gold: #d4af37;
    --arch-text: #eaeaea;
    --arch-text-muted: #888888;
    
    --arch-font-logo: 'Playfair Display', serif;
    --arch-font-heading: 'Montserrat', sans-serif;
    --arch-font-body: 'Inter', sans-serif;
    --arch-font-arabic: 'Tajawal', sans-serif;
    --arch-transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html[lang="en"] [data-lang-content]:not([data-lang-content="en"]) { display: none !important; }
html[lang="ar"] [data-lang-content]:not([data-lang-content="ar"]) { display: none !important; }
html[lang="tr"] [data-lang-content]:not([data-lang-content="tr"]) { display: none !important; }
html[lang="es"] [data-lang-content]:not([data-lang-content="es"]) { display: none !important; }

.arch-body {
    background-color: var(--arch-black);
    color: var(--arch-text);
    font-family: var(--arch-font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden; 
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] .arch-body { font-family: var(--arch-font-arabic); }
[dir="rtl"] .arch-hero-title, 
[dir="rtl"] .arch-project-title, 
[dir="rtl"] h4 { font-family: var(--arch-font-arabic); }
[dir="rtl"] .arch-project-title::after { right: 0; left: auto; }
[dir="rtl"] .arch-project-row.arch-row-reverse { direction: ltr; }
[dir="rtl"] .arch-project-row.arch-row-reverse > * { direction: rtl; }

.arch-splash-screen {
    position: fixed;
    inset: 0;
    background-color: var(--arch-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

.arch-splash-screen.arch-fade-out {
    opacity: 0;
    visibility: hidden;
}

.arch-splash-brand {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: archReveal 1.5s ease forwards 0.5s;
}

.arch-brand-founder {
    display: block;
    font-family: var(--arch-font-body);
    font-size: 0.8rem;
    color: var(--arch-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.arch-splash-logo {
    font-family: var(--arch-font-logo);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--arch-gold);
    letter-spacing: 0.15em;
    line-height: 1;
}

.arch-btn-glow {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--arch-gold);
    font-family: var(--arch-font-heading);
    font-size: 0.9rem;
    padding: 12px 35px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    opacity: 0;
    animation: archReveal 1s ease forwards 1.5s, archGlowPulse 3s infinite alternate 2s;
    transition: all 0.4s ease;
}

.arch-btn-glow:hover {
    background-color: var(--arch-gold);
    color: var(--arch-black);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.arch-welcome-text {
    font-family: var(--arch-font-heading);
    font-size: 1rem;
    color: var(--arch-gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    position: absolute;
    margin-top: 150px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-welcome-text.arch-show-welcome {
    opacity: 1;
    transform: translateY(0);
}

.arch-fade-out-element {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

@keyframes archGlowPulse {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.1); }
    100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.1); }
}

.arch-main-layout {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease 0.5s;
}

.arch-main-layout.arch-is-ready {
    opacity: 1;
    visibility: visible;
}

.arch-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0) 100%);
}

.arch-brand-link { text-decoration: none; display: flex; flex-direction: column; }
.arch-brand-link .arch-brand-founder { font-size: 0.6rem; margin-bottom: 2px; }
.arch-brand-link .arch-brand-name { font-family: var(--arch-font-logo); font-size: 1.5rem; color: var(--arch-gold); letter-spacing: 2px; }

.arch-header-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.arch-vol-control {
    display: flex;
    align-items: center;
    gap: 10px;
}
.arch-vol-control .vol-icon { font-size: 1.2rem; color: var(--arch-gold); }
.arch-vol-control input[type=range] {
    -webkit-appearance: none;
    width: 80px;
    background: transparent;
}
.arch-vol-control input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    background: var(--arch-text-muted);
}
.arch-vol-control input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--arch-gold);
    margin-top: -5px;
    cursor: pointer;
}

.arch-lang-switcher {
    display: flex;
    gap: 15px;
}
.arch-lang-btn {
    background: none;
    border: none;
    color: var(--arch-text-muted);
    font-family: var(--arch-font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}
.arch-lang-btn:hover, .arch-lang-btn.active { color: var(--arch-gold); }

.arch-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
    position: relative;
    background: radial-gradient(circle at center, var(--arch-gray-dark) 0%, var(--arch-black) 100%);
}

.arch-hero-title {
    font-family: var(--arch-font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.arch-hero-title span {
    color: var(--arch-gold);
    font-family: var(--arch-font-logo);
    font-style: italic;
}

.arch-hero-desc {
    font-size: 1.1rem;
    color: var(--arch-text-muted);
    max-width: 550px;
}

.arch-scroll-btn {
    position: absolute;
    bottom: 40px;
    left: 5vw;
    color: var(--arch-text-muted);
    text-decoration: none;
    font-family: var(--arch-font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: archBounce 2s infinite;
}

@keyframes archBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.arch-projects-section {
    padding: 100px 5vw;
    background-color: var(--arch-black);
}

.arch-container {
    max-width: 1400px;
    margin: 0 auto;
}

.arch-project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 12rem;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--arch-transition);
}

.arch-project-row.arch-in-view {
    opacity: 1;
    transform: translateY(0);
}

.arch-project-row.arch-row-reverse {
    direction: rtl; 
}

.arch-project-row.arch-row-reverse > * {
    direction: ltr; 
}

.arch-project-content {
    max-width: 600px;
}

.arch-project-title {
    font-family: var(--arch-font-heading);
    font-size: 2.8rem;
    color: var(--arch-text);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.arch-project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--arch-gold);
}

.arch-text-block {
    margin-bottom: 2rem;
}

.arch-text-block h4 {
    font-family: var(--arch-font-body);
    font-size: 0.85rem;
    color: var(--arch-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.arch-text-block p {
    font-size: 1rem;
    color: var(--arch-text-muted);
    line-height: 1.7;
}

.arch-play-btn {
    background: transparent;
    border: 1px solid var(--arch-gold);
    color: var(--arch-gold);
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-family: var(--arch-font-body);
    font-size: 0.85rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.arch-play-btn:hover {
    background-color: var(--arch-gold);
    color: var(--arch-black);
}

.arch-dual-visual {
    position: relative;
    width: 100%;
    height: 600px;
}

.arch-dual-visual .arch-img-main {
    width: 80%;
    height: 90%;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.8);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.arch-dual-visual .arch-img-overlay {
    width: 55%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 10px solid var(--arch-black);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
    transition: transform 0.8s ease;
}

.arch-project-row:hover .arch-img-main {
    filter: brightness(1);
    transform: scale(1.02);
}

.arch-project-row:hover .arch-img-overlay {
    transform: translate(-10px, -10px) scale(1.05);
}

.arch-single-visual {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
}

.arch-single-visual .arch-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.5s ease, transform 1s ease;
}

.arch-project-row:hover .arch-img-full {
    filter: brightness(1);
    transform: scale(1.03);
}

.arch-footer {
    background-color: var(--arch-gray-dark);
    padding: 3rem 5vw;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.arch-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.arch-contact-info {
    font-family: var(--arch-font-body);
    color: var(--arch-text-muted);
    font-size: 1rem;
}

.arch-phone-link {
    color: var(--arch-gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.arch-phone-link:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .arch-header {
        flex-direction: column;
        gap: 20px;
        padding: 1.5rem 5vw;
        background: rgba(5,5,5,0.98); 
    }
    .arch-header-controls {
        width: 100%;
        justify-content: space-between;
    }
    .arch-project-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 7rem;
    }
    .arch-project-row.arch-row-reverse { direction: ltr; }
    [dir="rtl"] .arch-project-row.arch-row-reverse { direction: rtl; }
    
    .arch-dual-visual { height: 400px; }
    .arch-single-visual { height: 350px; }
    
    .arch-img-overlay {
        right: 5%; 
        width: 60%;
    }
}