@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Tajawal:wght@300;400;500;700;900&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

:root {
  --cream: #F5F0E8;
  --warm-white: #FAF8F4;
  --brown-dark: #2C1A0E;
  --brown-mid: #6B3E26;
  --brown-light: #A0673A;
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --charcoal: #1C1C1C;
  --tile-gray: #8B8B8B;
  --text-body: #3D2B1F;
  --text-light: #7A6050;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--warm-white);
  color: var(--text-body);
  direction: rtl;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(28, 20, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 12px 40px;
  background: rgba(20, 13, 6, 0.97);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo-sep {
  color: rgba(201,169,110,0.4);
  font-size: 20px;
}

.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,240,232,0.75);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: rgba(245,240,232,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=1600&q=85');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,10,4,0.3) 0%,
    rgba(20,10,4,0.1) 40%,
    rgba(20,10,4,0.6) 100%
  );
  z-index: 1;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}

.hero-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(60px, 12vw, 110px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
}

.hero-divider {
  color: var(--gold);
  font-size: 40px;
  opacity: 0.6;
}

.hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(245,240,232,0.65);
  letter-spacing: 1px;
  margin-bottom: 36px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.hero-btn:hover { color: var(--brown-dark); }
.hero-btn:hover::before { transform: translateX(0); }

.scroll-hint {
  position: absolute;
  bottom: 30px;
  z-index: 3;
  color: var(--gold);
  font-size: 22px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(20,10,4,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

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

.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 16px 0; }

.mm-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  transition: color 0.3s;
}

.mm-link:hover { color: var(--gold); }

.close-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

/* ── SECTION ── */
.menu-section {
  padding: 90px 40px 80px;
  background: var(--warm-white);
}

.menu-section.dark-section {
  background: var(--brown-dark);
}

.menu-section.dark-section .section-title,
.menu-section.dark-section .card-name,
.menu-section.dark-section .card-desc,
.menu-section.dark-section .card-price { color: var(--cream); }

.menu-section.dark-section .card-name-en { color: var(--gold); }
.menu-section.dark-section .menu-card { background: rgba(255,255,255,0.05); border-color: rgba(201,169,110,0.15); }
.menu-section.dark-section .section-line { background: rgba(201,169,110,0.3); }
.menu-section.dark-section .section-label { color: var(--gold); }
.menu-section.dark-section .section-sub { color: rgba(201,169,110,0.6); }

.menu-section.beverages-section {
  background: var(--cream);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-line {
  flex: 1;
  height: 1px;
  background: rgba(106,62,38,0.2);
}

.section-title-wrap {
  text-align: center;
  white-space: nowrap;
}

.section-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 2px;
}

/* ── GRID ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── CARD ── */
.menu-card {
  background: #fff;
  border: 1px solid rgba(106,62,38,0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: cardFade 0.6s ease both;
}

@keyframes cardFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(44,26,14,0.15);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brown-mid);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  letter-spacing: 0.5px;
}

.card-badge.cold { background: #2A5E8C; }
.card-badge.bev { background: var(--tile-gray); }

.card-body {
  padding: 20px 20px 16px;
}

.card-top {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

.card-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--brown-light);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(106,62,38,0.1);
}

.card-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--brown-mid);
}

.card-cal {
  font-size: 11px;
  color: var(--tile-gray);
  font-weight: 300;
}

/* ── BEVERAGES LIST ── */
.bev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.bev-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(106,62,38,0.12);
  padding: 18px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44,26,14,0.1);
}

.bev-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.bev-info { flex: 1; }

.bev-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-dark);
}

.bev-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--text-light);
}

.bev-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-mid);
}

/* ── FOOTER ── */
footer {
  background: var(--brown-dark);
  color: rgba(245,240,232,0.6);
  text-align: center;
  padding: 40px 20px;
}

.footer-logo {
  font-family: 'Tajawal', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(201,169,110,0.6);
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(245,240,232,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .navbar { padding: 14px 20px; }

  .menu-section { padding: 70px 20px 60px; }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .card-name { font-size: 15px; }
  .card-body { padding: 14px 14px 12px; }

  .hero-title { flex-direction: column; gap: 8px; }
  .hero-divider { display: none; }

  .section-header { gap: 12px; }
  .section-line { display: none; }
}
