
.container {
    width: 100%;
    
    max-width: 1200px;
    
    margin: 0 auto;
    
    padding: 0 15px;
    
    position: relative;
    
}

:root {
    
    --bg-body: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-card: #f8f8f8;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --gold: #c6a87c;
    --gold-hover: #b08d55;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --bg-header-gradient: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

[data-theme="light"] {
    --bg-body: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-card: #f8f8f8;
    --bg-mobile: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --gold: #c6a87c;
    --gold-hover: #b08d55;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --bg-header-gradient: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
}

[data-theme="dark"] {
    --bg-body: #050505;
    --bg-header: rgba(10, 10, 10, 0.95);
    --bg-card: #151515;
    --bg-mobile: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --header-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
    --bg-header-gradient: linear-gradient(to bottom, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0.95));
}

[dir="rtl"] {
    --font-primary: 'Tajawal', sans-serif;
    --font-heading: 'Amiri', serif;
    text-align: right;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.7;
    transition: background-color 0.3s, color 0.3s;
    padding-top: 90px;
    max-width: 100%;
}

.text-center {
    text-align: center !important;
}

[dir="rtl"] body {
    text-align: right;
    direction: rtl; 
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

.cta-button {
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button.primary {
    background: var(--gold);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(198, 168, 124, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 168, 124, 0.4);
    background: #fff;
    color: #000;
}

.cta-button.outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button.outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

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

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

ul {
    list-style: none;
}

.logo {
    width: 150px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.desktop-nav {
    display: flex;
    flex: 1;
    justify-content: center;
}

.desktop-menu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.desktop-menu>li {
    position: relative;
}

.desktop-menu>li>a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    padding: 30px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.desktop-menu>li>a:hover {
    color: var(--gold);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    min-width: 240px;
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 10px 0;
    text-align: left;
    transform: translateY(10px);
}

.desktop-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: -2px;
}

.sub-menu li {
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: none;
    font-weight: normal;
}

.sub-menu li a:hover {
    background: rgba(198, 168, 124, 0.1);
    color: var(--gold);
    padding-left: 25px;
}

.header-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.icon-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.mobile-toggle {
    display: none;
}

.mobile-nav-wrapper,
.menu-overlay {
    display: none;
}

@media (max-width: 1024px) {

    
    .desktop-nav {
        display: none;
    }

    
    .mobile-toggle {
        display: flex;
    }

    
    .mobile-nav-wrapper {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        
        width: min(300px, 100vw);
        height: 100vh;
        background-color: var(--bg-mobile);
        z-index: 2000;
        
        transition: transform 0.4s ease-in-out;
        border-left: 1px solid var(--gold);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
    }

    
    .mobile-nav-wrapper.active {
        transform: translateX(0);
    }

    
    [dir="rtl"] .mobile-nav-wrapper {
        left: 0;
        right: auto;
        border-left: none;
        border-right: 1px solid var(--gold);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
    }
    [dir="rtl"] .mobile-nav-wrapper.active {
        transform: translateX(0);
    }
    .mobile-header {
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--gold);
    }

    .close-btn {
        background: none;
        border: none;
        color: var(--gold);
        font-size: 24px;
        cursor: pointer;
    }

    
    .mobile-menu-items {
        padding: 20px;
        overflow-y: auto;
    }

    .mobile-menu-items>li {
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-items a {
        display: block;
        padding: 15px 0;
        color: var(--text-main);
        font-size: 16px;
        font-weight: 500;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    
    .mobile-sub-menu {
        display: none;
        
        background: rgba(125, 125, 125, 0.05);
        padding-left: 20px;
    }

    .mobile-sub-menu li a {
        font-size: 14px;
        color: var(--text-muted);
        padding: 12px 0;
    }

    .mobile-sub-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1500;
        backdrop-filter: blur(3px);
    }

    .menu-overlay.active {
        display: block;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 84px;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .cta-button {
        width: min(100%, 320px);
        padding: 14px 24px;
        letter-spacing: 1px;
    }
}