/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #000000;
  line-height: 1.6;
  z-index: 20;
  
}


header {
  text-align: center;
  padding: 2rem 1rem;
  color: #000;
  background-color:#401D0C;
  height: 520px;
}

.overlay {
  position: fixed;  /* fijo para que cubra todo */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(64, 29, 0, 12)),
              url('Fondo\ alfajoritos\ energy\ y\ mani.jpg') center center / cover no-repeat;
  z-index: -1; /* detrás del contenido */
  opacity: 100%;

}

header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  color:  #FED42B;
  z-index: 1;

}

header p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  margin-top: 0.5rem;
  color: #ffffff;
  z-index: 4;
}

header h2{
  color: ;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mi-video {
  position: absolute;
  top: 35%;
  padding-bottom: 15%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  opacity: 100%;
}
.seccion-nuestras-opciones{
  color: white;
  padding-top: 170px;
  margin-top: 300px;
  font-size: 2.5rem;
  font-family:"Bebas Neue";
  animation-name: fadeUp;
  animation-duration: scroll;
  
}
.catalogo {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 1rem;
  padding-top: 10%;
}

.producto {
  background-color:  #FED42B;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
}

.producto img {
  width: 95%;
  height: 500px;
  border-radius: 8px;
}

.producto h2 {
  margin-top: 1rem;
  color: #000;
}

.producto p {
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
  font-family: 'Secret Code', sans-serif;
  color: #000;
}

.precio {
  color: #000000;
  font-weight: bold;
}

.boton {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #000000ce;
  color: #ffd814;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.boton:hover {
  background-color: #7b7a7a;
  color: #000;
}

.producto:hover {
  transition: 0.5s;
  background-color: #000;
  color: #ffffff;
}

.producto:hover h2 {
  color: #ffffff;
}
.producto:hover .precio{
  color: #fff;
}
.producto:hover p{
  color: white;
}



footer p {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 1rem;
  background-color: #3d3a39;
  font-size: 0.75rem;
  color: #ffffff;
}


/* Media Queries */


/* Adaptaciones para pantallas móviles */
@media screen and (max-width: 750px) {
  /* Header: menos alto para que no ocupe tanta pantalla */
header{
  height: 570px;
}
  header h1 {
    margin-top: 10%;
    font-size: 2.4rem;
  }
  header p {
    font-size: 1rem;
    padding-top: 0,3%;
    padding-bottom: 10px;
  }
  .video-wrapper mi video{
    max-height: 70%;
    margin-top: 40px;
  }
}

  /* Sección de título centrada y legible */
  .seccion-titulo {
    font-size: 1.4rem;
    margin-top:300px;
  }

  /* Catálogo en columna única: ya aplica en base */
  .catalogo {

    padding: 0 0.5rem;
    gap: 1rem;
    flex-direction:column;
    margin-top: 100px;
  }


  /* Productos ocupan todo el ancho */
.boton{
  width: 450px;
}
.producto img{
  max-width: 100%;
  height: 100%;
}
.producto p{
  font-size: 1.4rem;

}
.producto h2{
  font-size:2rem;
}
.producto .precio{
  font-size: 1.4rem;

}
.producto .boton{
  font-size: 1.4rem;
  max-width: 90%;
}
  .seccion-nuestras-opciones{
    margin-top:150vh;
    flex-direction: row;
    padding-bottom: 280px;
    
  }

  footer {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding: 0 1rem;

}


/*SECCION PANTALLAS GRANDES A PARTIR DE 750PX*/


@media screen and (min-width: 750px)and (max-width: 1200px){
  header{
    height: 630px;
    width: auto;
  }
  .video-wrapper {
    height: 100vh;
    padding-top: 30vh;
  }

.seccion-nuestras-opciones{
  padding-bottom: 450px;
  margin-top: 1200px;
  font-size: 5rem;
}

.mi-video{
  margin-top: 120px;
}
.boton{
  width: 100%;
}
}


@media screen and (min-width: 1200px) {
  .catalogo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem;
    margin-bottom: 200px; /* Espacio para el footer */
  }

  .producto {
    width: 30%;
    height: auto;
  }

  .producto img {
    height: auto;
    max-height: 650px;
    object-fit: cover;
  }
  .seccion-nuestras-opciones{
  padding-bottom: 450px;
  margin-top: 1200px;
  font-size: 4rem;
}
}



