/* Estilos generales */
:root {
  --primary-color: #e63946;
  --secondary-color: #f1faee;
  --accent-color: #a8dadc;
  --dark-color: #1d3557;
  --light-color: #ffffff;
  --text-color: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px 0;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

nav {
  display: flex;
  justify-content: center;
  background-color: var(--dark-color);
}

nav a {
  color: var(--light-color);
  text-decoration: none;
  padding: 15px 20px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: var(--primary-color);
}

/* Carrusel Mejorado */
.carousel {
  padding: 40px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  margin: 20px 0;
  position: relative;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  min-width: calc(100% / 3);
  padding: 0 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.carousel-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-color);
  margin-top: 10px;
}

/* Controles del carrusel */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  margin: 0 10px;
}

.carousel-control:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Indicadores del carrusel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicator.active {
  background-color: var(--primary-color);
}

/* Menú de platillos (mantenido igual) */
.menu.contenedor {
  padding: 30px 15px;
}

.texto-platillos {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--dark-color);
}

.botones-platillos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.btn {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-verde {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-verde:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.platillos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.platillo {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.platillo:hover {
  transform: translateY(-5px);
}

.platillo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.platillo h3 {
  padding: 10px 15px 0;
  font-size: 1.2rem;
}

.platillo p {
  padding: 0 15px;
  color: #666;
  font-size: 0.9rem;
  margin: 10px 0;
}

.precio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 15px;
}

.precio p {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin: 0;
}

.precio button {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media Queries para responsive */
@media (max-width: 992px) {
  .carousel-item {
    min-width: 50%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
  }

  nav.active {
    display: flex;
  }

  .carousel-item {
    min-width: 100%;
  }

  .carousel-controls {
    display: none; /* Ocultar controles en móviles muy pequeños */
  }

  .platillos {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .platillo h3 {
    font-size: 1rem;
  }

  .platillo p {
    font-size: 0.8rem;
  }

  .precio p {
    font-size: 0.9rem;
  }

  .botones-platillos {
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .platillos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .platillo img {
    height: 120px;
  }
}
/* Estilos base del footer */
.footer {
  background: #1a1a1a url('/imagenes/hamburgesa.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 2rem 0 0;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  position: relative; /* Para el overlay si es necesario */
}

/* Opcional: Overlay para mejorar la legibilidad del texto sobre la imagen */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.85); /* Color base con transparencia */
  z-index: 0;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative; /* Para que el contenido quede sobre el overlay */
  z-index: 1;
}

/* Secciones del footer */
.footer-section {
  padding: 0 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-text {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* Títulos de sección */
.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #4CAF50;
  display: inline-block;
}

/* Redes sociales */
.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  color: #fff;
  background: #333;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #4CAF50;
  transform: translateY(-3px);
}

/* Listas de enlaces */
.footer-links,
.footer-hours,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-hours li,
.footer-contact li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #4CAF50;
}

.footer-hours li span {
  color: #4CAF50;
  font-weight: 500;
  display: inline-block;
  width: 70px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-contact i {
  color: #4CAF50;
  width: 20px;
  text-align: center;
}

/* Botón de reserva */
.reserve-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 200px;
}

.reserve-btn:hover {
  background: #3e8e41;
  transform: translateY(-2px);
}

/* Sección inferior */
.footer-bottom {
  background: #111;
  padding: 1.2rem 1rem;
  text-align: center;
  margin-top: 1rem;
}

.footer-bottom p {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.legal-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #4CAF50;
}

/* Media Queries para móviles */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    padding: 0 0.5rem;
    gap: 1rem;
  }
  
  .footer-section {
    padding: 0 0.3rem;
  }
  
  .footer-logo img {
    max-width: 140px;
  }
  
  .footer-heading {
    font-size: 1rem;
  }
  
  .footer-text,
  .footer-links a,
  .footer-contact li,
  .footer-hours li {
    font-size: 0.85rem;
  }
  
  .reserve-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 0.8rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.5rem;
  }
  
  .footer-links li {
    margin-bottom: 0;
  }
  
  .footer-hours li {
    display: flex;
    justify-content: center;
  }
  
  .footer-contact li {
    justify-content: center;
  }
  
  .reserve-btn {
    margin: 0.8rem auto 0;
  }
  
  .footer-bottom {
    padding: 1rem 0.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  .legal-links {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
}
/*boton burbuja*/
/* Chat Widget */
#chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    max-height: 450px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    z-index: 9999;
}

/* Cabecera */
#chat-header {
    background-color: #25d366;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

/* Mensajes */
#chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

/* Entrada */
#chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

#send-btn {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
}

/* Botón Flotante con ícono WhatsApp */
#chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mensajes */
.message {
    margin: 6px 0;
    padding: 10px 14px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
}

.user-message {
    background-color: #d4f8d4;
    align-self: flex-end;
}

.bot-message {
    background-color: #e8e8e8;
    align-self: flex-start;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.quick-reply {
    background-color: #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}
/*estilo de captura imagen */
/* Estilos para el chat */
.message {
    max-width: 80%;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 18px;
    line-height: 1.4;
}

.bot-message {
    background-color: #f1f1f1;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background-color: #ff6b00;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background-color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.quick-reply:hover {
    background-color: #d0d0d0;
}

/* Estilos para el formulario de datos */
.datos-cliente-form {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn-enviar-datos {
    padding: 10px 15px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

/* Estilos para las opciones de envío */
.opciones-envio {
    margin-top: 15px;
}

.opcion-envio {
    padding: 12px;
    margin: 8px 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.opcion-envio:hover {
    background-color: #e0e0e0;
}

.opcion-envio span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
/* Estilo para el contenedor del logo */
.logo {
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 0; /* Elimina espacio extra debajo de la imagen */
}

/* Estilo para la imagen del logo */
.logo img {
  width: 30px; /* Tamaño muy pequeño */
  height: auto; /* Mantiene proporciones */
  opacity: 0.8; /* Ligera transparencia */
  transition: all 0.3s ease;
  filter: grayscale(20%); /* Toque minimalista */
}

/* Efectos al pasar el mouse */
.logo:hover {
  transform: scale(1.05);
}

.logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* Versión para móviles */
@media (max-width: 768px) {
  .logo img {
    width: 24px; /* Aún más pequeño en móviles */
  }
}
/*apartado de ventana flotantte*/
