body, html {
  overflow-x: hidden;
}


*{
    margin: 0;
    padding: 0;
}

.video-bg{
  padding: 40px;
  background-color: #000;
}


.video-bg video {
  display: block;
  width: 100%;
  max-height: 750px;
  object-fit: cover; /* si quieres que llene y recorte */
}
.elementos-section {
  width: 100%;
  padding: 50px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(to bottom,rgb(0, 0, 0), #eaeaea);
   
}

.elementos-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #d4af37;             /* dorado */
}

.elementos-section p {
  font-size: 1.125rem;
  margin: 0 auto 2rem;
  color: #fff;                /* blanco */
  max-width: 800px;
}

.elementos-section img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}



.promo-tequila {
  display: flex;
 justify-content: center;
  align-items: center;
  gap: 1rem; 
  background-color: #000;
  height: 500px;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

/* Ahora 70% para la imagen y 30% para el texto */
.promo-img {
  flex: 0 0 60%;
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.promo-content {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

.promo-img img {
  height: 400px;       /* ajústalo si lo quieres más grande/pequeño */
  width: auto;
  object-fit: contain;
}

.promo-content h1 {
  font-size: 3rem;
  color: #fff;
  margin: 0 0 0.3rem;
}

.promo-content p {
  font-size: 2.5rem;
  color: #d4af37;
  margin: 0;
}

main {
  width: 100%;
  background-color: #000;    /* fondo negro */
  padding: 2rem;             /* 2rem en eje Y y X */
  box-sizing: border-box;    /* incluye el padding en el ancho total */
}

main img {
  display: block;            /* elimina salto de línea debajo */
  max-width: 100%;           /* nunca pase del contenedor */
  height: auto;              /* mantiene proporción */
  margin: 0 auto;            /* lo centra horizontalmente */
}


.mission-vision {
  background-color: #000;
  padding: 3rem 1rem;
  box-sizing: border-box;
}

/* Cada bloque (misión/visión) */
.mv-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;            /* espacio entre texto e imagen */
  margin-bottom: 3rem;  /* separador entre bloques */
}

/* Flex-reverse para el bloque visión */
.mv-block.vision {
  flex-direction: row-reverse;
}

/* Contenedor de texto */
.mv-content {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
}

/* Contenedor de imagen */
.mv-img {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ajustes de la imagen */
.mv-img img {
  width: 100%;
  max-width: 400px;   /* límite de tamaño para que no se pase */
  height: auto;
  object-fit: contain;
}

/* Estilos de tipografía */
.mv-content h2 {
  font-size: 2.5rem;
  color: #d4af37;     /* dorado */
  margin-bottom: 1rem;
}

.mv-content p {
  font-size: 1.25rem;
  color: #fff;        /* blanco */
  line-height: 1.5;
  margin: 0;
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  .mv-block {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mv-content, .mv-img {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .mv-content h2 {
    font-size: 2rem;
  }
  .mv-content p {
    font-size: 1rem;
  }
}
.mission-vision {
  background-color: #000;
  padding: 3rem 1rem;
  box-sizing: border-box;
}

/* Cada bloque (misión/visión) */
.mv-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;            /* espacio entre texto e imagen */
  margin-bottom: 3rem;  /* separador entre bloques */
}

/* Flex-reverse para el bloque visión */
.mv-block.vision {
  flex-direction: row-reverse;
}

/* Contenedor de texto */
.mv-content {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
}

/* Contenedor de imagen */
.mv-img {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ajustes de la imagen */
.mv-img img {
  width: 100%;
  max-width: 400px;   /* límite de tamaño para que no se pase */
  height: auto;
  object-fit: contain;
}

/* Estilos de tipografía */
.mv-content h2 {
  font-size: 2.5rem;
  color: #d4af37;     /* dorado */
  margin-bottom: 1rem;
}

.mv-content p {
  font-size: 1.25rem;
  color: #fff;        /* blanco */
  line-height: 1.5;
  margin: 0;
}
.mv-content p {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.5;
  margin: 0 auto;        /* lo centra */
  max-width: 600px;      /* ajusta este valor a tu gusto */
}

.carousel {
  position: relative;
  width: 100%;
  padding: 5rem;             /* padding generoso */
  box-sizing: border-box;
  overflow: hidden;
  background-color: #000;     /* fondo negro */
}

.carousel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Puntitos */
.carousel .dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.carousel .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #888;
  cursor: pointer;
  transition: background-color 0.3s;
}
.carousel .dot.active {
  background-color: #f1c40f;
}

.gallery {
  background: #000;             /* opcional: fondo negro */
  padding: 2rem 1rem;
  color: #fff;
  text-align: center;
}
.gallery h3 {
  font-size: 2rem;
  color: #d4af37;               /* dorado */
  margin-bottom: 1.5rem;
}
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1350px;
  margin: 0 auto;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  height: 490px;
  border-radius: 8px;
  object-fit: cover;
}

.pruebas {
  object-fit: none;
}


.gallery figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.info-section {
  display: flex;
  justify-content: space-evenly; /* junta los elementos */
  align-items: center;
  gap: 1rem; /* ajusta según tu gusto */
  padding: 1rem 1rem;
  background: linear-gradient(to bottom,rgb(0, 0, 0), #eaeaea);

  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.text-container {
  max-width: 400px;
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 300;
  color: #fff;
  text-align: justify;
}

.text-container h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #d4af37;     /* dorado */
  
  text-align: center;

}


.image-container {
  width: 360px;
  height: 400px;
  
}

.image-containero {
  width: 550px;
  height: auto;
  
}


/* Responsivo: en móviles 2 columnas */
@media (max-width: 768px) {
  .gallery .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .info-section {
  display: flex;
  flex-direction: column;
  
}

}

  @media (max-width: 600px) {
    .footer-section.contact {
      text-align: justify;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .elementos-section {
  width: 100%;
  padding: 5px;}
    
  }


/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  .mv-block {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mv-content, .mv-img {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .mv-content h2 {
    font-size: 2rem;
  }
  .mv-content p {
    font-size: 1rem;
  }
  .carousel {
  
  padding: 1rem;             /* padding generoso */
  
}

  
}

@media (max-width: 768px) {
  .mv-block {
    flex-direction: column !important; /* fuerza columna */
    gap: 1rem;                         /* separador entre texto e imagen */
    margin-bottom: 2rem;               /* espacio extra abajo */
  }
  .mv-content,
  .mv-img {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;                        /* opcional: quita padding si sobra */
  }
  .mv-content p {
    max-width: 90%;                    /* ancho más estrecho en móvil */
  }
  .mv-img img {
    max-width: 80%;                    /* ajusta para que no se vea demasiado grande */
    height: auto;
  }

  .image-container {
  width: 380px;
  height: 480px;
}

}








@media (max-width: 768px) {
  .promo-tequila {
    flex-direction: column;
    height: auto;      /* que crezca según contenido */
    padding: 1rem 0;   /* ajustar padding vertical */
  }

  .promo-img,
  .promo-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .promo-img {
    margin-bottom: 1rem;  /* separador entre image y texto */
  }

  .promo-img img {
    width: 90%;        /* o 100%, como prefieras */
    height: auto;
  }
}


*, *::before, *::after {
  box-sizing: border-box;
}
