/* ===== PREMIUM DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Outfit:wght@400;700&display=swap');

:root {
    /* Brand Orange & White Color Palette */
    --primary-orange: #FF6B00; 
    --primary-orange-dark: #E05E00;
    --primary-orange-light: #FF9E59;
    
    /* Variable redirection to dynamically update existing styles from red to orange */
    --primary-red: var(--primary-orange);
    --primary-red-dark: var(--primary-orange-dark);
    --primary-red-light: var(--primary-orange-light);
    
    --accent-gold: #FFA366;
    --accent-gold-dark: #FF6B00;
    --accent-gold-light: #FFC299;

    /* Theme Variables (Default: Dark Mode for Premium Feel) */
    --bg-primary: #0A0908;
    --bg-secondary: #161514;
    --bg-paper: #22333B;
    --bg-paper-trans: rgba(34, 51, 59, 0.7);
    
    --text-primary: #F8F9FA;
    --text-secondary: #ADB5BD;
    --text-inverse: #0A0908;

    --border-color: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 9, 8, 0) 0%, rgba(10, 9, 8, 1) 100%);

    /* Shadows & Glows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.4);
    --glow-primary: 0 0 20px rgba(255, 107, 0, 0.4);
    --glow-gold: 0 0 20px rgba(255, 163, 102, 0.4);

    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* Metrics */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='light'] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-paper: #FFFFFF;
    --bg-paper-trans: rgba(255, 255, 255, 0.85);
    
    --text-primary: #1A1A1A;
    --text-secondary: #6C757D;
    
    --border-color: rgba(0, 0, 0, 0.08);
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    direction: rtl;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-panel {
    background: var(--bg-paper-trans);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFF;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #FFF;
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

/* Header & Nav (Dynamic) */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

header.scrolled {
    background: var(--bg-paper-trans);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong);
    padding: 10px 0;
    border: 1px solid var(--border-color);
    top: 15px;
    left: 24px;
    right: 24px;
    border-radius: var(--radius-pill);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFF;
    padding: 2px;
    box-shadow: var(--glow-gold);
    transition: transform var(--transition-normal);
}

.logo-container:hover .logo-img {
    transform: rotate(10deg) scale(1.05);
}

.logo-text h1 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 8px 0;
    color: var(--text-secondary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.icon-btn:hover {
    background: var(--primary-red);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
    border-color: transparent;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/images/hero-dish.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    opacity: 0.85;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-red);
}

.feature-icon {
    width: 80px; height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    color: var(--accent-gold);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary-red);
    color: #FFF;
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

/* Products Grid (Menu) */
.products-section {
    padding: 100px 0;
}

.categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    color: #FFF;
    border-color: var(--primary-red);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong), var(--glow-gold);
    border-color: var(--accent-gold);
}

.product-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
    transform: scale(1.15) rotate(1deg);
}

.product-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--accent-gold);
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
}

.product-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-red);
}

.product-add-btn {
    background: var(--bg-secondary);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.product-card:hover .product-add-btn {
    background: var(--primary-red);
    color: #FFF;
    box-shadow: var(--glow-primary);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-paper);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 4rem;
    color: var(--border-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 { margin: 0; font-size: 1.1rem; }
.author-info span { color: var(--accent-gold); font-size: 0.9rem; }

/* Footer */
footer {
    background: var(--bg-paper);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 400px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}

.footer-links a::before {
    content: '\2190  ';
    color: var(--accent-gold);
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-links a:hover::before {
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.social-btn:hover {
    background: var(--primary-red);
    color: #FFF;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.mobile-nav a.active {
    color: var(--primary-red);
}

/* Global Responsive Adjustments */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .ramadan-promo .container, .delivery-promo .container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .ramadan-images {
        justify-content: center !important;
    }
    .ramadan-images img {
        width: 120px !important;
        transform: translateY(0) !important;
    }
    .delivery-promo img {
        max-width: 100% !important;
        height: auto !important;
    }
    .hero-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    .btn {
        width: 100% !important;
        margin: 10px 0 !important;
        text-align: center !important;
    }
    .ramadan-images img {
        width: 100px !important;
    }
}

/* Global Form & Input Styling (Premium) */
input, select, textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-ar);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: var(--glow-gold), inset 0 2px 4px rgba(0,0,0,0.05);
    transform: translateY(-2px);
    background: var(--bg-paper);
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

label {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-block;
    font-weight: 700;
}

/* Page Header Section (Universal) */
.page-header {
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* About Us Section Responsive Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Premium WhatsApp Checkout Button */
.btn-whatsapp {
    background: #25D366;
    color: #FFF !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 2s infinite;
}

.btn-whatsapp:hover {
    background: #20ba56;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Accounts Grid & Cards Styling */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0 60px;
}

.account-card {
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.account-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-strong);
}

.account-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.account-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.account-number {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    direction: ltr;
}

.account-name {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.copy-btn {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: var(--primary-orange);
    color: #FFF;
    box-shadow: var(--glow-primary);
}

.account-icon img {
    height: 75px;
    width: 140px;
    object-fit: contain;
    border-radius: var(--radius-md);
    padding: 6px;
    background: #FFF;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    display: block;
    margin: 0 auto;
}

.account-card:hover .account-icon img {
    transform: scale(1.08);
    border-color: var(--primary-orange);
}



