@import url('https://fonts.googleapis.com/css2?family=Changa:wght@400;700&family=Cairo:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

/* Root Variables for Premium Dark Gold Theme */
:root {
    --primary-gold: #DAA520; /* Bright Gold */
    --secondary-gold: #B8860B; /* Darker Gold / Goldenrod */
    --accent-orange: #FF8C00; /* Dark Orange for subtle accents */
    --background-dark: #121212; /* Very dark, almost black background */
    --card-background: rgba(30, 30, 30, 0.85); /* Glassmorphism for cards */
    --text-light: #E0E0E0; /* Off-white for general text */
    --text-gold: var(--primary-gold); /* Gold for important text */
    --border-dark: rgba(255, 255, 255, 0.08); /* Subtle border color */
    --shadow-dark: rgba(0, 0, 0, 0.6); /* Dark shadow for depth */
    --shadow-gold-glow: rgba(218, 165, 32, 0.4); /* Gold glow for premium elements */
    --scrollbar-track: #2a2a2a;
    --scrollbar-thumb: var(--secondary-gold);
}

/* Universal Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* General Body Styling */
body {
    font-family: 'Changa', sans-serif;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
    overflow-x: hidden;
}

/* Global Fixed Background Video */
.fixed-bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Global Tint Overlay */
.global-tint {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* Main Container */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(18, 18, 18, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px var(--shadow-dark);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

/* Give both logo areas equal weight to force nav to center */
.logo, .logo-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-right {
    justify-content: flex-end;
}

nav {
    flex: 0 0 auto; /* Nav stays its natural size in the middle */
}

.logo img, 
.logo-right img.ar-logo {
    height: 65px;
    filter: drop-shadow(0 0 10px var(--shadow-gold-glow));
    transition: transform 0.3s ease;
}

.logo img:hover, 
.logo-right img.ar-logo:hover { 
    transform: scale(1.05); 
}
.logo img {height: 85px;}

nav ul.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
    justify-content: center;
}

nav ul.nav-links li a.nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    white-space: nowrap;
}

nav ul.nav-links li a.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    margin-top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

nav ul.nav-links li a.nav-item:hover { color: var(--primary-gold); transform: translateY(-3px); }
nav ul.nav-links li a.nav-item:hover::after { width: 100%; background: linear-gradient(to right, var(--secondary-gold), var(--primary-gold), var(--secondary-gold)); }

/* --- FLOATING TAX BANNER --- */
.floating-tax-banner {
    background-color: rgba(18, 18, 18, 0.95);
    border-top: 1px solid var(--border-dark);
    border-bottom: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    text-align: center;
    padding: 8px 0;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    backdrop-filter: blur(10px);
    
    /* Fade in animation */
    opacity: 0;
    animation: bannerFadeIn 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-tax-banner p {
    margin: 0;
    padding: 0 20px;
    text-shadow: 0 0 8px var(--shadow-gold-glow);
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
}

.hero-content { position: relative; z-index: 2; width: 100%; }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5em;
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-shadow: 0 0 20px var(--shadow-gold-glow), 0 0 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 3px;
    font-weight: 700;
    white-space: nowrap;
}

.hero p {
    font-size: 1.7em;
    color: var(--text-light);
    max-width: 950px;
    margin: 0 auto 50px auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(to right, var(--secondary-gold), var(--primary-gold));
    color: #000;
    border: none;
}

.btn-primary:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 20px var(--shadow-gold-glow); color: #fff; }

.btn-secondary {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover { background-color: var(--primary-gold); color: #000; transform: translateY(-5px) scale(1.02); }

/* Foreground Video Section */
.video-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    position: relative;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 0 25px var(--shadow-gold-glow), 0 10px 30px rgba(0, 0, 0, 0.7);
}

.foreground-ad-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 11px;
    object-fit: cover;
}

/* --- INTRO TEXT SECTION --- */
.intro-text {
    text-align: center;
    padding: 80px 0;
    background-color: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3);
}

.intro-text .arabic-text {
    direction: rtl;
    font-size: 1.5em;
    line-height: 2.2;
    margin-bottom: 30px;
}

.intro-text .arabic-text p { margin: 12px 0; padding: 0 20px; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); }

.intro-text .english-translation {
    direction: ltr;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: rgba(224, 224, 224, 0.8);
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

/* --- MENU SECTION --- */
.menu-section {
    padding: 80px 0;
    text-align: center;
    background: transparent;
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    color: var(--primary-gold);
    margin-bottom: 70px;
    text-shadow: 0 0 15px var(--shadow-gold-glow), 0 0 8px rgba(0, 0, 0, 0.8);
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-gold), var(--primary-gold), var(--secondary-gold));
    border-radius: 5px;
}

/* Search Bar */
.search-bar-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--secondary-gold);
    border-radius: 30px;
    background-color: var(--card-background);
    color: var(--text-light);
    font-size: 1.1em;
    outline: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-input:focus { border-color: var(--primary-gold); box-shadow: 0 0 15px var(--shadow-gold-glow); }
.search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--secondary-gold); font-size: 1.2em; }

/* Categories */
.categories-wrapper {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.categories-container {
    display: flex;
    overflow-x: scroll;
    white-space: nowrap;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: none;
}

.categories-container::-webkit-scrollbar { display: none; }

.categories-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--scrollbar-track);
    border-radius: 3px;
    overflow: hidden;
}

.categories-scrollbar-thumb {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--secondary-gold), var(--primary-gold));
    border-radius: 3px;
    transition: width 0.1s linear, transform 0.1s linear;
}

.category-tab {
    flex: 0 0 auto;
    padding: 12px 25px;
    margin: 0 10px;
    border: 2px solid var(--secondary-gold);
    border-radius: 25px;
    background-color: transparent;
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover { background-color: var(--secondary-gold); color: #000; transform: translateY(-3px); }
.category-tab.active { background: var(--primary-gold); color: #000; border-color: var(--primary-gold); box-shadow: 0 0 15px var(--shadow-gold-glow); transform: scale(1.05); }

/* Menu Grid */
.menu-category { margin-bottom: 60px; }
.menu-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: var(--accent-orange);
    margin-bottom: 40px;
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
    padding-bottom: 10px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 450px));
    gap: 40px;
    justify-content: center;
}

.menu-item {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    text-align: left;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid var(--primary-gold);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.menu-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 25px var(--shadow-gold-glow); }

.item-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: linear-gradient(to right, var(--secondary-gold), var(--primary-gold));
    color: #000;
    padding: 5px 35px;
    font-size: 0.75em;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 1;
    text-transform: uppercase;
}

.menu-item-image {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 25px;
    border: 2px solid var(--secondary-gold);
}

.item-details { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.menu-item h4 { margin: 0 0 10px 0; font-size: 1.5em; color: var(--text-light); font-weight: 700; }

.price-container { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 5px; }
.menu-item .price { font-family: 'Cairo', sans-serif; font-size: 1.4em; font-weight: bold; color: var(--primary-gold); }

.price-toggles { display: flex; gap: 5px; }
.toggle-btn {
    padding: 4px 10px;
    font-size: 0.8em;
    font-weight: bold;
    border: 1px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: 15px;
    cursor: pointer;
}

.toggle-btn.active { background: var(--primary-gold); color: #000; }

/* --- LOCATION & FOOTER --- */
.location-section {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-dark);
}

.location-section h2 { font-family: 'Playfair Display', serif; font-size: 4em; color: var(--primary-gold); margin-bottom: 40px; }
.map-social-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 50px; }

.map-container { flex: 2; min-width: 300px; height: 400px; border-radius: 12px; border: 2px solid var(--primary-gold); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.location-social-links {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--secondary-gold);
}

.location-social-links a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.4em;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.location-social-links a i { font-size: 1.6em; margin-right: 15px; color: var(--primary-gold); }
.location-social-links a:hover { color: var(--primary-gold); transform: translateX(10px); }

footer { background-color: #0A0A0A; color: var(--text-light); text-align: center; padding: 50px 0; border-top: 1px solid var(--border-dark); }

/* --- ANIMATIONS --- */
.fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-text-reveal { opacity: 0; animation: textReveal 1.5s ease-out forwards; animation-delay: 0.5s; }
@keyframes textReveal {
    0% { opacity: 0; transform: translateY(20px); letter-spacing: 10px; }
    100% { opacity: 1; transform: translateY(0); letter-spacing: 3px; }
}

.animate-fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s ease-out forwards; }
.animate-fade-in-up.delay-1s { animation-delay: 1.5s; }
.animate-fade-in-up.delay-2s { animation-delay: 2s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- MOBILE RESPONSIVE (ONE ROW FIX) --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 5px 10px;
    }

    .hero h1 {
        white-space: normal; /* Allows the title to wrap to a second line */
    }
    .header-content {
        flex-wrap: wrap; /* Allows the header to break if it gets too cramped */
    }

 
    .logo-right img.ar-logo {
        height: 55px; /* Shrink logos to fit on mobile */
    }

    .logo img {height: 65px;}

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    nav ul.nav-links {
        gap: 12px; /* Tight gap for mobile */
        margin-top: 0;
    }

    nav ul.nav-links li a.nav-item {
        font-size: 0.75em;
        white-space: nowrap;
    }

    .floating-tax-banner {
        font-size: 0.6em;
        padding: 5px 0;
    }

    .hero h1 { font-size: 3em; }
    .hero p { font-size: 1.1em; }
    
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .menu-item {
        flex-direction: column;
        padding: 12px;
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--primary-gold);
    }

    .menu-item-image { width: 100%; height: 100px; margin-right: 0; margin-bottom: 10px; }
    .item-badge { top: 5px; right: -35px; padding: 3px 35px; font-size: 0.6em; }
    .price-container { flex-direction: column; gap: 5px; }
}

/* Extra small screens */
@media (max-width: 400px) {
    nav ul.nav-links { gap: 8px; }
    nav ul.nav-links li a.nav-item { font-size: 0.65em; }
    .logo img, .logo-right img.ar-logo { height: 28px; }
}

/* Add this to your style.css to style the new link */
.footer-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}
