:root {
  --primary-red: #dc143c;
  --primary-yellow: #ffd700;
  --dark-bg: #1a1a1a;
  --card-bg: #2a2a2a;
  --text-light: #ffffff;
  --text-yellow: #ffd700;
  --border-radius: 8px;
  --spacing: 1.5rem;
  --muted: rgba(255, 255, 255, 0.75);
  --muted-2: rgba(255, 255, 255, 0.6);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.25);
  --ring: 0 0 0 3px rgba(220, 20, 60, 0.25);
  --border: rgba(255, 255, 255, 0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: radial-gradient(
      900px 500px at 20% 0%,
      rgba(220, 20, 60, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 450px at 80% 10%,
      rgba(255, 215, 0, 0.14),
      transparent 60%
    ),
    var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}

/* Global parallax-like background layer */
.bg-parallax {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/bg-abstract-parallax.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.26;
  filter: saturate(1.12) contrast(1.06);
  transform: translateZ(0);
}

.bg-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 520px at 20% 0%,
      rgba(220, 20, 60, 0.22),
      transparent 60%
    ),
    radial-gradient(
      750px 520px at 82% 8%,
      rgba(255, 215, 0, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
}

/* Ensure content stays above the parallax layer */
.site-header,
main,
footer,
.fab-call {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease;
  will-change: transform;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), #b22222);
  color: var(--text-light);
  box-shadow: 0 10px 22px rgba(220, 20, 60, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(220, 20, 60, 0.32);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.09);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(26, 26, 26, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-yellow)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.address {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.address:hover {
  color: var(--primary-yellow);
  transform: translateX(2px);
}

.address:focus-visible {
  outline: 2px solid var(--primary-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-red), #b22222);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.header-actions .btn-ghost {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero {
  padding: 3.25rem 0 2.5rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      600px 380px at 15% 25%,
      rgba(220, 20, 60, 0.18),
      transparent 55%
    ),
    radial-gradient(
      650px 420px at 78% 30%,
      rgba(255, 215, 0, 0.12),
      transparent 60%
    );
  opacity: 0.9;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 800;
  color: rgba(255, 215, 0, 0.95);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-badges .kicker {
  margin-bottom: 0;
}

.halal-stamp {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-text h2 {
  font-size: 2.4rem;
  color: var(--text-light);
  margin-bottom: 0.9rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.promo-spotlight {
  margin: 0.1rem 0 0.9rem;
  min-height: 0;
}

.promo-banner--hero {
  margin-bottom: 0;
  justify-content: flex-start;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 3D cube (classic) */
.cube-scene {
  --cube: clamp(190px, 24vw, 280px);
  width: var(--cube);
  height: var(--cube);
  perspective: 1100px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.cube {
  width: var(--cube);
  height: var(--cube);
  position: relative;
  transform-style: preserve-3d;
  animation: cube-spin 12s linear infinite;
}

/* Pause on hover only for devices that actually support hover (mouse/trackpad).
   On touch devices a tap can “stick” :hover, which looks like it stops forever. */
@media (hover: hover) and (pointer: fine) {
  .cube:hover {
    animation-play-state: paused;
  }
}

/* a soft highlight “glaze” in front */
.cube::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(
      520px 360px at 25% 15%,
      rgba(255, 255, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.22),
      transparent 40%,
      rgba(0, 0, 0, 0.28)
    );
  transform: translateZ(calc(var(--cube) / 2 + 2px));
  opacity: 0.8;
}

/* Cube faces */
.cube-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.cube-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0) 35%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.28)
  );
  opacity: 0.9;
}

/* Ensure images fill the face */
.cube-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.05);
}

.cube-face--top {
  transform: rotateX(90deg) translateZ(calc(var(--cube) / 2));
}
.cube-face--bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube) / 2));
}

.cube-face--front {
  transform: rotateY(0deg) translateZ(calc(var(--cube) / 2));
}
.cube-face--right {
  transform: rotateY(90deg) translateZ(calc(var(--cube) / 2));
}
.cube-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--cube) / 2));
}
.cube-face--left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube) / 2));
}

@keyframes cube-spin {
  0% {
    transform: rotateX(12deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(12deg) rotateY(360deg);
  }
}

/* SEO text block */
.seo-section {
  padding: 0 0 2.25rem;
}

.seo-card {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.seo-card h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin-bottom: 0.75rem;
  color: var(--text-yellow);
  text-transform: uppercase;
}

.seo-card p {
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 90ch;
}

.seo-card a {
  color: rgba(255, 215, 0, 0.95);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.35);
}

.seo-card a:hover {
  border-bottom-color: rgba(255, 215, 0, 0.6);
}

/* Contact Info */
.contact-info {
  padding: 3rem 0;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Map Section */
.map-section {
  padding: 3rem 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.12) 50%,
    transparent
  );
}

.map-container {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-card {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  color: var(--text-yellow);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.delivery-line {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.wolt-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.wolt-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
}

.promo-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.18),
    rgba(220, 20, 60, 0.18)
  );
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.promo-title {
  font-weight: 900;
  color: rgba(255, 215, 0, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.85rem;
}

.promo-text {
  font-weight: 900;
  color: var(--text-light);
  font-size: 0.95rem;
}

.phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-red);
  text-decoration: none;
  background-color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.phone:hover {
  transform: translateY(-1px);
}

/* Menu Section */
.menu-section {
  padding: 3rem 0;
}

.menu-section h2 {
  font-size: 2.25rem;
  color: var(--text-light);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-subtitle {
  color: var(--muted-2);
  margin-top: 0.35rem;
  font-size: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-category {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.menu-category:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 215, 0, 0.28);
}

.menu-category h3 {
  color: var(--text-yellow);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  flex: 1;
  color: var(--text-light);
  font-size: 1rem;
}

.menu-item-price {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 0.95rem;
  margin-left: 1rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

/* Footer */
footer {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
  margin: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.halal-badge {
  display: flex;
  justify-content: center;
  margin-top: 1rem !important;
}

/* Floating call button (mobile) */
.fab-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-red), #b22222);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fab-call:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* more vertical breathing room on mobile */
  .hero {
    padding: 2.5rem 0 2.5rem;
  }

  .seo-section,
  .contact-info,
  .map-section,
  .menu-section {
    padding: 2.5rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .site-header {
    background: rgba(26, 26, 26, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .brand h1 {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0.5px;
  }

  .address {
    font-size: 0.8rem;
  }

  .address:hover {
    transform: translateX(1px);
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }

  .hero-text h2 {
    font-size: 1.9rem;
  }

  .halal-stamp {
    width: 56px;
    height: 56px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .map-section {
    padding: 2rem 0;
  }

  .map-container iframe {
    height: 350px;
  }

  .fab-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-parallax {
    position: absolute;
  }

  .cube {
    animation: none;
    transform: rotateX(12deg) rotateY(20deg);
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  header {
    background: var(--primary-red);
  }

  .menu-category {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}
