/* =========================================
   ÍNDICE DE CONTENIDOS
   1. Variables y Configuración Global
   2. Header y Navegación
   3. Hero Section
   4. Botones Principales (CTA)
   5. Sección Carta
   6. Sección Ubicación
   7. Footer
   8. Botón Flotante WhatsApp
   9. SEO / Contenido Local
   10. Animaciones
   11. Responsive
   ========================================= */


/* =========================================
   1. VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================= */
:root {
  --primary-color: #F27825;
  --primary-hover: #d15e14;
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --text-white: #ffffff;
  --text-gray: #e0e0e0;
  --font-main: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
}


/* =========================================
   2. HEADER Y NAVEGACIÓN
   ========================================= */
#header-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  padding: 20px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-contact {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Dropdown desktop */
.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(255, 122, 24, 0.25);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 190px;
  list-style: none;
  display: none;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.nav-submenu li {
  margin: 0;
}

.nav-submenu a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: rgba(255, 122, 24, 0.12);
  color: #ff7a18;
}

.nav-dropdown:hover .nav-submenu {
  display: block;
}

/* Botón menú móvil */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1201;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  margin: 0;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  z-index: 1050;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: block;
  padding: 14px 22px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1rem;
}

.mobile-menu a:hover {
  background: rgba(255, 122, 24, 0.12);
  color: #ff7a18;
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
  min-height: 100svh;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.logo-img {
  height: 400px;
  width: auto;
  margin-bottom: -100px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.hero-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 10px;
  text-transform: none;
  opacity: 0.95;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.category {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-gray);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.tagline strong {
  color: var(--text-white);
  font-weight: 700;
}

.info-extra {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 30px;
  margin-top: -10px;
  font-weight: 500;
}

.info-extra span {
  color: var(--primary-color);
  margin: 0 8px;
}


/* =========================================
   4. BOTONES PRINCIPALES (CTA)
   ========================================= */
.cta-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 170px;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(242, 120, 37, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}


/* =========================================
   5. SECCIÓN CARTA
   ========================================= */
.section {
  padding: 80px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.menu-section {
  background-color: #0a0a0a;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
}

.highlight {
  color: var(--primary-color);
}

.menu-category-block {
  margin-bottom: 60px;
  padding-top: 30px;
  border-top: 1px solid #222;
}

.category-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(90deg, rgba(242, 120, 37, 0.1) 0%, rgba(0, 0, 0, 0) 80%);
  padding: 10px 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 4px;
}

.special-title {
  color: #ffd700;
  border-left-color: #ffd700;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0) 80%);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.menu-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.menu-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(242, 120, 37, 0.2);
}

.menu-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.item-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px dashed #444;
  padding-bottom: 10px;
}

.item-header h3 {
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.item-header .price {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
  background: rgba(242, 120, 37, 0.1);
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid var(--primary-color);
}

.item-details p {
  color: #bbb;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.highlight-item {
  background: #222;
}

.star-item {
  border: 2px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.star-item h3,
.star-item .price {
  color: #ffd700;
}

.btn-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn-order:hover {
  background-color: #128c7e;
  color: #fff;
}

.btn-order i {
  font-size: 1.1rem;
}


/* =========================================
   6. SECCIÓN UBICACIÓN
   ========================================= */
.location-section {
  text-align: center;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #333;
  background: #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* =========================================
   7. FOOTER
   ========================================= */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  color: #555;
  border-top: 1px solid #222;
}

#footer-container a {
  transition: color 0.3s;
}

#footer-container a:hover {
  color: var(--primary-color) !important;
}


/* =========================================
   8. BOTÓN FLOTANTE WHATSAPP
   ========================================= */
.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: width 0.4s ease;
  overflow: hidden;
  animation: palpito 2s infinite;
}

.float-wa i {
  font-size: 34px;
  min-width: 60px;
  text-align: center;
}

.wa-text {
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  white-space: nowrap;
  padding-right: 15px;
  transition: opacity 0.3s;
}

.float-wa:hover {
  width: 220px;
  animation: none;
}

.float-wa:hover .wa-text {
  opacity: 1;
}


/* =========================================
   9. SEO / CONTENIDO LOCAL
   ========================================= */
.about-section .about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.address {
  margin-top: 12px;
  font-weight: 600;
}

.open-status {
  margin-top: 6px;
  font-weight: 600;
  opacity: 0.95;
}

.open-status.is-open {
  color: #25d366;
}

.open-status.is-closed {
  color: #ff5a5a;
}


/* =========================================
   10. ANIMACIONES
   ========================================= */
@keyframes palpito {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.hidden-start {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================
   11. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  #header-container {
    padding: 14px 0;
  }

  .nav-menu,
  .btn-contact {
    display: none;
  }

  .navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .logo-img {
    max-width: 90vw;
    height: auto;
    margin-bottom: -40px;
  }

  .float-wa {
    animation: none;
    right: 16px;
    bottom: 16px;
  }

  .category {
    font-size: 2.3rem;
  }

  .cta-container {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

.mobile-dropdown-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  padding: 14px 22px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.mobile-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.02);
}

.mobile-submenu a {
  display: block;
  padding: 12px 38px;
  color: #ddd;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.95rem;
}

.mobile-dropdown.active .mobile-submenu {
  display: block;
}

.mobile-dropdown.active .mobile-arrow {
  transform: rotate(45deg);
}

.especialidades-wrap {
  margin-top: 38px;
  text-align: center;
}

.especialidades-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(242, 120, 37, 0.10);
  border: 1px solid rgba(242, 120, 37, 0.25);
  color: #f2f2f2;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.especialidades-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.especialidad-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.especialidad-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 120, 37, 0.55);
  box-shadow: 0 10px 22px rgba(242, 120, 37, 0.18);
  color: #fff;
}

.especialidad-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(242, 120, 37, 0.14);
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 768px) {
  .especialidades-list {
    gap: 10px;
  }

  .especialidad-chip {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .especialidades-label {
    font-size: 0.9rem;
  }
}

.alitas-sabores-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #111111;
  border: 1px solid rgba(255, 122, 24, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.alitas-sabores-box h4 {
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: #ffffff;
}

.sabores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sabor-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 122, 24, 0.18);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sabor-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.sabor-item h5 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

.sabor-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.item-flavors {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.82);
}

.item-flavors strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.item-flavors ul {
  margin: 0;
  padding-left: 18px;
}

.item-flavors li {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
}

/* ===== CATEGORY PAGE ===== */

.category-page{
  padding-top:40px;
}

.category-hero{
  padding:60px 0;
  background:#111;
  color:#fff;
}

.category-badge{
  display:inline-block;
  background:#ff7a00;
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  font-size:14px;
  margin-bottom:14px;
}

.category-hero h1{
  font-size:2.2rem;
  margin-bottom:16px;
}

.category-hero p{
  max-width:700px;
  line-height:1.6;
}

.category-cta-group{
  margin-top:20px;
  display:flex;
  gap:14px;
}

/* ===== BUTTONS ===== */

.btn{
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

.btn-primary{
  background:#ff7a00;
  color:#fff;
}

.btn-primary:hover{
  background:#ff8c2a;
}

.btn-outline{
  border:2px solid #ff7a00;
  color:#ff7a00;
}

/* ===== PRODUCTS ===== */

.category-products{
  padding:60px 0;
}

.section-intro{
  margin-bottom:30px;
  max-width:700px;
}

.menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.menu-item{
  background:#1a1a1a;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.05);
}

.menu-item img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.item-details{
  padding:16px;
}

.item-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}

.item-header h3{
  font-size:18px;
}

.price{
  color:#ff7a00;
  font-weight:700;
}

.btn-order{
  display:inline-block;
  margin-top:12px;
  background:#ff7a00;
  color:#fff;
  padding:8px 14px;
  border-radius:6px;
  text-decoration:none;
}

/* ===== CONTENT ===== */

.category-content{
  padding:60px 0;
  line-height:1.7;
}

/* ===== FAQ ===== */

.faq-section{
  padding:60px 0;
  background:#0f0f0f;
}

.faq-item{
  margin-bottom:20px;
}

.faq-item h3{
  margin-bottom:6px;
}

/* ===== INTERNAL LINKS ===== */

.category-links{
  padding:60px 0;
}

.internal-links-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.internal-links-grid a{
  padding:10px 14px;
  border-radius:8px;
  background:#1a1a1a;
  border:1px solid rgba(255,122,24,0.25);
  text-decoration:none;
  color:#fff;
}

.internal-links-grid a:hover{
  border-color:#ff7a00;
}

/* ===== FINAL CTA ===== */

.final-cta{
  padding:70px 0;
  text-align:center;
  background:#111;
}

.breadcrumbs{
  font-size: 14px;
  margin: 20px auto 0;
  max-width: 1100px;
  padding: 0 20px;
  color: #bbb;
}

.breadcrumbs a{
  color: #ff7a00;
  text-decoration: none;
}

.breadcrumbs a:hover{
  text-decoration: underline;
}

.breadcrumbs span{
  color: #888;
  margin-left: 8px;
}

.about-links{
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
  text-align: center;
}

.about-links a{
  color: #ff7a00;
  text-decoration: none;
}

.about-links a:hover{
  text-decoration: underline;
}