:root {
    --primary: #c78204;
    --accent: #fac855;
    --black: #0d0d0d;
    --white: #ffffff;
    --gray-bg: #f9f9f9;
    --text-main: #333333;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', 'Inter', sans-serif;
    margin: 0;
    color: var(--text-main);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--black);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 2px solid var(--primary);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 100px; width: auto; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

/* Language Buttons Visibility Logic */
.mobile-only { display: none !important; }

.btn-lang {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--accent);
    color: var(--black);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); color: var(--accent); line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--black);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-3px); }

/* Services */
.services { padding: 100px 0; background: var(--gray-bg); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-10px); }

/* Contact Section */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-box { padding: 50px; background: var(--black); color: var(--white); }
.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-info span { color: var(--accent); margin-inline-end: 10px; }

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
}

.full-width { width: 100%; }

/* Mobile Menu Media Query */
@media (max-width: 992px) {
    .hide-mobile { display: none !important; }
    .mobile-only { display: block !important; }
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        padding: 100px 30px;
        transition: 0.4s ease-in-out;
        z-index: 2500;
    }

    [dir="ltr"] .nav-links { right: auto; left: -100%; }

    .nav-links.active { right: 0; }
    [dir="ltr"] .nav-links.active { left: 0; }

    .nav-links .btn-lang { width: 100%; margin-top: 20px; padding: 15px; }

    .menu-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.7);
        display: none;
        z-index: 2400;
    }
    .menu-overlay.active { display: block; }

    .contact-grid { grid-template-columns: 1fr; }
    .map-container { min-height: 350px; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.footer { background: var(--black); color: var(--white); padding: 40px 0; text-align: center; }