@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================
   Restaurante Demo v2 – Dark Night · Blue · Yellow
   ============================================ */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F172A;
  color: #F8FAFC;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.5; }
  40%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) translateX(var(--sway, 15px)) scale(0.4); opacity: 0; }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(14,165,233,0.2), rgba(8,47,73,0.05));
  border: 1px solid rgba(14,165,233,0.15);
  animation: bubbleRise linear infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

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

.hero-title    { animation: heroFadeIn 1s ease 0.2s both; }
.hero-subtitle { animation: heroFadeIn 1s ease 0.5s both; }
.hero-buttons  { animation: heroFadeIn 1s ease 0.8s both; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 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; }

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg, #FACC15 20%, #38BDF8 50%, #FACC15 80%);
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
.badge-pulse { animation: badgePulse 2s ease-in-out infinite; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 35px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.08); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.success-anim { animation: slideDown 0.5s ease; }

@keyframes cartPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.cart-pop { animation: cartPop 0.3s ease; }

.gradient-text {
  background: linear-gradient(135deg, #FACC15, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background-color: #082F49;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 1px 0 rgba(14,165,233,0.2);
}

.nav-link.active { color: #FACC15 !important; }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}
.mobile-menu.open {
  max-height: 800px;
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(250,204,21,0.4);
}
.btn-primary:active { transform: translateY(0); }

/* ============================================
   CARDS
   ============================================ */

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.5), 0 0 20px rgba(14,165,233,0.15);
}

.promo-glow {
  box-shadow: 0 4px 15px rgba(14,165,233,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.promo-glow:hover {
  box-shadow: 0 8px 35px rgba(14,165,233,0.3), 0 0 15px rgba(250,204,21,0.1);
  transform: translateY(-5px);
}

/* ============================================
   MENU TABS
   ============================================ */

.menu-tab {
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.menu-tab:hover {
  border-color: rgba(250,204,21,0.4);
  color: #FACC15;
}
.menu-tab.active {
  background: #FACC15;
  color: #082F49;
  border-color: #FACC15;
  font-weight: 600;
}

.tab-content { animation: fadeInUp 0.4s ease; }

.menu-item-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.menu-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 15px rgba(14,165,233,0.15);
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */

.btn-add-cart {
  width: 100%;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: #F8FAFC;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.01em;
}
.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.5);
}
.btn-add-cart:active { transform: translateY(0); }

/* ============================================
   CART DRAWER
   ============================================ */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  background: #082F49;
  border-left: 1px solid rgba(14,165,233,0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 50px rgba(0,0,0,0.7);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media (min-width: 640px) {
  .checkout-modal { align-items: center; padding: 1rem; }
}
.checkout-modal.open {
  opacity: 1;
  pointer-events: all;
}
.checkout-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}
.checkout-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #082F49;
  border-radius: 24px 24px 0 0;
  padding: 24px;
  border: 1px solid rgba(14,165,233,0.2);
  box-shadow: 0 -10px 60px rgba(0,0,0,0.6);
}
@media (min-width: 640px) {
  .checkout-modal-content { border-radius: 24px; }
}

/* Radio label selected state */
label:has(input[type="radio"]:checked) {
  border-color: #FACC15 !important;
  background: rgba(250,204,21,0.1) !important;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9985;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s ease;
  animation: waPulse 3s ease-in-out infinite;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  animation: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
}

/* ============================================
   FORMS
   ============================================ */

.form-input {
  width: 100%;
  background: rgba(14,165,233,0.08);
  border: 2px solid rgba(250,204,21,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: #F8FAFC;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input:focus {
  border-color: #FACC15;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}
.form-input::placeholder { color: rgba(248,250,252,0.4); }
.form-input option { background: #082F49; color: #F8FAFC; }

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(248,250,252,0.7);
  margin-bottom: 6px;
}

.form-input-light {
  width: 100%;
  background: rgba(14,165,233,0.08);
  border: 2px solid rgba(14,165,233,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  color: #F8FAFC;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input-light:focus {
  border-color: #FACC15;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}
.form-label-light {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(248,250,252,0.7);
  margin-bottom: 6px;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #082F49; }
::-webkit-scrollbar-thumb { background: #0EA5E9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #38BDF8; }

/* ============================================
   HERO
   ============================================ */

.hero-bg {
  background: linear-gradient(145deg, #020c18 0%, #041626 35%, #082F49 70%, #0B1A2C 100%);
}

@keyframes foamWave {
  0%, 100% { transform: scaleX(1) translateY(0); }
  50%       { transform: scaleX(1.02) translateY(-2px); }
}
.foam-wave { animation: foamWave 3s ease-in-out infinite; }

.wave-top {
  position: absolute; top: -1px; left: 0; right: 0; line-height: 0;
}
.wave-bottom {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
}

/* ============================================
   UTILITY
   ============================================ */

html { scroll-behavior: smooth; }

.section-pad { padding: 80px 0; }
@media (max-width: 768px) { .section-pad { padding: 56px 0; } }

.beer-float { animation: heroFadeIn 1s ease 1.1s both; }

.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FACC15, #F59E0B);
  color: #082F49;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 400;
}

.day-pill {
  display: inline-block;
  font-family: 'Fredoka One', cursive;
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
