/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --teal: #4a9b8e;
  --teal-light: #5bbdae;
  --teal-dark: #2d7a6e;
  --gold: #c9a84c;
  --white: #ffffff;
  --off-white: #e8e8e8;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --border: rgba(255,255,255,0.08);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Playfair Display', serif;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--bg-primary);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: var(--font-ar); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ===== 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: transparent;
  transition: background 0.4s var(--transition), padding 0.4s;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.nav-right { justify-content: flex-end; }
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  font-family: var(--font-ar);
}
.nav-menu-btn .lines { display: flex; flex-direction: column; gap: 5px; }
.nav-menu-btn .lines span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-logo {
  text-align: center;
  flex: 0 0 auto;
}
.nav-logo .fish-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 4px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.nav-logo h1 {
  font-family: var(--font-ar);
  font-size: 17px;
  letter-spacing: 4px;
  font-weight: 800;
  color: var(--white);
}
.nav-link {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--off-white);
  transition: color 0.3s;
  font-weight: 500;
}
.nav-link:hover { color: var(--teal-light); }
.nav-cart {
  position: relative;
  background: none;
  color: var(--white);
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  transition: color 0.3s;
}
.nav-cart:hover { color: var(--teal-light); }
.cart-count {
  position: absolute;
  top: 0; left: 0;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1514190051997-0f6f39ca5cde?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.4) 100%);
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 40px 80px;
  max-width: 700px;
}
.hero-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-category-list .cat-item {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  position: relative;
  width: fit-content;
}
.hero-category-list .cat-item.active,
.hero-category-list .cat-item:hover {
  color: var(--teal-light);
  transform: translateX(-8px);
}
.hero-category-list .cat-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 0; left: 0;
  height: 2px;
  background: var(--teal-light);
}
.hero-img-preview {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  z-index: 2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}
.hero-img-preview.show { opacity: 1; }
.hero-img-preview img { width: 100%; height: 200px; object-fit: cover; }
.hero-img-preview .show-more {
  background: rgba(255,255,255,0.9);
  color: #000;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-img-preview .show-more:hover { background: var(--teal-light); color: #fff; }

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 30px;
  transition: all 0.3s;
  font-family: var(--font-ar);
  cursor: pointer;
}
.show-more-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* ===== SECTIONS COMMON ===== */
.section { padding: 80px 60px; }
.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--teal-light);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--gray-light);
  font-size: 15px;
  max-width: 500px;
  line-height: 1.8;
}

/* ===== HIGHLIGHT ROW ===== */
.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.highlight-row.reverse { direction: ltr; }
.highlight-text {
  background: var(--bg-secondary);
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.highlight-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: #fff;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  font-family: var(--font-ar);
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal-light); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  font-family: var(--font-ar);
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.highlight-image {
  position: relative;
  overflow: hidden;
}
.highlight-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.highlight-image:hover img { transform: scale(1.05); }

/* ===== CHEF SECTION ===== */
.chef-section {
  background: var(--bg-primary);
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
}
.chef-card {
  text-align: right;
}
.chef-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin-bottom: 24px;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.chef-img:hover { filter: grayscale(0); }
.chef-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.chef-desc { color: var(--gray-light); font-size: 14px; line-height: 1.7; }

/* ===== BANNER SECTION ===== */
.banner-section {
  position: relative;
  padding: 100px 60px;
  overflow: hidden;
  text-align: right;
}
.banner-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&q=80') center/cover;
}
.banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.banner-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.banner-title span { color: var(--teal-light); }

/* ===== GALLERY GRID ===== */
.gallery-section { padding: 0 60px 80px; }
.gallery-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gray);
}
.gallery-label .nav-btns { display: flex; gap: 8px; }
.gallery-label .nav-btns button {
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s;
}
.gallery-label .nav-btns button:hover {
  background: var(--teal);
  border-color: var(--teal);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  overflow: hidden;
}
.gallery-item {
  position: relative;
  height: 340px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

/* ===== PROMO SECTION ===== */
.promo-section {
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.promo-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
}
.promo-desc { color: var(--gray-light); font-size: 14px; line-height: 1.8; }

/* ===== RESERVATION ===== */
.reservation-section {
  background: var(--bg-secondary);
  padding: 80px 60px;
  text-align: center;
}
.reservation-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  margin-top: 40px;
  max-width: 900px;
  margin-inline: auto;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; letter-spacing: 1px; color: var(--gray); text-align: right; }
.form-group input, .form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-ar);
  direction: rtl;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--teal); }
.form-group select option { background: #1a1a1a; }
.btn-reserve {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.3s;
  white-space: nowrap;
}
.btn-reserve:hover { background: var(--teal-light); }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 60px;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  text-align: right;
  transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
}
.testimonial-stars { color: var(--gold); margin-bottom: 16px; font-size: 14px; }
.testimonial-text { color: var(--gray-light); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author-info h4 { font-size: 15px; font-weight: 700; }
.testimonial-author-info span { font-size: 12px; color: var(--teal-light); }

/* ===== FOOTER ===== */
footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 60px 60px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}
.footer-logo p { color: var(--gray); font-size: 13px; line-height: 1.8; margin-top: 12px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-social {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--gray);
  transition: all 0.3s;
  background: none;
}
.footer-social:hover {
  border-color: var(--teal);
  color: var(--teal-light);
  background: rgba(74,155,142,0.1);
}
.footer-col h3 {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--off-white);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: var(--gray);
  font-size: 13px;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray);
}

/* ===== SIDE MENU OVERLAY ===== */
.side-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 380px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 2000;
  padding: 40px;
  transition: right 0.4s var(--transition);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.side-menu.open { right: 0; }
.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.side-menu-overlay.show { opacity: 1; pointer-events: all; }
.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.side-menu-close {
  background: none;
  color: var(--white);
  font-size: 24px;
  padding: 8px;
}
.side-menu-nav { display: flex; flex-direction: column; gap: 8px; }
.side-menu-nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, padding-right 0.3s;
}
.side-menu-nav a:hover {
  color: var(--teal-light);
  padding-right: 12px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .highlight-row { grid-template-columns: 1fr; }
  .highlight-image { height: 300px; }
  .chef-section { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reservation-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .section, .chef-section, .gallery-section { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .promo-section { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reservation-form { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .hero-img-preview { display: none; }
  .highlight-text { padding: 40px 30px; }
  .banner-section { padding: 60px 20px; }
  .promo-section { padding: 60px 20px; }
}
