/* ========================================
   BATATA — Modern Design System
   Dark luxury meets street culture
   ======================================== */

/* ---- BASE ---- */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ---- DISPLAY HEADINGS ---- */
.font-display { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- LOGO CAPS ---- */
.logo-caps { text-transform: uppercase; font-weight: 700; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: #c8a84e;
  color: #0a0a0a;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- ANIMATED GOLD GRADIENT LINE ---- */
.gold-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8a84e, #d4b85a, #c8a84e, transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.gold-bar-short { width: 48px; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- GRAIN TEXTURE ---- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- STAGGERED ENTRANCE ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero-specific stagger */
.hero-reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-reveal-1 { animation-delay: 0.2s; }
.hero-reveal-2 { animation-delay: 0.4s; }
.hero-reveal-3 { animation-delay: 0.6s; }
.hero-reveal-4 { animation-delay: 0.8s; }

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

/* ---- HEADER GLASS ---- */
.header-glass {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher button {
  position: relative;
  padding: 8px 10px;
  min-height: 44px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6560;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}
.lang-switcher button:hover { color: #a89880; }
.lang-switcher button.active {
  color: #c8a84e;
}
.lang-switcher button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: #c8a84e;
  border-radius: 1px;
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c8a84e;
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open .mobile-nav-logo {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8a84e, transparent);
  margin-bottom: 2rem;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.mobile-nav.open .mobile-nav-divider {
  transform: scaleX(1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8078;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s;
}
.mobile-nav.open .mobile-nav-links a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav.open .mobile-nav-links a:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav.open .mobile-nav-links a:nth-child(2) { transition-delay: 0.17s; }
.mobile-nav.open .mobile-nav-links a:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.open .mobile-nav-links a:nth-child(4) { transition-delay: 0.27s; }
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: #c8a84e; }

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.mobile-nav.open .mobile-nav-cta {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 168, 78, 0.9);
  color: #0a0a0a;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.mobile-nav-phone:hover { background: #c8a84e; }
.mobile-nav-phone svg { width: 16px; height: 16px; }
.mobile-nav-social {
  display: flex;
  gap: 1rem;
}
.mobile-nav-social a {
  color: #5a554f;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-social a:hover { color: #c8a84e; }
.mobile-nav-social svg { width: 20px; height: 20px; }

/* Hamburger */
.hamburger {
  position: relative;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 100;
}
.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #c8a84e;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ---- VEGAN BADGE ---- */
.vegan {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7bad5e;
  border: 1px solid rgba(123, 173, 94, 0.4);
  border-radius: 3px;
  padding: 1px 5px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ---- STATUS INDICATORS ---- */
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-open .status-dot { background: #7bad5e; box-shadow: 0 0 6px rgba(123, 173, 94, 0.5); }
.status-closed .status-dot { background: #c45c5c; }

/* ---- ACCORDION ---- */
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-body.open { grid-template-rows: 1fr; }
.accordion-body > div { overflow: hidden; }

.accordion-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-icon.rotated { transform: rotate(180deg); }

/* ---- STICKY BOTTOM BAR ---- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(58, 53, 48, 0.6);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6b6560;
  text-decoration: none;
  padding: 8px 16px;
  min-height: 44px;
  transition: color 0.2s;
}
.bottom-bar a:hover, .bottom-bar a:focus { color: #c8a84e; }
.bottom-bar svg { width: 18px; height: 18px; }

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(26, 24, 22, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid #3a3530;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#cookie-banner.show { transform: translateY(0); }

/* ---- STAR RATING ---- */
.star { color: #c8a84e; }

/* ---- CARD HOVER ---- */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s;
}
.card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 168, 78, 0.3);
}

/* ---- MENU ITEM ROW ---- */
.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 37, 32, 0.5);
  transition: background-color 0.2s;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover {
  background: rgba(200, 168, 78, 0.03);
}

/* ---- FOCUS STYLES ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #c8a84e;
  outline-offset: 2px;
}

/* ---- FORM INPUTS ---- */
.form-input {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid #2a2520;
  border-radius: 8px;
  padding: 12px 16px;
  color: #e8e0d0;
  font-size: 0.875rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-input:focus-visible {
  border-color: #c8a84e;
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.1);
  outline: 2px solid #c8a84e;
  outline-offset: 2px;
}
.form-input:focus:not(:focus-visible) {
  border-color: #c8a84e;
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.1);
  outline: none;
}
.form-input::placeholder { color: rgba(168, 152, 128, 0.4); }

/* ---- MAP ---- */
.map-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a2520;
}
.map-container .leaflet-control-attribution {
  background: rgba(10, 10, 10, 0.8) !important;
  color: #5a554f !important;
  font-size: 9px !important;
}
.map-container .leaflet-control-attribution a {
  color: #8a8078 !important;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #3a3530; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c8a84e; }

/* ---- PHOTO GALLERY ---- */
.gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 20px;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.gallery-item {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a2520;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---- STATS SECTION ---- */
.stats-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 0;
  padding-top: 8px;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    border-right: 1px solid #2a2520;
  }
  .stat-item:last-child {
    border-right: none;
  }
}
.stat-item {
  text-align: center;
  padding: 0 16px;
}
.stat-number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #c8a84e;
  line-height: 1.3;
  padding-top: 4px;
  margin-bottom: 8px;
  overflow: visible;
}
.stat-label {
  font-size: 0.75rem;
  color: #8a8078;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---- PRINT ---- */
@media print {
  .bottom-bar, #cookie-banner, .mobile-nav, .grain, .header-glass { display: none !important; }
  body { background: white !important; color: black !important; }
}
