* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Video de fondo */
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.video-background .overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 10px;
}

.video-background h1 {
  font-size: 4em;
}

.video-background p {
  font-size: 1.5em;
  margin-top: 10px;
}

/* Promociones - grid 3x3 ancho completo */
.promociones {
  padding: 40px 20px;
  background-color: rgb(237, 237, 237);
  text-align: center;
}

.promociones h2 {
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

/* Portada - corregida para mostrarse completa */
.header {
  text-align: center;
  background-color: rgb(237, 237, 237);
  width: 100%;
  padding: 40px 20px;
}

.header img {
  width: 100%;
  height: auto;
  max-height: 80vh; /* limita su altura sin recortarla */
  object-fit: contain; /* muestra la imagen completa */
  border-radius: 10px;
  margin-bottom: 20px;
}

.header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2em;
  color: #555;
}

/* Contacto */
.contacto {
  text-align: center;
  padding: 30px;
  background-color: rgb(237, 237, 237);
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-size: 30px;
  transition: color 0.3s, transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.15);
}

.social-icons a:hover i.fa-facebook { color: #1877F2; }
.social-icons a:hover i.fa-instagram { color: #E4405F; }
.social-icons a:hover i.fa-tiktok { color: #000000; }

/* Responsive */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .video-background h1 {
    font-size: 2.5em;
  }
  .video-background p {
    font-size: 1em;
  }
}
