@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BC;
    --gold-dark: #AA8C2C;
    --blue-deep: #0a192f;
    --blue-dark: #112240;
    --blue-light: #233554;
    --white: #ffffff;
    --text-gray: #8892b0;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    color: var(--blue-deep);
    direction: rtl;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(to right, #D4AF37, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.bg-dark { background-color: var(--blue-deep); }
.bg-light { background-color: var(--bg-light); }
.text-white { color: var(--white); }
.text-white-50 { color: rgba(255,255,255,0.7); }

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blue-deep);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
header {
    background-color: rgba(10, 25, 47, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--gold-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Amiri', serif;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-gold-nav {
    border: 1px solid var(--gold-primary);
    padding: 5px 15px;
    border-radius: 4px;
    color: var(--gold-primary) !important;
}

.btn-gold-nav:hover {
    background-color: var(--gold-primary);
    color: var(--blue-deep) !important;
}

.btn-gold-nav::after { display: none; }

.mobile-toggle {
    display: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('../../img/WhatsApp Image 2025-12-16 at 7.44.23 PM.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    color: var(--blue-deep);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--white);
}

.hero-shape {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 3;
}

/* About Section */
.about-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text { flex: 1; }
.col-img { flex: 1; }

.section-subtitle {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--blue-deep);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.text-white .section-title { color: var(--white); }

.separator {
    color: var(--gold-primary);
    margin: 20px 0 40px;
    font-size: 1.5rem;
    position: relative;
}

.separator::before, .separator::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: var(--gold-primary);
    vertical-align: middle;
    margin: 0 15px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--gold-primary);
}

.img-frame {
    position: relative;
    padding: 20px;
}

.img-frame img {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.frame-border {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 3px solid var(--gold-primary);
    border-radius: 10px;
    transform: translate(20px, -20px);
    z-index: 1;
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--blue-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.video-info {
    padding: 20px;
    text-align: center;
}

.video-info h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    color: var(--gold-primary);
    margin-bottom: 5px;
}

/* Features Luxury */
.features-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-box {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--gold-primary);
}

.icon-box {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.feature-box h3 {
    color: var(--blue-deep);
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--blue-deep);
    color: var(--white);
    padding-top: 60px;
    border-top: 5px solid var(--gold-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gold-primary);
    color: var(--blue-deep);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .mobile-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0; /* Ensure full width */
        width: 100%;
        background-color: var(--blue-deep);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 2px solid var(--gold-primary);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .video-grid, .gallery-grid, .features-luxury {
        grid-template-columns: 1fr; /* Stack items on very small screens */
    }

    /* Fix AOS Overflow on Mobile */
    [data-aos] {
        overflow: hidden; 
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .about-row { flex-direction: column; }
    
    .frame-border { display: none; }
}
