/* ============================================================
   TAQUERÍA LA DOÑA — style.css
   ============================================================ */

:root {
  --rojo:       #C0392B;
  --naranja:    #E67E22;
  --dorado:     #F1C40F;
  --oscuro:     #1A0000;
  --card-bg:    #2C0A0A;
  --blanco:     #FFFFFF;
  --gris-texto: #CCCCCC;
  --verde-wa:   #25D366;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--oscuro);
  color: var(--blanco);
  overflow-x: hidden;
}

/* ── TOP BANNER ──────────────────────────────────────────── */
.top-banner {
  background: var(--dorado);
  color: var(--oscuro);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 1001;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.top-banner-btn {
  background: var(--rojo);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.top-banner-btn:hover { background: var(--oscuro); }

.btn-mapa {
  background: var(--rojo);
  color: #fff;
  border-radius: 20px;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.3s;
  white-space: nowrap;
}
.btn-mapa:hover { background: var(--oscuro); }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  background: var(--oscuro);
  box-shadow: 0 2px 15px rgba(0,0,0,0.5);
  position: sticky;
  top: 38px;
  z-index: 1000;
  height: 65px;
}

.navbar-inner {
  height: 100%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#navMenu {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--dorado);
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--naranja); }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-llamar {
  background: var(--rojo);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.3s;
  white-space: nowrap;
}
.btn-llamar:hover { background: var(--naranja); }

#cart-btn {
  background: var(--dorado);
  color: var(--oscuro);
  border: none;
  border-radius: 25px;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
#cart-btn:hover { background: var(--naranja); color: #fff; }

#lang-btn {
  background: transparent;
  border: 2px solid var(--dorado);
  color: var(--dorado);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
#lang-btn:hover { background: var(--dorado); color: var(--oscuro); }

/* ── HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--dorado);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 5px 0;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.png') center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
    -webkit-background-size: cover !important;
  }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(192,57,43,0.45)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.1); }
  28%     { transform: scale(1); }
  42%     { transform: scale(1.06); }
  70%     { transform: scale(1); }
}
.hero-logo { animation: heartbeat 2s ease-in-out infinite !important; }
@media (max-width: 768px) {
  .hero-logo {
    width: 110px !important;
    max-width: 110px !important;
    height: 110px !important;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(241,196,15,0.9);
  color: var(--oscuro);
  font-family: 'Fredoka One', cursive;
  padding: 6px 22px;
  border-radius: 20px;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: 3.5rem;
  color: var(--dorado);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
  margin-bottom: 10px;
}

.hero-subtitle {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.hero-en {
  color: var(--dorado);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-phone-block {
  display: inline-block;
  background: rgba(0,0,0,0.6);
  border: 2px solid var(--dorado);
  border-radius: 16px;
  padding: 20px 30px;
  margin-top: 20px;
}

.hero-phone-label {
  font-family: 'Fredoka One', cursive;
  color: var(--dorado);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.btn-call-hero {
  display: inline-block;
  background: var(--rojo);
  color: #fff;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(192,57,43,0.6);
  transition: all 0.3s;
  margin-bottom: 16px;
}
.btn-call-hero:hover { background: var(--dorado); color: var(--oscuro); }

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-outline-white {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-outline-white:hover { background: #fff; color: var(--oscuro); }

.btn-whatsapp {
  display: inline-block;
  background: var(--verde-wa);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s;
}
.btn-whatsapp:hover { background: #1da851; }

/* ── INFO BAR ────────────────────────────────────────────── */
.info-bar {
  background: var(--rojo);
  color: #fff;
  padding: 14px 5%;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* ── MENÚ ────────────────────────────────────────────────── */
.menu-section {
  background: var(--oscuro);
  padding: 70px 5%;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  color: var(--dorado);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--rojo);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.menu-proteinas {
  color: var(--naranja);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(241,196,15,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s, border-color 0.3s;
}
.menu-card:hover { transform: translateY(-5px); border-color: var(--dorado); }

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body { padding: 14px; }

.card-body h3 {
  font-family: 'Fredoka One', cursive;
  color: var(--dorado);
  font-size: 1rem;
  margin-bottom: 6px;
}

.card-price {
  display: block;
  color: var(--naranja);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.card-desc {
  color: #999;
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.card-body button {
  background: var(--rojo);
  color: #fff;
  font-family: 'Fredoka One', cursive;
  border: none;
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.card-body button:hover { background: var(--dorado); color: var(--oscuro); }

/* ── CARRITO LATERAL ─────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.cart-overlay.active { display: block; }

.cart-panel {
  position: fixed;
  right: -380px;
  top: 0;
  width: 360px;
  height: 100vh;
  background: var(--oscuro);
  border-left: 3px solid var(--dorado);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-panel.open { right: 0; }

.cart-header {
  background: var(--rojo);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
}
.cart-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-empty {
  text-align: center;
  color: #999;
  margin-top: 50px;
  font-size: 0.95rem;
  line-height: 2;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(241,196,15,0.12);
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  color: var(--dorado);
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price { color: var(--naranja); font-size: 0.85rem; font-weight: 700; }

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cart-qty button {
  background: var(--rojo);
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-qty span { color: #fff; font-weight: 700; min-width: 18px; text-align: center; }

.cart-remove {
  background: transparent;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s;
  flex-shrink: 0;
}
.cart-remove:hover { color: var(--rojo); }

.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(241,196,15,0.3);
}

.cart-total {
  font-family: 'Fredoka One', cursive;
  color: var(--dorado);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.btn-wa-cart {
  background: var(--verde-wa);
  color: #fff;
  font-family: 'Fredoka One', cursive;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-wa-cart:hover { background: #1da851; }

/* ── CATERING ────────────────────────────────────────────── */
.catering-section {
  background: var(--card-bg);
  padding: 70px 5%;
}

.catering-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 30px auto 0;
  align-items: start;
}

.catering-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 24px;
}

.catering-list {
  list-style: none;
  padding: 0;
}
.catering-list li {
  color: var(--naranja);
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 0;
  border-bottom: 1px solid rgba(241,196,15,0.1);
}

.catering-form-wrap {
  background: var(--oscuro);
  border-radius: 16px;
  padding: 30px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  color: var(--gris-texto);
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card-bg);
  border: 2px solid rgba(241,196,15,0.3);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dorado);
}
.form-group select option { background: var(--card-bg); color: #fff; }
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }

.btn-catering-wa {
  background: var(--verde-wa);
  color: #fff;
  font-family: 'Fredoka One', cursive;
  border: none;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.3s;
}
.btn-catering-wa:hover { background: #1da851; }

/* ── RESEÑAS ─────────────────────────────────────────────── */
.resenas-section {
  background: var(--oscuro);
  padding: 70px 5%;
  text-align: center;
}

.google-rating { margin-bottom: 40px; }
.google-logo { margin-bottom: 8px; letter-spacing: -1px; }
.rating-stars { font-size: 1.4rem; margin-bottom: 8px; }

.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.resena-card {
  background: var(--card-bg);
  border: 1px solid rgba(241,196,15,0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}
.resena-card:hover { border-color: var(--dorado); transform: translateY(-4px); }

.resena-stars { color: var(--dorado); font-size: 1.1rem; margin-bottom: 10px; }
.resena-card h4 { color: var(--dorado); font-family: 'Fredoka One', cursive; font-size: 1rem; margin-bottom: 10px; }
.resena-es,
.resena-en { color: var(--gris-texto); font-size: 0.9rem; font-style: italic; line-height: 1.6; }

/* ── MAPA ────────────────────────────────────────────────── */
.map-section { background: var(--oscuro); }

/* ── SOBRE NOSOTROS ──────────────────────────────────────── */
.about-section {
  background: var(--rojo);
  padding: 70px 5%;
  text-align: center;
}
.about-section h2 {
  font-family: 'Fredoka One', cursive;
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.about-es,
.about-en {
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #0D0000;
  padding: 50px 5% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  color: var(--dorado);
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

.footer-tagline { color: var(--gris-texto); font-size: 0.85rem; }

.footer-col h4 {
  color: var(--dorado);
  font-family: 'Fredoka One', cursive;
  margin-bottom: 4px;
}

.footer-col a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--naranja); }

.footer-col p { color: #999; font-size: 0.9rem; }

.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a { color: #999; font-size: 1.3rem; transition: color 0.3s; text-decoration: none; }
.footer-social a:hover { color: var(--dorado); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  text-align: center;
  color: #555;
  font-size: 0.82rem;
}

/* ── WHATSAPP FLOTANTE ───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--verde-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── FADE-IN ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .menu-grid       { grid-template-columns: repeat(2, 1fr); }
  .resenas-grid    { grid-template-columns: repeat(2, 1fr); }
  .catering-layout { grid-template-columns: 1fr; }
  .catering-img    { height: 300px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  #navMenu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 103px;
    left: 0;
    width: 100%;
    background: var(--oscuro);
    padding: 20px;
    z-index: 999;
    gap: 16px;
  }
  #navMenu.open { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .hero-btns  { flex-direction: column; align-items: center; }
  .info-bar   { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .menu-grid    { grid-template-columns: 1fr; }
  .resenas-grid { grid-template-columns: 1fr; }
  .cart-panel   { width: 100%; right: -100%; }
  .top-banner   { font-size: 0.75rem; }
  .hero-phone-block { padding: 16px 20px; }
}

/* ===== EFECTO HERO — PARTÍCULAS FLOTANTES ===== */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(241, 196, 15, 0.6);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.hero-particles span:nth-child(1)  { left:5%;  width:5px;  height:5px;  animation-duration:8s;  animation-delay:0s;   opacity:0.5; }
.hero-particles span:nth-child(2)  { left:12%; width:8px;  height:8px;  animation-duration:10s; animation-delay:1s;   opacity:0.4; }
.hero-particles span:nth-child(3)  { left:22%; width:4px;  height:4px;  animation-duration:7s;  animation-delay:2s;   opacity:0.6; }
.hero-particles span:nth-child(4)  { left:33%; width:6px;  height:6px;  animation-duration:9s;  animation-delay:0.5s; opacity:0.3; }
.hero-particles span:nth-child(5)  { left:45%; width:5px;  height:5px;  animation-duration:11s; animation-delay:3s;   opacity:0.5; }
.hero-particles span:nth-child(6)  { left:55%; width:7px;  height:7px;  animation-duration:8s;  animation-delay:1.5s; opacity:0.4; }
.hero-particles span:nth-child(7)  { left:65%; width:4px;  height:4px;  animation-duration:10s; animation-delay:2.5s; opacity:0.6; }
.hero-particles span:nth-child(8)  { left:75%; width:6px;  height:6px;  animation-duration:7s;  animation-delay:0s;   opacity:0.3; }
.hero-particles span:nth-child(9)  { left:85%; width:5px;  height:5px;  animation-duration:9s;  animation-delay:4s;   opacity:0.5; }
.hero-particles span:nth-child(10) { left:93%; width:8px;  height:8px;  animation-duration:12s; animation-delay:1s;   opacity:0.4; }

@keyframes float-up {
  0%   { bottom: -10px; transform: translateX(0) scale(1);    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { bottom: 110%;  transform: translateX(30px) scale(0.5); opacity: 0; }
}

.hero-title {
  animation: fadeSlideUp 1s ease forwards;
}
.hero-badge {
  animation: fadeSlideUp 0.7s ease forwards;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
