body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f3ef;
   scroll-behavior: smooth;
}

.header {
  background-color: #8b2f02;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 55px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffd54f;
}

.hamburger {
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
}

.close {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

.main-content {
  padding: 80px 20px;
}

/* Responsive */
@media (max-width: 767px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    z-index: 1001;
  }

  .header.open .hamburger {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #ffb300;
    width: 250px;
    height: 100%;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    z-index: 1000;
    overflow-y: auto;
  }

  .header.open .nav-links {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav-links li a {
    display: block;
    color: #4e1e00;
  }

  .nav-links li a:hover {
    color: #c62828;
  }

  .close {
    display: block;
    z-index: 1001;
  }

  .header.open .close {
    display: block;
  }

  .header:not(.open) .close {
    display: none;
  }

  .menu-bottom {
    padding: 2px 10px 15px;
    text-align: center;
  }

  .logo-responsive {
    width: 140px; /* más pequeño */
    margin: 10px auto 5px;
    display: block;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
  }

  .social-icons a {
    font-size: 22px; /* más pequeños */
    color: #4e1e00;
    transition: color 0.3s;
  }

  .social-icons a:hover {
    color: #c62828;
  }
}


/* Ocultar el logo del menú responsive en modo escritorio */
@media (min-width: 768px) {
  .menu-bottom {
    display: none;
  }
}
@media (max-width: 400px) {
  .nav-links li {
    padding: 10px 15px;
  }

  .nav-links li a {
    font-size: 15px;
  }

  .menu-bottom {
    padding: 15px 10px 20px;
  }

  .logo-responsive {
    width: 120px;
    margin: 10px auto;
  }

  .social-icons {
    gap: 20px;
    margin-top: 5px;
  }

  .social-icons a {
    font-size: 24px;
  }
}
@media (max-width: 320px) {
  body, html {
    width: 100vw;
    overflow-x: hidden;
  }
 
}

/* Encabezado / Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-images img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-images img.active {
  opacity: 1;
  z-index: 2;
}

/* ✅ Capa oscura fija y constante */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 3; /* Más alta que las imágenes */
}

/* ✅ Contenido centrado sobre la capa oscura */
.hero-content {
  position: absolute;
  z-index: 4; /* Más alto que la capa oscura */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 0 20px;
}


.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}


.hero-slogan {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 300;
  font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-location {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: normal;
  opacity: 0.9;
}

.hero-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: #1da851;
}

/* Animación de desplazamiento horizontal */
@keyframes slide {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(-100%); }
  40%  { transform: translateX(-200%); }
  60%  { transform: translateX(-300%); }
  80%  { transform: translateX(-400%); }
  100% { transform: translateX(0%); }
}

/*nuestra-experiencia*/
.nuestra-experiencia {
  background-color: #f8f3ef; /* Cambiado a un color beige claro */
  position: relative;
  width: 100%;
}


.experiencia-contenido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.experiencia-contenido .texto {
  flex: 1 1 50%;
  padding: 20px;
}

.experiencia-contenido .texto h2 {
  font-size: 2.5rem;
  color: #333;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.experiencia-contenido .texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  color: #555;
}

.experiencia-contenido .imagen {
  flex: 1 1 40%;
  padding: 20px;
  text-align: center;
}

.experiencia-contenido .imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wave {
  display: block;
  width: 100%;
  margin-top: 40px;
}

.wave-container {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
}

.wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}


.especialidades {
  padding: 80px 20px;
  background-color: #fce3c3;
  text-align: center;
}

.contenedor-especialidades {
  max-width: 1200px;
  margin: 0 auto;
}

.especialidades h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.elementos-especiales {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.item-especial {
  max-width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.item-especial:hover {
  transform: translateY(-5px);
}

.item-especial img {
  width: 150px;
  margin-bottom: 15px;
}

.item-especial h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #d35400;
}

.item-especial p {
  font-size: 0.95rem;
  color: #555;
}

/*opiniones clientes*/

.opiniones-clientes {
  padding: 60px 20px;
  background-color: #fff8f0;
  text-align: center;
}

.opiniones-clientes h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider {
  display: flex;
  animation: scrollSlider 30s linear infinite;
  width: fit-content;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin: 0 10px;
  width: 280px;
  flex-shrink: 0;
  text-align: left;
}

.card .stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.card span {
  font-style: italic;
  color: #777;
}
.slider-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.opiniones-clientes .card {
  min-width: 280px;
  flex: 0 0 auto;
}
/* Animación del slider continuo */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.opiniones-clientes .slider {
  display: flex;
  width: calc(280px * 10 + 20px * 10); /* ancho total = tarjetas + margen */
  animation: scrollSlider 40s linear infinite;
}

.opiniones-clientes .slider-container {
  overflow: hidden;
  max-width: 100%;
}
/* Nos ubicamos*/
.ubicacion-restaurante {
  width: 100%;
  padding: 50px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.ubicacion-restaurante h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.ubicacion-restaurante .subtitulo {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 30px;
}

.ubicacion-restaurante .mapa iframe {
  width: 100%;
  max-width: 100%;
  height: 500px;
  border: none;
}
/*RECOMENDACIONES DEL CHEF*/
.recomendaciones-chef {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.recomendaciones-chef h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.cards-chef {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.2s;
}

.card img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card img:hover {
  transform: scale(1.05);
}

.card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #222;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* Modal de imagen */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-contenido {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.cerrar {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.cerrar:hover {
  color: #ccc;
}






.footer {
  background-color: #8b2f02;
  color: #fff;
  padding: 40px 20px 0;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo h2 {
  font-size: 28px;
  color: #ffc107;
  margin-bottom: 10px;
}

.footer-logo p {
  max-width: 300px;
  line-height: 1.5;
}

.footer-links h3,
.footer-social h3 {
  color: #ffc107;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107;
}
/* === ÍCONOS DEL FOOTER === */
.footer .social-icons a {
  color: #ffc107;
  font-size: 20px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
  transform: scale(1.2);
}

/* === ÍCONOS DEL MENÚ MÓVIL === */
.menu-bottom .social-icons a {
  font-size: 30px;
  color: white; /* Fuerza el blanco sobre fondo amarillo */
  transition: transform 0.3s ease;
}

.menu-bottom .social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding: 20px 10px;
  background-color: #732600;
  color: #ffc107;
  font-size: 14px;
  margin-top: 30px;
}
@media (max-width: 767px) {
  /* ...otros estilos... */

.menu-bottom .social-icons a {
  font-size: 30px;
  color: #8b2f02;
  transition: transform 0.3s ease;
}


  .menu-bottom .social-icons a:hover {
    transform: scale(1.2);
  }
}
.footer h2, .footer h3 {
  color: #ffc107;
  margin-bottom: 15px;
}


.boton-chefsito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 200px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.boton-chefsito:hover {
  transform: scale(1.1);
}

.boton-chefsito img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 600px) {
  .boton-chefsito {
    width: 100px;
    bottom: 15px;
    right: 15px;
  }
}

.btn-up {
  position: fixed;
  bottom: 30px;
  left: 30px; /* cambio aquí para izquierda */
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 10000;
  text-decoration: none;
}

.btn-up:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.btn-up::before {
  content: "";
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid white;
  display: inline-block;
  transform: translateY(-2px);
}
