﻿* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
}

.font-display {
  font-family: "Bebas Neue", sans-serif;
}

.nav-link {
  color: #e8edf3;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffbe85;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, #ff952f, #f17700);
  padding: 0.86rem 1.4rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 178, 104, 0.25), 0 12px 24px rgba(241, 119, 0, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  padding: 0.86rem 1.4rem;
  color: #f5f8fb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 178, 104, 0.9);
  background-color: rgba(255, 255, 255, 0.06);
}

.menu-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(241, 119, 0, 0.6);
  background-color: rgba(241, 119, 0, 0.1);
  color: #f17700;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-nav-btn:hover {
  background-color: rgba(241, 119, 0, 0.2);
  border-color: rgba(241, 119, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 119, 0, 0.2);
}

.menu-nav-btn:active {
  transform: translateY(0);
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: 0.05em;
  line-height: 0.94;
  text-transform: uppercase;
  color: #fff;
}

.section-title-dark {
  color: #141a23;
}

.ornate-top {
  position: relative;
}

.ornate-top::before,
.ornate-top::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #f17700 0 24px,
    transparent 24px 40px,
    #f8b46e 40px 56px,
    transparent 56px 72px
  );
  opacity: 0.85;
}

.ornate-top::before {
  top: 0;
}

.ornate-top::after {
  bottom: 0;
}

.motif {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
}

.motif-elephant {
  top: 33%;
  left: 3%;
  width: 210px;
}

.motif-spices {
  right: 5%;
  bottom: 15%;
  width: 220px;
}

.origin-card {
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.origin-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.origin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.origin-content {
  padding: 1.2rem;
}

.origin-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: #ff8f2a;
}

.origin-content p {
  margin: 0.45rem 0 0;
  color: #d4dde7;
  line-height: 1.6;
}

.menu-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(241, 119, 0, 0.17), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(18, 53, 86, 0.16), transparent 28%),
    linear-gradient(180deg, #f4f4f6 0%, #eceff2 100%);
}

/* Ensure anchor targets are visible below the fixed header on mobile */
.visit-section {
  scroll-margin-top: 94px;
}

/* Ensure mobile Visit CTA shows on small screens and hides on large screens reliably */
.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .btn-visit {
    display: none !important;
  }
}

/* Prevent Visit button from pushing the language toggle on very small viewports */
.btn-visit {
  max-width: 96px;
  padding: 0.5rem 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

#lang-toggle {
  flex: 0 0 auto;
  margin-left: 6px;
}

/* Small music toggle button */
.music-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
  cursor: pointer;
}
.music-btn:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 420px) {
  .btn-visit { max-width: 76px; font-size: 0.72rem; }
  .music-btn { width: 34px; height: 34px; font-size: 15px; }
}

/* Mobile carousel enforcement: ensure absolute positioning and stacking work on small devices */
@media (max-width: 640px) {
  .gallery-wrap { overflow: hidden; }
  .gallery-track { position: relative !important; height: 240px !important; }
  .gallery-item {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 86% !important;
    height: 240px !important;
    display: block !important;
    opacity: 0 !important;
    transition: transform 0.45s cubic-bezier(.22,1,.36,1), opacity 0.35s ease !important;
    margin: 0 !important;
  }
  .gallery-item.is-active { transform: translateX(-50%) scale(1) !important; opacity: 1 !important; z-index: 3 !important; }
  .gallery-item.is-prev { transform: translateX(-150%) scale(0.88) !important; opacity: 0.85 !important; z-index: 2 !important; }
  .gallery-item.is-next { transform: translateX(50%) scale(0.88) !important; opacity: 0.85 !important; z-index: 2 !important; }
  .gallery-btn { display: inline-flex !important; }
}

/* Gallery styles */
.gallery-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.14), rgba(10, 15, 22, 0.22));
  backdrop-filter: blur(2px);
}
.gallery-track {
  position: relative;
  height: 280px;
}
.gallery-item {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 70%;
  height: 280px;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1), opacity 0.45s ease;
  border-radius: 0.6rem;
}

.gallery-item.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}
.gallery-item.is-prev,
.gallery-item.is-next {
  width: 50%;
  opacity: 0.82;
  z-index: 2;
  filter: saturate(0.95) brightness(0.92);
}
.gallery-item.is-prev {
  transform: translateX(-150%) scale(0.92);
}
.gallery-item.is-next {
  transform: translateX(50%) scale(0.92);
}

@media (min-width: 768px) {
  .gallery-item { height: 360px; }
}

.gallery-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 12;
}
.gallery-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: none;
}
.gallery-indicators button.is-active { background: rgba(241,119,0,0.95); }

/* Prev/Next buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.38);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 15;
}
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }
.gallery-btn:hover { background: rgba(0,0,0,0.6); }

.menu-section::before,
.menu-section::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(241, 119, 0, 0.22);
  pointer-events: none;
}

.menu-section::before {
  top: -140px;
  left: -120px;
  box-shadow:
    0 0 0 22px rgba(241, 119, 0, 0.09),
    0 0 0 44px rgba(241, 119, 0, 0.05);
}

.menu-section::after {
  right: -120px;
  bottom: -140px;
  box-shadow:
    0 0 0 22px rgba(16, 52, 84, 0.08),
    0 0 0 44px rgba(16, 52, 84, 0.04);
}

.visit-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(241, 119, 0, 0.24), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(255, 203, 141, 0.13), transparent 34%),
    linear-gradient(140deg, #243f59 0%, #1a3045 45%, #162838 100%);
}

.visit-section::before,
.visit-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
  background-repeat: no-repeat;
  background-size: contain;
}

.visit-section::before {
  width: 260px;
  height: 260px;
  left: 2%;
  bottom: 8%;
  background-image: url("assets/motif-elephant.svg?v=20260411-1");
}

.visit-section::after {
  width: 230px;
  height: 230px;
  right: 3%;
  top: 9%;
  background-image: url("assets/motif-spices.svg?v=20260411-1");
}

.menu-category {
  border-radius: 0.8rem;
  border: 1px solid #d9dee3;
  background: #fff;
  padding: 1.15rem;
  box-shadow: 0 14px 30px rgba(20, 35, 52, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  scroll-margin-top: 94px;
}

.menu-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(20, 35, 52, 0.14);
}

.menu-category h3 {
  margin: 0;
  border-bottom: 3px solid #f17700;
  padding-bottom: 0.4rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: #161b23;
}

.menu-item {
  border-bottom: 1px dashed #d4d9de;
  padding: 0.72rem 0;
}

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

.item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.item-head h4 {
  margin: 0;
  color: #202833;
  font-size: 0.95rem;
}

.item-head h4,
.price {
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-item:hover .item-head h4 {
  transform: translateX(2px);
}

.menu-item:hover .price {
  color: #f17700;
}

.price {
  color: #d96500;
  font-weight: 700;
}

.menu-item p {
  margin: 0.34rem 0 0;
  color: #5e6c7a;
  line-height: 1.45;
  font-size: 0.81rem;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.reveal-item.is-visible {
  animation: revealUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-1 {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

.reveal-delay-3 {
  animation-delay: 0.24s;
}

.float-slow {
  animation: gentleFloat 6.5s ease-in-out infinite;
}

.float-slower {
  animation: gentleFloat 9s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.reveal-up {
  animation: revealUp 0.8s ease both;
}

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

@media (max-width: 960px) {
  .motif-elephant,
  .motif-spices {
    opacity: 0.48;
    width: 160px;
  }
}

@media (max-width: 768px) {
  .section-title {
    line-height: 0.98;
  }

  .motif {
    display: none;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .menu-section::before,
  .menu-section::after,
  .visit-section::before,
  .visit-section::after {
    display: none;
  }
}

/* Header small-screen adjustments */
@media (max-width:640px) {
  header .leading-tight { flex: 1; min-width: 0; }
  header .font-display { font-size: 0.95rem; line-height: 1.1; }
  header .leading-tight p:last-child { font-size: 8px; letter-spacing: 0.12em; }
  .header-controls { display: flex; gap:0.5rem; align-items:center; flex-shrink:0; min-width:0; }
  .header-controls > * { flex-shrink:0; }
  .btn-visit { max-width: 60px; padding: 0.4rem 0.6rem; font-size: 0.7rem; }
}

/* Extra mobile gallery fallback sizing */
@media (max-width:640px) {
  .gallery-track { height: 240px !important; }
  .gallery-item { height: 240px !important; }
}

