/* ========================================
   SUFRAH CAFÉ — CSS
   Theme: Silk Road Luxury Minimalism
   ======================================== */

/* ---- CSS Variables / Tokens ---- */
:root {
  /* Light Mode */
  --crimson: #8B1A3A;
  --crimson-deep: #6B1228;
  --gold: #C9963A;
  --gold-light: #E8B86D;
  --cream: #F5EDE0;
  --cream-dark: #EDE0CD;
  --bg: #FAF5EE;
  --bg-alt: #F2EBE0;
  --text: #1A0A0A;
  --text-muted: #5A3A2A;
  --text-light: #8B6A5A;
  --border: rgba(139, 26, 58, 0.15);
  --card-bg: #FFFFFF;
  --shadow: 0 4px 32px rgba(139, 26, 58, 0.08);
  --shadow-lg: 0 12px 48px rgba(139, 26, 58, 0.14);
  --nav-bg: rgba(250, 245, 238, 0.95);
  --section-dark-bg: #1C0810;
  --section-dark-text: #F5EDE0;
  --success: #3A7D44;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-gap: 100px;
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --t: 0.3s ease;
  --t-slow: 0.6s ease;
}

[data-theme="dark"] {
  --bg: #0F0508;
  --bg-alt: #180B10;
  --text: #F5EDE0;
  --text-muted: #C9A898;
  --text-light: #8B6A5A;
  --border: rgba(201, 150, 58, 0.2);
  --card-bg: #1C0D14;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(15, 5, 8, 0.95);
  --cream: #F5EDE0;
  --cream-dark: #2A1520;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139, 26, 58, 0.1);
}

/* ---- Loader ---- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--crimson-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  margin-bottom: 20px;
  animation: loaderPulse 1.5s ease infinite;
}

.loader-text {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(201, 150, 58, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: loaderFill 2s ease forwards;
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* ---- Utilities ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-dark {
  background: var(--section-dark-bg);
  color: var(--section-dark-text);
}

.section-pattern {
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B1A3A' fill-opacity='0.04'%3E%3Cpath d='M0 20L20 0 40 20 20 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--cream);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-dark .section-sub {
  color: rgba(245, 237, 224, 0.7);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all var(--t);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

.btn-primary:hover {
  background: var(--crimson-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 237, 224, 0.5);
}

.btn-secondary:hover {
  background: rgba(245, 237, 224, 0.1);
  border-color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}

.btn-outline:hover {
  background: var(--crimson);
  color: #fff;
}

.btn-nav {
  background: var(--crimson);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--crimson-deep);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--t);
}

#navbar.scrolled {
  padding: 10px 40px;
  box-shadow: var(--shadow);
}

.nav-brand a {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* Theme Logo Toggling */
.brand-logo { height: 75px; width: auto; }
.loader-brand-img { height: 120px; width: auto; margin: 0 auto; }

[data-theme="light"] .dark-logo { display: none; }
[data-theme="light"] .light-logo { display: block; }

[data-theme="dark"] .light-logo { display: none; }
[data-theme="dark"] .dark-logo { display: block; }

/* Always show dark logo on dark sections */
#loader .light-logo,
#hero .light-logo,
#footer .light-logo { display: none !important; }

#loader .dark-logo,
#hero .dark-logo,
#footer .dark-logo { display: block !important; }

.brand-arabic {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--crimson);
}

.brand-latin {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text);
}

.brand-latin em {
  font-style: italic;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
}

.nav-links a:hover {
  color: var(--crimson);
  background: rgba(139, 26, 58, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: all var(--t);
}

.lang-toggle:hover,
.theme-toggle:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.theme-toggle {
  font-size: 14px;
}

.icon-sun,
.icon-moon {
  width: 15px;
  height: 15px;
}

[data-theme="light"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

.hamburger {
  display: none;
  color: var(--text);
  padding: 4px;
}

/* ---- Hero ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--crimson-deep) 0%, #3D0A1A 40%, #1A0810 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(201, 150, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(139, 26, 58, 0.3) 0%, transparent 50%);
}

/* Arabic geometric pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' stroke='rgba(201,150,58,0.07)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='12' stroke='rgba(201,150,58,0.05)' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.chai-container {
  position: absolute;
  right: 8%;
  top: 0;
  height: 100%;
  width: 200px;
  pointer-events: none;
  z-index: 2;
}

.chai-pour {
  width: 120px;
  height: 600px;
}

.steam {
  animation: steamRise 3s ease-in-out infinite;
}

.steam-1 {
  animation-delay: 0s;
}

.steam-2 {
  animation-delay: 1s;
}

@keyframes steamRise {
  0% {
    opacity: 0.4;
    transform: translateY(0);
  }

  50% {
    opacity: 0.1;
    transform: translateY(-20px);
  }

  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
}

.chai-stream {
  transition: stroke-dashoffset 0.1s linear;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 120px 0 80px;
  margin-left: max(40px, calc((100vw - 1200px)/2 + 24px));
}

.hero-tagline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.hero-title-arabic {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--gold);
  line-height: 1;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
}

.hero-title-main em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: rgba(245, 237, 224, 0.8);
  margin-bottom: 36px;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

.hero-scroll {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(245, 237, 224, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s ease forwards;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 150, 58, 0.6), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.5
  }

  50% {
    opacity: 1
  }
}

.hero-dishes {
  position: absolute;
  right: 18%;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dish-float {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 150, 58, 0.2);
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  animation: floatCard 4s ease-in-out infinite;
}

.dish-float.dish-2 {
  animation-delay: 1.2s;
}

.dish-float.dish-3 {
  animation-delay: 2.4s;
}

.dish-emoji {
  font-size: 1.2rem;
}

.dish-price {
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: auto;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Marquee ---- */
.marquee-strip {
  background: var(--crimson);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 30s linear infinite;
  color: rgba(245, 237, 224, 0.9);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--gold-light);
  font-size: 1rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--crimson);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* ---- Interactive Compass (About Section) ---- */
.interactive-compass {
  width: 280px;
  height: 280px;
  position: relative;
  border-radius: 50%;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.compass-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed rgba(201, 150, 58, 0.4);
  transition: transform 0.2s ease-out;
}

.compass-ring.ring-1 {
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201, 150, 58, 0.2);
  border-top: 2px solid var(--gold);
}

.compass-ring.ring-2 {
  width: 220px;
  height: 220px;
  border: 2px dotted rgba(201, 150, 58, 0.5);
  border-bottom: 2px solid var(--crimson);
}

.compass-ring.ring-3 {
  width: 160px;
  height: 160px;
  border: 1px solid rgba(139, 26, 58, 0.3);
  border-right: 2px solid var(--gold);
  background: rgba(201, 150, 58, 0.05);
}

.compass-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(201, 150, 58, 0.5);
  animation: pulseStar 3s infinite ease-in-out;
}

@keyframes pulseStar {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; text-shadow: 0 0 20px rgba(201, 150, 58, 0.8); }
}

.about-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--crimson);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  max-width: 260px;
  box-shadow: var(--shadow-lg);
}

.about-card blockquote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.silk-road-map {
  margin-top: 48px;
}

.road-svg {
  width: 100%;
  max-width: 300px;
}

/* ---- Menu ---- */
.menu-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 237, 224, 0.6);
  border: 1.5px solid rgba(245, 237, 224, 0.15);
  transition: all var(--t);
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

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

.menu-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 150, 58, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), opacity 0.4s ease;
  animation: fadeUp 0.5s ease forwards;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.menu-card-emoji {
  font-size: 3.5rem;
  text-align: center;
  padding: 32px 20px 16px;
  background: linear-gradient(180deg, rgba(201, 150, 58, 0.08) 0%, transparent 100%);
}

.menu-card-img {
  text-align: center;
  padding: 24px 20px 10px;
  background: linear-gradient(180deg, rgba(201, 150, 58, 0.08) 0%, transparent 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.3));
  transition: transform var(--t);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08) translateY(-5px);
}


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

.menu-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(201, 150, 58, 0.15);
  color: var(--gold);
}

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.menu-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(245, 237, 224, 0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.btn-add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  transition: all var(--t);
}

.btn-add:hover {
  background: var(--gold);
  transform: scale(1.1);
}

/* ---- Delivery ---- */
.delivery-partners {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.delivery-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}

.delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crimson);
}

.delivery-card.lieferando:hover { border-color: #FF8000; }
.delivery-card.ubereats:hover { border-color: #06C167; }

.delivery-card-inner {
  position: relative;
  z-index: 2;
}

.delivery-card-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.delivery-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  transition: transform var(--t), background var(--t), color var(--t);
}

.delivery-card:hover .delivery-card-arrow {
  transform: translateX(5px);
  background: var(--crimson);
  color: #fff;
}
.delivery-card.lieferando:hover .delivery-card-arrow { background: #FF8000; color: #fff;}
.delivery-card.ubereats:hover .delivery-card-arrow { background: #06C167; color: #fff;}

/* ---- Old Order Styles (Hidden but preserved for structure if needed) ---- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.order-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.order-item-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--t);
  box-shadow: var(--shadow);
}

.order-item-card:hover {
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.order-item-emoji {
  font-size: 2.5rem;
}

.order-item-img {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.order-item-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.order-item-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.order-item-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.order-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.order-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}

.cart-sidebar {
  position: sticky;
  top: 90px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.cart-count {
  background: var(--crimson);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-empty {
  font-family: var(--font-body);
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  transition: all var(--t);
}

.qty-btn:hover {
  background: var(--crimson);
  color: #fff;
}

.cart-item-price {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  min-width: 50px;
  text-align: right;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--border);
  margin-top: 8px;
  font-weight: 600;
}

#totalPrice {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
}

.cart-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-form input,
.cart-form textarea {
  font-size: 0.9rem;
  padding: 10px 14px;
}

/* ---- Reservations ---- */
.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.reservation-info .section-title {
  margin-bottom: 16px;
}

.reservation-info p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.res-hours-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 150, 58, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.res-hours-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.res-hours-header i {
  color: var(--crimson);
}

.res-hours-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.res-hours-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hour-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hour-day {
  color: var(--text-muted);
  font-weight: 500;
}

.hour-time {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text);
}

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---- Booking Widget ---- */
.booking-widget {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.calendar-section {
  width: 100%;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-header h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.cal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  transition: all var(--t);
}

.cal-nav-btn:hover {
  background: var(--crimson);
  color: #fff;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--t);
  color: var(--text);
  border: 1px solid transparent;
}

.cal-day:not(.disabled):not(.empty):hover {
  background: rgba(139, 26, 58, 0.08);
  border-color: rgba(139, 26, 58, 0.3);
}

.cal-day.active {
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(139, 26, 58, 0.3);
}

.cal-day.disabled {
  color: rgba(245, 237, 224, 0.3);
  cursor: not-allowed;
}
[data-theme="light"] .cal-day.disabled {
  color: rgba(90, 58, 42, 0.3);
}

.cal-day.empty {
  cursor: default;
}

.time-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.time-section h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: center;
}

.time-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.time-slot {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t);
  color: var(--text);
  background: var(--card-bg);
}

.time-slot:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.time-slot.active {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(139, 26, 58, 0.3);
}

.guest-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.guest-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--t);
  color: var(--text);
  background: var(--card-bg);
}

.guest-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.guest-btn.active {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: var(--shadow);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crimson);
}

.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.blog-body {
  padding: 20px 24px;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.blog-cta {
  text-align: center;
}

/* ---- Reviews ---- */
.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 150, 58, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--t);
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245, 237, 224, 0.85);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-author {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

.review-form-toggle {
  text-align: center;
  margin-bottom: 32px;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 150, 58, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form input,
.review-form textarea {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border-color: rgba(201, 150, 58, 0.2);
}

.star-picker {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  color: rgba(201, 150, 58, 0.3);
  cursor: pointer;
}

.star-picker span.active,
.star-picker span:hover,
.star-picker span.hover {
  color: var(--gold);
}

/* ---- Location ---- */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-info .section-title {
  margin-bottom: 24px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.location-detail i {
  color: var(--crimson);
  flex-shrink: 0;
  margin-top: 4px;
}

.location-detail a {
  color: var(--crimson);
}

.location-detail a:hover {
  text-decoration: underline;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-info>p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--t);
}

.contact-link:hover {
  color: var(--crimson);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Footer ---- */
#footer {
  background: var(--section-dark-bg);
  color: var(--section-dark-text);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 150, 58, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .brand-arabic {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.footer-brand .brand-latin {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(245, 237, 224, 0.8);
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(245, 237, 224, 0.5);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 237, 224, 0.6);
  transition: color var(--t);
}

.footer-links a:hover {
  color: var(--gold);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(245, 237, 224, 0.6);
  transition: color var(--t);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(245, 237, 224, 0.35);
}

/* ---- Floating Order ---- */
.floating-order {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(139, 26, 58, 0.4);
  transition: all var(--t);
  font-size: 22px;
}

.floating-order:hover {
  background: var(--crimson-deep);
  transform: scale(1.1);
}

.float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  transition: color var(--t);
}

.modal-close:hover {
  color: var(--crimson);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--crimson);
}

.modal-content .blog-meta {
  margin-bottom: 16px;
}

.modal-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---- Success Messages ---- */
.success-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(58, 125, 68, 0.1);
  border: 1px solid rgba(58, 125, 68, 0.3);
  color: var(--success);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 8px;
}

.success-msg i {
  flex-shrink: 0;
}

/* ---- Lucide Icon sizes ---- */
[data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.location-detail [data-lucide],
.contact-link [data-lucide] {
  width: 20px;
  height: 20px;
}

.floating-order [data-lucide] {
  width: 24px;
  height: 24px;
}

/* ---- Animations ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {

  .about-grid,
  .order-layout,
  .reservation-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cart-sidebar {
    position: static;
  }

  .hero-dishes {
    display: none;
  }

  .chai-container {
    right: 2%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }

  #navbar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 16px 20px;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .hero-content {
    padding: 100px 0 60px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .reservation-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title-arabic {
    font-size: 2.5rem;
  }

  .hero-title-main {
    font-size: 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-widget,
  .res-hours-card {
    padding: 16px;
  }
  
  .cal-day {
    font-size: 0.85rem;
  }
  
  .guest-btn {
    width: 36px;
    height: 36px;
  }
}