/* ==========================================
   RESET & VARIABLES
   ========================================== */
:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #141414;
    --color-gold: #d4af37;
    --color-gold-hover: #f3e5ab;
    --color-text-white: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-overlay: rgba(10, 10, 10, 0.65);
    --font-primary: 'Cairo', sans-serif;
    --font-heading: 'Playfair Display', serif, 'Cairo';
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.sub-title {
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--color-gold);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--color-gold);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: #000;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 45px; font-size: 1.1rem; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(8px);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-white);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Keyframe Animations */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-title { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.6s; }
.hero-buttons { animation-delay: 0.9s; }

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    filter: brightness(0.9);
}

.gold-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    z-index: -1;
    border-radius: 4px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

/* ==========================================
   MENU SECTION
   ========================================== */
.menu-section {
    background-color: #0f0f0f;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-text-muted);
    padding: 10px 25px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.menu-category {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.menu-category.active {
    display: grid;
}

.menu-card {
    background-color: var(--color-bg-card);
    padding: 25px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
}

.menu-card-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--color-text-white);
}

.menu-card-info p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.menu-card .price {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-right: 15px;
}

/* ==========================================
   FEATURES
   ========================================== */
.feature-card {
    background-color: var(--color-bg-card);
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-section { background-color: #080808; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(212, 175, 55, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: #000;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}

.lightbox-close {
    position: absolute;
    top: 30px; left: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
    background-color: var(--color-bg-card);
    padding: 35px 25px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
}

.stars {
    color: var(--color-gold);
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.client-info h4 {
    font-size: 1rem;
    color: var(--color-text-white);
}

.client-info span {
    font-size: 0.8rem;
    color: var(--color-gold);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(rgba(10,10,10,0.85), rgba(10,10,10,0.85)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80') center/cover fixed;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
    background-color: #050505;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.footer-col p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-col i {
    color: var(--color-gold);
    margin-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: #000;
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(1, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .menu-category { grid-template-columns: 1fr; }
    
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-links.active { right: 0; }
    
    .gold-frame { display: none; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
}
/* ==========================================
   VISIBILITY HELPERS FOR MENU BUTTON
   ========================================== */
/* إخفاء زر الموبايل الافتراضي في الشاشات الكبيرة */
.mobile-only-btn {
    display: none;
}

/* ==========================================
   RESPONSIVE DESIGN (Mobile Updates)
   ========================================== */
@media (max-width: 768px) {
    /* إخفاء زر الهيدر الخارجي في الموبايل */
    .desktop-only-btn {
        display: none;
    }

    /* إظهار وتنسيق زر الحجز داخل القائمة على الموبايل */
    .mobile-only-btn {
        display: block;
        margin-top: 25px;
        width: 80%;
        text-align: center;
    }

    .mobile-only-btn .btn {
        width: 100%;
        display: block;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    /* تحسين القائمة المنسدلة على الموبايل */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        gap: 20px;
    }

    .nav-links.active {
        right: 0;
    }
}