/***************************************
 * SAN PIO BURGER - HOJA DE ESTILOS
 * 
 * ÍNDICE:
 * 1. Variables y configuración global
 * 2. Estilos básicos (body, enlaces, tipografía)
 * 3. Header y navegación
 * 4. Sección landing
 * 5. Contenido principal
 * 6. Componentes reutilizables
 * 7. Footer
 * 8. Elementos flotantes
 * 9. Utilidades y animaciones
 * 10. Media queries
 * 11. Sección de contacto
 ***************************************/

/***************************************
 * 1. VARIABLES Y CONFIGURACIÓN GLOBAL
 ***************************************/
:root {
  /* Colores principales */
  --color-primary: #b30000;
  --color-primary-dark: #d20000;
  --color-secondary: #ffc107;
  --color-text: #212529;
  --color-light: #f8f9fa;
  --color-white: #fff;
  --color-gray: #aaaaaa;
  
  /* Sombras */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  
  /* Fuentes */
  --font-primary: "Open Sans", sans-serif;
  --font-heading: "Playfair Display", serif;
  --font-logo: "Poppins", sans-serif;
  
  /* Tamaños */
  --header-height: 80px;
  --header-height-scrolled: 60px;
  
  /* Transiciones */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
}

/* Protección de imágenes global */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* Protecciones específicas para el logo */
#header .logo img, .preloader-logo {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/***************************************
 * 2. ESTILOS BÁSICOS
 ***************************************/
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: url('assets/img/background.png') fixed;
  background-size: cover;
  background-position: center center;
  line-height: 1.6;
}

@media (max-width: 576px) {
  body {
    background-position: 10% center;
  }
}

body.has-fixed-header {
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/***************************************
 * 3. HEADER Y NAVEGACIÓN
 ***************************************/
#header {
  background: var(--color-primary);
  transition: all var(--transition-normal);
  z-index: 997;
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: visible;
}

#header.header-scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

/* Logo */
#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-logo);
  position: relative;
  z-index: 1000;
  transition: all var(--transition-normal);
}

#header .logo a {
  display: block;
  position: relative;
  height: 60px;
  color: var(--color-white);
  overflow: visible;
  transition: all var(--transition-normal);
  }

#header.header-scrolled .logo a {
  height: 45px;
}

#header .logo a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-fast);
}

#header .logo a:hover:after {
  width: 100%;
}

#header .logo img {
  max-height: 180px;
  max-width: 180px;
  position: absolute;
  top: 0px;
  left: 0;
  transition: all var(--transition-normal);
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
  animation: burgerBounce 2s infinite;
  z-index: 1001;
}

#header.header-scrolled .logo img {
  max-height: 120px;
  max-width: 120px;
  top: -10px;
}

#header .logo a:hover img {
  filter: drop-shadow(0px 6px 8px rgba(0, 0, 0, 0.4));
}

/* Barra de navegación */
.navbar {
  padding: 0;
  margin-left: 100px;
  transition: all var(--transition-normal);
}

#header.header-scrolled .navbar {
  margin-left: 80px;
}

.navbar-nav .nav-item {
  margin-right: 5px;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link {
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 15px;
  transition: all var(--transition-fast);
}

#header.header-scrolled .navbar-nav .nav-link {
  padding: 6px 12px;
  font-size: 13px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-secondary) !important;
}

/* Botón de menú móvil */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

#header.header-scrolled .navbar-toggler {
  padding: 0.2rem 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Formulario de búsqueda */
.search-form {
  margin-left: 10px;
  transition: all var(--transition-fast);
}

#header.header-scrolled .search-form {
  margin-left: 5px;
}

.search-form input {
  border-radius: 20px;
  padding-left: 15px;
  border: none;
  min-width: 200px;
  transition: all var(--transition-fast);
  }

#header.header-scrolled .search-form input {
  min-width: 180px;
  padding: 4px 12px;
}

/***************************************
 * 4. SECCIÓN LANDING
 ***************************************/
.landing-page {
  width: 100%;
  min-height: 60vh;
  background: url('assets/img/banner.png') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 40px 0;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  margin-top: 0;
}

.landing-page .container {
  position: relative;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  padding: 30px;
  width: 100%;
}

.content-wrapper.text-end .fast-food {
  margin-left: auto;
  margin-right: 0;
}

.productos-circle {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto;
  border: 12px solid var(--color-white);
  box-shadow: var(--shadow-lg);
}

.productos-circle img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: -10% 0 0 -10%;
}

.content-wrapper .d-flex.justify-content-end {
  width: 100%;
  margin-right: 20px;
  position: relative;
  z-index: 1;
}

.content-wrapper .text-md-end {
  text-align: right;
  margin-right: 0;
  width: 100%;
}

.content-wrapper .btn-order {
  display: inline-block;
  margin-left: auto;
}

.pattern-dots {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--color-secondary) 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: 0.3;
}

.pattern-dots-1 {
  top: 0;
  left: 0;
}

.pattern-dots-2 {
  bottom: 0;
  right: 0;
  z-index: 0;
}

.fast-food {
  font-size: 50px;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: var(--color-primary);
  display: inline-block;
  padding: 10px 10px;
  margin-bottom: 0;
  border-radius: 10px;
}

.special-menu {
  font-size: 48px;
  color: var(--color-primary);
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 700;
}

.burger-image {
  border-radius: 50%;
  max-width: 90%;
  box-shadow: var(--shadow-md);
  border: 10px solid var(--color-white);
}

.discount-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
  }

.discount-badge span {
    font-size: 28px;
  font-weight: 800;
  line-height: 1;
  }

/***************************************
 * 5. CONTENIDO PRINCIPAL
 ***************************************/
main section:not(.landing-page) {
  padding-top: 50px;
  padding-bottom: 30px;
  scroll-margin-top: 60px; /* Propiedad moderna para scroll-snap */
}

/* Sección de título */
.section-title {
  padding-bottom: 40px;
  text-align: end;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
  font-family: var(--font-logo);
}

.section-title h2::before {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

/* Filtros del menú */
#menu-flters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 10px;
}

#menu-flters li {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

#menu-flters li:hover,
#menu-flters li.filter-active {
  background: var(--color-primary-dark);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#menu-flters li:last-child {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

#menu-flters li:last-child:hover {
  background-color: #e6ac00;
  color: var(--color-primary-dark);
}

/***************************************
 * 6. COMPONENTES REUTILIZABLES
 ***************************************/
.btn-order {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-order:hover {
  background: var(--color-primary-dark);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Animación para destacar los precios especiales */
@keyframes destacarPrecio {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Botón de pedido para cards */
.btn-order2 {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 2px solid var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-order2:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* Botón de pedido principal en el banner */
.landing-page .btn-order {
  padding: 15px 40px;
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
}

.landing-page .btn-order:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.landing-page .btn-order i {
  font-size: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

.landing-page .btn-order::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  height: 100%;
  width: 100px;
  top: 0;
  left: -150px;
  transform: skewX(-20deg);
  transition: all 0.8s ease;
  z-index: -1;
}

.landing-page .btn-order:hover::after {
  left: 120%;
}

.social-icons a {
  color: var(--color-primary);
  font-size: 24px;
  margin-right: 15px;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  color: var(--color-secondary);
  transform: translateY(-3px);
}

/***************************************
 * 7. FOOTER
 ***************************************/
#footer {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer .copyright {
  padding-bottom: 10px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--color-white);
}

#footer .credits a {
  color: var(--color-secondary);
}

/***************************************
 * 8. ELEMENTOS FLOTANTES
 ***************************************/
/* Contenedor de botones flotantes */
.float-buttons-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

/* Botón de WhatsApp */
.whatsapp-float {
  width: 55px;
  height: 55px;
  background-color: #25d366;
  color: var(--color-white);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 5px #888;
  background-color: #22c15e;
}

/* Botón de volver arriba */
.back-to-top {
  width: 55px;
  height: 55px;
  visibility: hidden;
  opacity: 0;
  border-radius: 50px;
  transition: all 0.4s;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 28px;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #ffc107;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  animation: logoAnimation 2s infinite alternate;
}

.preloader-text {
  position: relative;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  text-align: center;
  animation: fadeInOut 2s ease-in-out infinite;
}

.preloader-text span {
  display: inline-block;
  color: #FF4500;
  font-weight: bold;
  position: relative;
}

.preloader-text span:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, #FF4500, #FF6B00);
  animation: expand 2s ease-in-out infinite;
}

@keyframes logoAnimation {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes expand {
  0%, 100% {
    width: 0;
    left: 50%;
  }
  50% {
    width: 100%;
    left: 0;
  }
}

/* Media queries para el preloader en dispositivos móviles */
@media (max-width: 768px) {
  .preloader-logo {
    width: 120px;
  }
  
  .preloader-text {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .preloader-logo {
    width: 100px;
  }
  
  .preloader-text {
    font-size: 25px;
  }
}

/***************************************
 * 9. UTILIDADES Y ANIMACIONES
 ***************************************/
@keyframes burgerBounce {
  0% {
    transform: translateY(0);
}
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/***************************************
 * 10. MEDIA QUERIES
 ***************************************/
@media (max-width: 991px) {
  body.has-fixed-header {
    padding-top: 60px;
}

  .landing-page {
    min-height: auto;
    padding: 80px 0 60px 0;
    margin-top: 0;
}

  .fast-food {
    font-size: 40px;
}

  .special-menu {
    font-size: 32px;
  }
  
  .burger-image {
    margin-top: 40px;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .landing-page {
  text-align: center;
  }
  
  .social-icons {
  justify-content: center;
  display: flex;
  }
  
  .content-wrapper .text-md-end {
  text-align: center;
  }
  
  .content-wrapper .d-flex.justify-content-end {
    justify-content: center !important;
    margin-right: 0;
}

  .float-buttons-container {
    bottom: 20px;
    right: 20px;
  }
  
  #menu-flters {
    margin: 0 auto;
  }
}

/***************************************
 * 11. SECCIÓN DE CONTACTO
 ***************************************/
section.contact {
  background: url('assets/img/back.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  padding: 60px 0;
}

section.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

section.contact .container {
  position: relative;
  z-index: 1;
}

section.contact .section-title h2,
section.contact .section-title p {
  color: var(--color-white);
}

.info {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
}

.info .address,
.info .open-hours,
.info .email,
.info .phone {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.info .address:hover,
.info .open-hours:hover,
.info .email:hover,
.info .phone:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-5px);
}

.info i {
  font-size: 32px;
  color: var(--color-primary);
  float: left;
  width: 50px;
  height: 50px;
  background: rgba(255, 193, 7, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.info .address:hover i,
.info .open-hours:hover i,
.info .email:hover i,
.info .phone:hover i {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.info h4 {
  padding-left: 60px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.info p {
  padding-left: 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--color-gray);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.info .address:hover h4,
.info .open-hours:hover h4,
.info .email:hover h4,
.info .phone:hover h4,
.info .address:hover p,
.info .open-hours:hover p,
.info .email:hover p,
.info .phone:hover p {
  color: var(--color-white);
}

/* Estilo tipo hexágono para horarios de apertura */
.open-hours-hexagon {
  background: var(--color-secondary);
  color: var(--color-text);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 40px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 350px;
}

.open-hours-hexagon h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  text-transform: uppercase;
}

.open-hours-hexagon .day {
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-heading {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
  text-align: center;
}

.contact-heading:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--color-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.menu {
  padding: 90px 0 60px 0;
  position: relative;
  background: url('assets/img/background1.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.menu .container {
  position: relative;
  z-index: 1;
}

.menu .section-title {
  margin-bottom: 50px;
}

.menu .section-title h2,
.menu .section-title p {
  color: var(--color-white);
}

.menu .menu-container {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.menu .menu-content {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
}

.menu .menu-content a {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary);
  transition: 0.3s;
  font-family: var(--font-heading);
  text-decoration: none;
}

.menu .menu-content a:hover {
  color: var(--color-secondary);
}

.menu .menu-content span {
  background: #2e8b57;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 50px;
  position: relative;
  z-index: 2;
  animation: destacarPrecio 3s infinite;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

.menu .menu-item {
  padding: 15px;
  position: relative;
  margin-bottom: 40px;
  transition: none;
}

.menu-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 70px 20px 20px;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
  overflow: visible;
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  padding-bottom: 30px;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.menu-card::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  transform: rotate(45deg);
  z-index: 0;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.menu-card:hover::before {
  background: var(--color-secondary);
  transform: rotate(50deg) scale(1.1);
}

.menu .menu-img-container {
  width: 120px;
  height: 120px;
  position: absolute;
  top: -65px;
  left: 25%;
  transform: translateX(-50%);
  z-index: 2;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 6px solid var(--color-white);
  background-color: #f8f9fa;
}

.menu-card:hover .menu-img-container {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.menu .menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  display: block;
  transform: scale(1.05);
}

.menu-card:hover .menu-img {
  transform: scale(1.15) rotate(5deg);
}

.menu .menu-ingredients {
  font-style: italic;
  font-size: 14px;
  color: #444444;
  flex-grow: 1;
  margin-bottom: 15px;
  line-height: 1.5;
}

.menu-card .btn-order2 {
  align-self: center;
  margin-top: 20px;
  padding: 8px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Estilo para el botón de pedido a domicilio en la barra de navegación */
#ver-pedido-btn, #ver-pedido-btn-mobile {
  background: var(--color-secondary) !important;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  font-weight: 600;
  transition: all var(--transition-fast);
}

#ver-pedido-btn:hover, #ver-pedido-btn-mobile:hover {
  background: var(--color-primary) !important;
  color: var(--color-secondary) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Ajuste para el contador de items en el botón */
#contador-items, #contador-items-mobile {
  background-color: var(--color-primary) !important;
  color: var(--color-secondary) !important;
  font-weight: bold;
}

/* Animación para destacar los precios */
@keyframes destacarPrecio {
  0% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.2);
  }
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
  .menu .menu-ingredients {
    font-size: 13px;
    margin-bottom: 20px;
  }
  
  .menu-card {
    padding-bottom: 25px;
  }
  
  .menu-card .btn-order2 {
    margin-top: 15px;
  }
}

/* === FOOTER SAN PIO BURGER MODERNO SIN ENLACES === */
.footer-spb {
  position: relative;
  background: linear-gradient(120deg, #b30000 0%, #d20000 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
  font-family: var(--font-primary);
}

.footer-wave {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="60" viewBox="0 0 1440 60" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 30C120 60 360 0 720 30C1080 60 1320 0 1440 30V60H0V30Z" fill="%23fff" fill-opacity="0.15"/></svg>') repeat-x;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
  animation: waveMove 8s linear infinite;
}

@keyframes waveMove {
  0% { background-position-x: 0; }
  100% { background-position-x: 1000px; }
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: #fff;
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.footer-logo:hover {
  transform: scale(1.08) rotate(-5deg);
}

.footer-brand {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffc107;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.footer-slogan {
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  font-style: italic;
  margin-bottom: 0;
}

.footer-phrase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 10px 0;
}
.footer-phrase-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffc107;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  animation: fadeInFooter 2s;
}
.footer-phrase-sub {
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  font-style: italic;
  animation: fadeInFooter 2.5s;
}
@keyframes fadeInFooter {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

.footer-contact {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  transition: color 0.2s;
  justify-content: flex-end;
}
.footer-contact i {
  color: #ffc107;
  font-size: 1.2rem;
  margin-right: 4px;
  transition: color 0.2s;
}
.footer-contact:hover {
  color: #ffc107;
}
.footer-contact:hover i {
  color: #fff;
}

.footer-divider {
  border: none;
  border-top: 1.5px solid rgba(255,255,255,0.18);
  margin: 1.5rem 0;
}

.footer-copyright {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}
.footer-credits {
  color: #ffc107;
  font-size: 0.95rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 767px) {
  .footer-spb .row > div {
    text-align: center !important;
    margin-bottom: 18px;
  }
  .footer-logo {
    margin: 0 auto 8px auto;
  }
  .footer-divider {
    margin: 1rem 0;
  }
  .footer-contact {
    justify-content: center;
  }
}