:root {
  --bg: #030303;
  --panel: #0a0a08;
  --panel-2: #12120f;
  --text: #fcde66;
  --muted: #fcde66;
  --accent: #fcde66;
  --accent-soft: #ffe56d;
  --line: #fcde66;
  --danger: #d94f4f;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --sidebar-width: 250px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% -12%, rgba(0, 0, 0, 0.877), transparent 45%),
    radial-gradient(circle at 88% -8%, rgba(0, 0, 0, 0.877), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.lock-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 0;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  width: var(--sidebar-width);
  border-right: 1px solid rgb(0, 0, 0);
  background: transparent;
  backdrop-filter: none;
  z-index: 120;
}

.nav {
  height: 100%;
  padding: 1.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}

.brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.58);
  background: #0f0f0f;
}

.sidebar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.lang-toggle {
  border: 1px solid var(--bg);
  background: var(--panel);
  color: var(--text);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-toggle:hover {
  border-color: rgb(0, 0, 0);
  color: var(--accent-soft);
}

.currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border: 1px solid rgba(252, 222, 102, 0.38);
  border-radius: 999px;
  background: var(--panel);
}

.currency-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.currency-btn.active {
  border-color: rgba(252, 222, 102, 0.55);
  background: linear-gradient(120deg, #fcde66, #332800);
}

.menu-toggle {
  border: none;
  background: transparent;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-links a {
  display: block;
  color: var(--muted);
  font-weight: 500;
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bg);
  background: linear-gradient(120deg, #fcde66, #332800);
}

.cart-pill {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgb(0, 0, 0);
  background: linear-gradient(120deg, #fcde66, #332800);
  color: #000000;
  font-weight: 600;
}

#cartCount {
  min-width: 28px;
  text-align: center;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  background: linear-gradient(120deg,#332800, #fcde66);
  color: #0d0d0d;
  font-size: 0.84rem;
}

.page-content {
  margin-left: var(--sidebar-width);
  margin-right: 0;
}

.instagram-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: radial-gradient(circle at 50% -20%, rgba(252, 222, 102, 0.24), transparent 42%), rgba(3, 3, 3, 0.94);
}

.instagram-gate.hidden {
  display: none;
}

.instagram-gate-card {
  width: min(540px, 100%);
  border: 1px solid rgba(252, 222, 102, 0.28);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  padding: 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.instagram-gate-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  color: var(--accent-soft);
}

.instagram-gate-card h2 {
  margin-top: 0.45rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
}

.instagram-gate-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.instagram-gate-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  background: url("images/bg1.jpeg") center center / cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
 
}

.hero-content {
  position: relative;
  max-width: 700px;
  text-align: center;
}

.hero-tag,
.section-head p,
.about-content > p:first-child {
  color: var(--accent-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.1;
}

.hero p {
  max-width: 620px;
  margin: 1.2rem auto 2rem;
  color: #f3e7aa;
}

.btn-primary,
.btn-secondary,
.add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.35rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary,
.add-cart-btn {
  background: linear-gradient(120deg, #fcde66, #332800);
  color: #111111;
}

.btn-primary:hover,
.add-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 212, 0, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 212, 0, 0.45);
}

.btn-secondary:hover {
  background: linear-gradient(120deg, rgba(255, 212, 0, 0.18), rgba(0, 0, 0, 0.42));
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2,
.about-content h2,
.order-form h3,
.cart-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.filter-btn {
  border: 1px solid var(--bg);
  background: var(--panel);
  color: var(--muted);
  padding: 0.56rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text);
  border-color: transparent;
  background: linear-gradient(120deg, #fcde66, #2f2600);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.menu-card {
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(255, 231, 97, 0.134);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.25s ease;
}

.menu-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.menu-card:hover {
  border-color: rgba(255, 212, 0, 0.58);
}

.menu-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.menu-card-content {
  padding: 1rem 1rem 1.15rem;
}

.menu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.menu-card h3 {
  font-size: 1.1rem;
}

.price {
  color: var(--accent-soft);
  font-weight: 700;
}

.menu-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.about-wrap {
  display: grid;
  gap: 1.6rem;
}

.about-image img {
  border-radius: var(--radius-lg);
  min-height: 280px;
  object-fit: cover;
}

.about-content p {
  color: var(--muted);
}

.location-card,
.order-form,
.cart-panel {
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-card h3 {
  margin-bottom: 0.4rem;
}

.location-card p {
  color: var(--muted);
}

.order-layout {
  display: grid;
  gap: 1.2rem;
}

.cart-items {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cart-item,
.cart-empty {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-controls {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn,
.remove-btn {
  border: 1px solid rgba(201, 173, 58, 0.42);
  background: transparent;
  color: var(--text);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.remove-btn {
  border-color: rgba(217, 79, 79, 0.45);
  color: #ff9f9f;
}

.cart-item-qty {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.cart-empty {
  color: var(--muted);
}

.cart-total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.order-form label {
  color: var(--muted);
  font-weight: 500;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  outline: none;
  margin-bottom: 0.25rem;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: rgba(201, 173, 58, 0.62);
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.human-check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.3rem 0 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

.human-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c9ad3a;
  margin: 0;
}

.order-message {
  min-height: 1.5rem;
  color: var(--accent-soft);
  font-weight: 500;
}

.footer {
  border-top: 1px solid rgba(201, 173, 58, 0.22);
  padding: 1.2rem 0;
  background: rgba(3, 3, 3, 0.92);
}

.footer-wrap {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer p {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel);
  color: var(--text);
  transition: 0.25s ease;
}

.socials a:hover {
  background: #221d0b;
  color: var(--accent-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

html[dir="rtl"] body {
  font-family: "Cairo", sans-serif;
}

html[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid rgba(201, 173, 58, 0.24);
}

html[dir="rtl"] .page-content {
  margin-left: 0;
  margin-right: var(--sidebar-width);
}

html[dir="rtl"] .about-content,
html[dir="rtl"] .location-card,
html[dir="rtl"] .menu-card-content,
html[dir="rtl"] .footer-wrap,
html[dir="rtl"] .cart-panel,
html[dir="rtl"] .order-form {
  text-align: right;
}

html[dir="rtl"] .hero-tag,
html[dir="rtl"] .section-head p,
html[dir="rtl"] .about-content > p:first-child {
  text-transform: none;
  letter-spacing: normal;
}

html[dir="rtl"] .menu-filters {
  justify-content: flex-end;
}

html[dir="rtl"] .sidebar-tools {
  flex-direction: row-reverse;
}

html[dir="rtl"] .order-form input,
html[dir="rtl"] .order-form textarea {
  text-align: right;
}

html[dir="rtl"] .menu-card-head,
html[dir="rtl"] .footer-wrap,
html[dir="rtl"] .location-card,
html[dir="rtl"] .cart-item-top,
html[dir="rtl"] .cart-total-row,
html[dir="rtl"] .cart-item-controls {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 88px;
    background: rgba(3, 3, 3, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(201, 173, 58, 0.24);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .nav {
    min-height: 88px;
    height: 88px;
    padding: 0.5rem 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    position: relative;
  }

  .brand {
    gap: 0.45rem;
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .sidebar-tools {
    margin-inline-start: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    right: 12px;
    width: min(270px, 88vw);
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    padding: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.25s ease;
    z-index: 10;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .cart-pill {
    margin-top: 0;
  }

  .page-content,
  html[dir="rtl"] .page-content {
    margin-top: 88px;
    margin-left: 0;
    margin-right: 0;
  }

  html[dir="rtl"] .sidebar {
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    border-left: none;
    border-right: none;
  }

  html[dir="rtl"] .nav {
    flex-direction: row;
  }

  html[dir="rtl"] .sidebar-tools {
    flex-direction: row;
  }

  html[dir="rtl"] .nav-links {
    left: auto;
    right: 12px;
  }
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .about-wrap {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .order-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
