/* ═══════════════════════════════════
   RESTAURANT MENU — منتجع مشتى الحلو
   Premium Design + Original Gold/Brown Palette
   ═══════════════════════════════════ */

:root {
  --bg: #F5F0E8;
  --fg: #2A1A0E;
  --accent: #3D2B1F;
  --accent-light: #5A3D2B;
  --gold: #C9A84C;
  --gold-soft: rgba(201, 168, 76, 0.6);
  --gold-glow: rgba(201, 168, 76, 0.25);
  --card: #FFFDF8;
  --card-border: rgba(201, 168, 76, 0.22);
  --muted: #6B4C35;
  --text-muted: rgba(42, 26, 14, 0.55);
  --text-light: rgba(42, 26, 14, 0.38);
  --border-light: rgba(201, 168, 76, 0.15);
  --nav-bg: rgba(245, 240, 232, 0.94);
  --ink: #3D2B1F;
  --ink-2: #2A1A0E;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Cairo', 'Segoe UI', 'Tahoma', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(61, 43, 31, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F5F0E8 0%, #EDE5D6 50%, #F5F0E8 100%);
}

.ripples {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ripples span {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  animation: ripple 3s ease-out infinite;
}
.ripples span:nth-child(2) { animation-delay: 1s; }
.ripples span:nth-child(3) { animation-delay: 2s; }

@keyframes ripple {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  bottom: -40px;
  animation: rise linear infinite;
}

@keyframes rise {
  0%   { transform: translateY(100%) scale(0.5); opacity: 0; }
  20%  { opacity: 0.5; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}

.logo-wrap {
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}
.logo-wrap img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  filter: drop-shadow(0 4px 24px rgba(61, 43, 31, 0.25));
}

.hero-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--ink) 0%, var(--gold) 25%, var(--ink-2) 50%, var(--gold) 75%, var(--ink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: var(--ink);
  color: var(--bg);
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto 1.5rem;
}

/* ═══════════════════════════════════
   NAV
   ═══════════════════════════════════ */

.nav-band {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  overflow-x: auto;
  list-style: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid rgba(61, 43, 31, 0.15);
  background: rgba(61, 43, 31, 0.04);
  color: var(--text-muted);
  transition: all 0.3s;
  flex-shrink: 0;
}
.nav-btn:hover {
  color: var(--fg);
  border-color: var(--ink);
  background: rgba(61, 43, 31, 0.08);
}
.nav-btn.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  border-color: var(--ink);
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.2);
}
.nav-icon { font-size: 1.2rem; }

/* ═══════════════════════════════════
   WAVES
   ═══════════════════════════════════ */

.wave-top, .wave-bottom {
  overflow: hidden;
  position: relative;
}
.wave-top { height: 4rem; }
.wave-bottom { height: 5rem; margin-top: 2rem; }
.wave-top svg, .wave-bottom svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════ */

.category {
  padding: 3rem 1rem;
}
.category.hidden { display: none; }

.cat-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cat-header h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.cat-en {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}
.cat-line {
  display: inline-block;
  margin-top: 0.75rem;
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}

/* ── Sub-category divider ── */
.sub-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8A7233;
  letter-spacing: 0.03em;
}
.sub-cat::before,
.sub-cat::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

/* ═══════════════════════════════════
   ITEM CARDS — Premium Text-Only (Simple)
   ═══════════════════════════════════ */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  max-width: 56rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px)  { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; } }

.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-right: 3px solid var(--gold);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

/* Top accent line */
.item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.4s ease;
}

/* Subtle inner glow */
.item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.item-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(61, 43, 31, 0.1), 0 0 0 1px rgba(201, 168, 76, 0.15);
}
.item-card:hover::before { width: 80%; }
.item-card:hover::after  { opacity: 1; }

.item-card h3 {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.item-card p {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 400;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  letter-spacing: 0.02em;
  direction: ltr;
}

/* ═══════════════════════════════════
   DETAIL CARDS — Items with descriptions
   ═══════════════════════════════════ */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px)  { .detail-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; } }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.detail-card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  border-right: 3px solid var(--gold);
  padding: 1.25rem 1.25rem 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.4s ease;
}

.detail-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(61, 43, 31, 0.1);
}
.detail-card:hover::before { width: 80%; }

.detail-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.detail-card .sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.detail-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.detail-card .acc {
  width: 24px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
  margin-top: 0.7rem;
  border-radius: 1px;
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */

footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--ink);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  opacity: 0.6;
}
.footer-brand span {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-copy p {
  color: #FFF3E0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-family: 'Poppins', sans-serif;
  direction: ltr;
  font-weight: 600;
}

.footer-en {
 color: rgba(255, 255, 255, 0.3);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.7rem;
  margin-top: 0.4rem;
}

.footer-design {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-design p {
  color: #FFF3E0;
  font-size: 0.85rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  direction: ltr;
  letter-spacing: 0.04em;
}
.designer-name {
  color: #FFE0B2;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.3s;
}
.designer-name:hover {
  opacity: 1;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 639px) {
  .nav-btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
  .nav-icon { font-size: 1rem; }
  .item-card { padding: 1rem 0.6rem; }
  .item-card h3 { font-size: 0.85rem; }
  .detail-card { padding: 1rem; }
}
@media (min-width: 768px) {
  .category { padding: 4rem 1rem; }
  .cat-header h2 { font-size: 2rem; }
  .item-card { padding: 1.5rem 1rem; }
  .item-card h3 { font-size: 1.05rem; }
  .detail-card { padding: 1.5rem 1.5rem 1.2rem; }
}
