/* ICAPI-inspired theme — restaurant menu only (icapi.netlify.app) */

/* ========== ICAPI Hero Page ========== */

#icapi-hero-page {
  position: relative;
  min-height: calc(100dvh - var(--header-offset));
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2.5rem;
  overflow: hidden;
}

#icapi-hero-page.active {
  display: flex;
}

.icapi-hero-bg {
  position: fixed;
  inset: 0;
  background-color: #120c0a;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.icapi-hero-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 4, 0.55) 0%, rgba(8, 5, 4, 0.72) 45%, rgba(8, 5, 4, 0.88) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(96, 16, 27, 0.18) 0%, transparent 55%);
  z-index: -1;
}

body.icapi-hero-active {
  background: #120c0a;
}

body.icapi-hero-active .top-bar {
  background: rgba(8, 5, 4, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.icapi-hero-active .lang-switcher {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.icapi-hero-active .lang-btn {
  color: rgba(255, 255, 255, 0.72);
}

body.icapi-hero-active .lang-btn.active {
  background: #60101b;
  color: #f7f4ef;
}

.icapi-hero-back {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icapi-hero-back:hover,
.icapi-hero-back:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.icapi-hero-content {
  width: 100%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: icapiHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes icapiHeroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icapi-hero-logo {
  width: clamp(140px, 38vw, 220px);
  height: auto;
  max-height: 160px;
  object-fit: contain;
  background: transparent;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

.icapi-hero-title {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.35rem;
}

html[dir="rtl"] .icapi-hero-title {
  font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.icapi-hero-subtitle {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: #c4a855;
  margin-bottom: 1.25rem;
}

html[dir="rtl"] .icapi-hero-subtitle {
  font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
}

.icapi-hero-description {
  font-size: clamp(0.88rem, 2.8vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  margin-bottom: 2rem;
}

html[dir="rtl"] .icapi-hero-description {
  font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
}

.icapi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
}

.icapi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

html[dir="rtl"] .icapi-btn {
  font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
}

.icapi-btn-primary {
  background: #60101b;
  color: #fff;
  box-shadow: 0 8px 24px rgba(96, 16, 27, 0.35);
}

.icapi-btn-primary:hover,
.icapi-btn-primary:focus-visible {
  background: #7a1830;
  transform: translateY(-1px);
}

.icapi-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.icapi-btn-outline:hover,
.icapi-btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 420px) {
  .icapi-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .icapi-btn {
    width: 100%;
  }
}

/* Landing — restaurant card ICAPI style */
.restaurant-card {
  --card-accent: var(--icapi-gold, #c4a855);
}

body:not(.icapi-hero-active) .restaurant-card {
  background: linear-gradient(180deg, #fdfbf8 0%, #f3ece3 100%);
  border-color: rgba(196, 168, 85, 0.35);
  color: #171313;
}

body:not(.icapi-hero-active) .restaurant-card .venue-tagline,
body:not(.icapi-hero-active) .restaurant-card .tap-hint {
  color: #6b6464;
}

body:not(.icapi-hero-active) .restaurant-card .venue-badge {
  background: rgba(96, 16, 27, 0.08);
  color: #60101b;
  border-color: rgba(96, 16, 27, 0.15);
}

body:not(.icapi-hero-active) .restaurant-card .shimmer-restaurant {
  animation: none;
  background: linear-gradient(135deg, #60101b, #c4a855);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:not(.icapi-hero-active) .restaurant-card .enter-btn {
  background: rgba(96, 16, 27, 0.08);
  color: #60101b;
}

body:not(.icapi-hero-active) .restaurant-card:hover .enter-btn {
  background: #60101b;
  color: #f7f4ef;
}

body:not(.icapi-hero-active) .restaurant-card .logo-ring::before {
  border-color: rgba(196, 168, 85, 0.5);
}

body:not(.icapi-hero-active) .restaurant-glow {
  background: rgba(196, 168, 85, 0.2);
}