@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Noto+Kufi+Arabic:wght@400;600;700&display=swap');

:root {
  --red: #C41E24;
  --red-dark: #8B1519;
  --gold: #D4A853;
  --gold-light: #F0D48A;
  --cream: #FFF8EF;
  --dark: #1A1108;
  --dark-surface: #2A1F12;
  --dark-card: #352818;
  --text-light: #F5E6D0;
  --text-muted: #B8A68E;
  --orange: #E8742A;
  --maroon: #4A1012;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Language Visibility */
html[lang="en"] .lang-ar { display: none !important; }
html[lang="ar"] .lang-en { display: none !important; }

/* RTL Adjustments */
html[lang="ar"] { direction: rtl; }
html[lang="ar"] body, 
html[lang="ar"] h1, 
html[lang="ar"] h2, 
html[lang="ar"] h3, 
html[lang="ar"] h4,
html[lang="ar"] .btn-primary,
html[lang="ar"] .btn-whatsapp,
html[lang="ar"] .nav-links a { 
  font-family: var(--font-arabic) !important; 
}
html[lang="ar"] .nav-cta svg,
html[lang="ar"] .btn-primary svg,
html[lang="ar"] .btn-whatsapp svg { 
  margin-left: 8px; margin-right: 0 !important; 
}
html[lang="ar"] .contact-card { align-items: center; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 2rem; transition: all 0.4s; background: transparent;
}
.navbar.scrolled {
  background: rgba(26, 17, 8, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.6rem 2rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.logo-icon {
  width: 50px; height: 50px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; border: 2px solid var(--gold);
  color: var(--gold); font-family: var(--font-display);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text span:first-child {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-text span:last-child { font-family: var(--font-arabic); font-size: 0.75rem; color: var(--text-muted); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-light); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 6px 12px; border-radius: 20px;
  cursor: pointer; font-weight: 600; font-size: 0.85rem;
  transition: all 0.3s; display: flex; align-items: center; gap: 4px;
}
.lang-switch:hover { background: var(--gold); color: var(--dark); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-cta {
  background: #25D366; color: white; padding: 10px 24px;
  border: none; border-radius: 50px; font-weight: 600; cursor: pointer;
  text-decoration: none; font-size: 0.9rem; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { width: 28px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg { position: absolute; inset: 0; background: url('images/hero-composition.png') center/cover no-repeat; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,17,8,0.7) 0%, rgba(26,17,8,0.35) 40%, rgba(26,17,8,0.9) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 2rem; margin-top: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,83,0.15); border: 1px solid rgba(212,168,83,0.3);
  padding: 8px 20px; border-radius: 50px; margin-bottom: 1.5rem;
  font-size: 0.85rem; color: var(--gold); animation: fadeInDown 1s ease;
}
.hero-badge .dot { width: 6px; height: 6px; background: #25D366; border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 1rem; animation: fadeInUp 1s ease 0.2s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-arabic {
  font-family: var(--font-arabic); font-size: 1.3rem; color: var(--gold);
  margin-bottom: 1rem; direction: rtl; animation: fadeInUp 1s ease 0.4s both;
}
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 550px; margin: 0 auto 2rem; animation: fadeInUp 1s ease 0.6s both; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 0.8s both; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white; padding: 14px 36px; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s;
  text-decoration: none; box-shadow: 0 4px 20px rgba(196,30,36,0.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(196,30,36,0.6); }
.btn-whatsapp {
  background: #25D366; color: white; padding: 14px 36px; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.btn-talabat {
  background: #FF5A00; color: white; padding: 14px 36px; border: none; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s;
  text-decoration: none; box-shadow: 0 4px 20px rgba(255,90,0,0.3);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-talabat:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,90,0,0.5); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; animation: bounce 2s infinite;
}
.scroll-indicator .arrow { width: 24px; height: 24px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); margin: 0 auto 1rem; border-radius: 2px; }
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== ABOUT ===== */
.about { background: var(--dark-surface); }
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after { content: ''; position: absolute; inset: 0; border: 2px solid rgba(212,168,83,0.2); border-radius: 20px; }
.about-accent { position: absolute; bottom: -10px; right: -10px; width: 120px; height: 120px; border: 3px solid var(--gold); border-radius: 20px; z-index: -1; }
.about-text h3 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1rem; }
.about-text h3 span { color: var(--gold); }
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.stat { text-align: center; padding: 1.5rem; background: rgba(212,168,83,0.05); border: 1px solid rgba(212,168,83,0.1); border-radius: 16px; }
.stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== MENU ===== */
.menu-section { background: var(--dark); }
.menu-container { max-width: 1200px; margin: 0 auto; }
.menu-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.menu-tab {
  padding: 10px 24px; border-radius: 50px;
  border: 1px solid rgba(212,168,83,0.3); background: transparent;
  color: var(--text-muted); cursor: pointer; font-weight: 500;
  transition: all 0.3s; font-size: 0.9rem; font-family: var(--font-body);
}
.menu-tab.active, .menu-tab:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: var(--red); color: white;
}
.menu-category { margin-bottom: 3rem; }
.menu-category-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(212,168,83,0.15);
}
.menu-category-header h3 {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold);
}
.menu-category-header .ar {
  font-family: var(--font-arabic); font-size: 1.1rem; color: var(--text-muted);
}
.menu-list { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
  gap: 1.5rem; 
}
.menu-card-item {
  background: var(--dark-card);
  border: 1px solid rgba(212,168,83,0.1);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.menu-card-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--red), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.menu-card-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212,168,83,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.menu-card-item:hover::before { opacity: 1; }
.menu-card-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.menu-card-info { flex: 1; }
.menu-item-name { 
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; color: var(--text-light);
}
.menu-item-name-ar { 
  font-family: var(--font-arabic); font-size: 0.95rem; color: var(--gold); 
  display: block; margin-top: 4px;
}
.menu-item-price { 
  font-family: var(--font-display); font-weight: 700; color: var(--gold); 
  white-space: nowrap; font-size: 1.1rem;
  background: rgba(212,168,83,0.1); padding: 6px 12px; border-radius: 8px;
  height: fit-content;
}
.menu-item-price small { color: var(--text-muted); font-size: 0.75rem; margin-left: 2px;}
html[lang="ar"] .menu-item-price small { margin-left: 0; margin-right: 2px; }

/* Featured Cards Grid */
.featured-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.featured-card {
  background: var(--dark-card); border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(212,168,83,0.08); transition: all 0.4s;
}
.featured-card:hover {
  transform: translateY(-8px); border-color: rgba(212,168,83,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.featured-card-img { position: relative; height: 220px; overflow: hidden; }
.featured-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.featured-card:hover .featured-card-img img { transform: scale(1.1); }
.featured-card-badge {
  position: absolute; top: 12px; right: 12px; background: var(--red);
  color: white; padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.featured-card-body { padding: 1.5rem; }
.featured-card-body h4 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.3rem; }
.featured-card-body .arabic-name { font-family: var(--font-arabic); color: var(--gold); font-size: 0.85rem; direction: rtl; margin-bottom: 0.5rem; }
.featured-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== SPECIALS BANNER ===== */
.specials {
  position: relative; padding: 80px 2rem;
  background: linear-gradient(135deg, var(--red-dark), var(--red), var(--orange)); overflow: hidden;
}
.specials::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.specials-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.specials h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.specials p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 0.5rem; }
.specials .hours { font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0; }
.specials .hours span { color: var(--gold-light); }

/* ===== GALLERY ===== */
.gallery-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(196,30,36,0.7);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  opacity: 0; transition: opacity 0.3s; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.gallery-overlay small { font-family: var(--font-arabic); font-weight: 400; font-size: 0.8rem; opacity: 0.8; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== CONTACT ===== */
.contact { background: var(--dark-surface); }
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem;
  background: rgba(212,168,83,0.05); border: 1px solid rgba(212,168,83,0.1);
  border-radius: 16px; transition: all 0.3s; text-decoration: none; color: inherit;
}
.contact-card:hover { border-color: rgba(212,168,83,0.3); transform: translateX(8px); }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-icon.wa { background: #25D366; }
.contact-icon.loc { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.contact-icon.ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.contact-icon.hours { background: var(--gold); color: var(--dark); }
.contact-icon.delivery { background: var(--orange); }
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.contact-card a { color: var(--gold); text-decoration: none; }
.map-container { border-radius: 20px; overflow: hidden; border: 2px solid rgba(212,168,83,0.15); height: 100%; min-height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== FOOTER ===== */
.footer { padding: 3rem 2rem; border-top: 1px solid rgba(212,168,83,0.1); text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.social-link {
  width: 44px; height: 44px; background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none; font-size: 1.1rem; transition: all 0.3s;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: white; transform: translateY(-3px); }
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s; animation: fabPulse 2s infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .nav-cta { padding: 6px 12px; font-size: 0.8rem; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26,17,8,0.98); padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid rgba(212,168,83,0.1);
  }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-list { grid-template-columns: 1fr; }
  .hero { padding-top: 140px !important; padding-bottom: 80px; align-items: flex-start; }
  .hero-content { margin-top: 10px !important; }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-stats { grid-template-columns: 1fr; }
  section { padding: 60px 1rem; }
  .hero { padding-top: 140px !important; padding-bottom: 80px; align-items: flex-start; }
  .hero-content { margin-top: 10px !important; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
}
