/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette - Luxury Gold & Bronze */
    --color-bg: #ffffff;
    --color-text: #262223;
    --color-text-light: #555555;

    /* The Gold/Bronze Accents found/inferred */
    --color-accent: #B89358;
    /* Authentic Luxury Gold */
    --color-accent-hover: #8F703E;
    /* Darker Bronze for hover */
    --color-secondary: #714F2A;
    /* Deep Leather/Bronze */

    --color-light-gray: #fcfbf8;
    /* Warm off-white */
    --color-border: #e6e1d8;

    /* Spacing */
    --spacing-unit: 8px;
    --container-width: 1200px;

    /* Transitions */
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    /* Default for Arabic */
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body[lang="en"] {
    font-family: 'Outfit', sans-serif;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(184, 147, 88, 0.1);
    /* Gold shadow */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(184, 147, 88, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

/* RTL Specific adjustments */
body[dir="rtl"] nav a::after {
    right: 0;
    left: auto;
}

body[dir="ltr"] nav a::after {
    left: 0;
    right: auto;
}

nav a:hover {
    color: var(--color-accent);
}

nav a:hover::after {
    width: 100%;
}

.lang-switch {
    cursor: pointer;
    font-weight: 700;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.lang-switch:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f0e6 100%);
    /* Warm radial gradient */
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-accent);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--color-accent-hover);
}

/* About Section */
.section {
    padding: 100px 0;
}

.about {
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Services / Features */
.services {
    background-color: var(--color-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-accent);
}

/* Contact */
.contact {
    background-color: #fff;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--color-accent);
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    nav ul.active {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}