/*==============================*/
/* ESTILOS PARA INDEX.PHP       */
/*==============================*/

/* HERO CON VIDEO DE FONDO */
.index-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.index-video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.index-hero-contenido {
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translateY(4vh);
}

.index-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.index-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  font-weight: 400;
}

.index-boton {
  position: relative;
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s ease, background 0.3s ease;
}

.index-boton::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, #2e8b57, #ffffff, #d2222d);
  background-size: 300%;
  background-position: 0% 50%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background;
}

.index-boton:hover::before {
  background-position: 100% 50%;
}

.index-boton:hover {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

/* SECCIÓN CHEF */
.index-chef {
  position: relative;
  background: white;
  padding: 5rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 2;
  gap: 2rem;
}

.index-chef-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.index-chef-texto {
  max-width: 500px;
  text-align: left;
}

.index-chef-texto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.index-chef-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.chef-btn {
  display: block;
  margin: 2rem auto 0 auto;
  text-align: center;
  max-width: 160px;
  margin-bottom: 1.5rem;
}

/* MAPA A PANTALLA COMPLETA */
.index-mapa {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 60vh;
  background: #fff;
  box-shadow: inset 0 20px 20px -20px rgba(0, 0, 0, 0.1);
}

.index-mapa iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .index-hero h1 {
    font-size: 2.5rem;
  }
  .index-chef {
    flex-direction: column;
    align-items: center;
  }
  .index-chef-texto {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .index-hero h1 {
    font-size: 2.2rem;
  }
  .index-hero p {
    font-size: 1rem;
  }
  .index-chef-texto h2 {
    font-size: 1.75rem;
  }
  .index-chef-texto p {
    font-size: 1rem;
  }
  .index-hero-contenido {
    padding: 1.5rem;
  }
  .index-boton {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .index-hero h1 {
    font-size: 1.8rem;
  }
  .index-hero p {
    font-size: 0.95rem;
  }
  .index-chef-texto h2 {
    font-size: 1.5rem;
  }
  .index-chef-texto p {
    font-size: 0.95rem;
  }
  .index-hero-contenido {
    border-radius: 8px;
  }
  .index-boton {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}
