/* ═══════════════════════════════════
   POOL MENU — منتجع مشتى الحلو
   ═══════════════════════════════════ */

:root {
  --bg: #0a0f1a;
  --fg: #f0f4f8;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.3);
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --gold: #f0c040;
  --nav-bg: rgba(10, 15, 26, 0.88);
}

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

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

body {
  font-family: 'Cairo', 'Poppins', 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(--accent); 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(0,212,170,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(240,192,64,0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0a0f1a 0%, #0d1b2a 50%, #0a1628 100%);
}

/* Ripples */
.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(0, 212, 170, 0.12);
  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 */
.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.8; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Hero Content */
.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: 120px;
  height: 120px;
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(0,212,170,0.4));
}

.hero-sub {
  font-size: 0.875rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent) 0%, #00ffcc 25%, var(--gold) 50%, #00ffcc 75%, var(--accent) 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: rgba(255,255,255,0.5);
  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(--accent);
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Hero bottom image */
.hero-image {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14rem;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  animation: float 5s ease-in-out 1s infinite;
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

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

.nav-band {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  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(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
  flex-shrink: 0;
}
.nav-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}
.nav-btn.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.nav-icon { font-size: 1.2rem; }

/* ═══════════════════════════════════
   MENU SECTIONS
   ═══════════════════════════════════ */

.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%;
}

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

.cat-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cat-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: float 3s ease-in-out infinite;
}
.cat-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cat-en {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}
.cat-line {
  display: inline-block;
  margin-top: 0.75rem;
  width: 4rem;
  height: 1px;
  background: var(--accent);
}

/* Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px)  { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
@media (min-width: 1280px) { .menu-grid { grid-template-columns: repeat(5, 1fr); } }

/* Cards */
.menu-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu-card:hover {
  box-shadow: 0 0 25px var(--accent-glow), 0 0 50px rgba(0, 212, 170, 0.08);
  transform: translateY(-4px);
}
.menu-card figure {
  position: relative;
  height: 11rem;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.menu-card:hover img { transform: scale(1.08); }

.menu-card figcaption {
  padding: 1rem;
  text-align: center;
}
.menu-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.menu-card figcaption p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  direction: ltr;
}

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

footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 1rem;
  text-align: center;
}
footer p {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 639px) {
  .nav-btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
  .nav-icon { font-size: 1rem; }
  .hero-image { height: 10rem; }
}
@media (min-width: 768px) {
  .hero-image { height: 14rem; }
  .category { padding: 4rem 1rem; }
  .cat-header h2 { font-size: 2rem; }
}
