/* Estilo base del sitio */
html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: goldenrod;
  font-family: 'Arial', sans-serif;
  height: 100%;
}

/* Contenedor superior: logo, frase, botón */
.logo-frase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 0 1.5rem;
  flex-wrap: wrap;
}

/* Logo */
.logo {
  width: 140px;
  height: auto;
  border: 2px solid goldenrod;
  border-radius: 10px;
  box-shadow: 0 0 10px red;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.05);
}

/* Frase centrada */
.frase {
  font-size: 2rem;
  font-weight: bold;
  color: goldenrod;
  margin: 0 auto;
  flex-grow: 1;
  text-align: center;
}

/* Menú de navegación */
.nav_links {
  display: flex;
  justify-content: center;   
  list-style: none;
  gap: 1.5rem;
  padding: 1rem 0;
  margin: 0 auto;
  max-width: 600px;
  flex-wrap: nowrap;        
  white-space: nowrap;      
}

.nav_links li {
  white-space: nowrap;
  flex-shrink: 1; /* permite que los items se encojan */
}

.nav_links a {
  text-decoration: none;
  color: goldenrod;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.nav_links a:hover {
  color: white;
}

/* Línea dorada divisora */
.divider {
  border: none;
  border-top: 1px solid goldenrod;
  margin: 0.5rem auto;
  width: 90%;
}

/* Frase promocional */
.promo-frase {
  text-align: center;
  font-size: 1rem;
  color: goldenrod;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
  font-style: italic;
}

/* ------------------------- */
/* index.html - Imágenes centradas (4 por fila) */
.imagenes-centradas {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  box-sizing: border-box;
}

.img-promocion {
  width: 100%;
  max-width: 220px;
  height: auto;
  border: 3px solid goldenrod;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}

.img-promocion:hover {
  transform: scale(1.05);
}

/* ------------------------- */
/* indexwhisky.html - Imágenes (5 por fila) */
.contenedor-imagenes {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
}

.contenedor-imagenes .img-promocion {
  max-width: 180px;
}

/* ------------------------- */
/* indexpromo.html - Imágenes de promociones */
.promo-contenedor {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
}

.promo-contenedor img {
  max-width: 180px;
  width: 100%;
  height: auto;
  border: 3px solid goldenrod;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}

.promo-contenedor img:hover {
  transform: scale(1.05);
}

/* ------------------------- */
/* Bloque WhatsApp centrado */
.contacto-whats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 480px;
  margin: 3rem auto;
  padding: 1rem 2rem;
  border: 3px solid goldenrod;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  background-color: black;
  color: goldenrod;
}

.img-whats {
  max-width: 80px;
  height: auto;
  border: 3px solid goldenrod;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}

.img-whats:hover {
  transform: scale(1.05);
}

.contacto-texto h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
  color: goldenrod;
}

.contacto-texto p {
  margin: 0.3rem 0 0 0;
  font-size: 1.2rem;
  font-weight: normal;
  text-align: left;
  color: goldenrod;
}

/* ------------------------- */
/* Responsive tablets */
@media (max-width: 900px) {
  .logo-frase {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .frase {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 1rem;
  }

  .nav_links {
    gap: 1rem;
    max-width: 100%;
  }

  .imagenes-centradas {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    width: fit-content;
  }

  .contenedor-imagenes {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .promo-contenedor {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .logo {
    width: 110px;
  }

  .flecha {
    width: 110px;
  }
}

/* ------------------------- */
/* Responsive móviles */
@media (max-width: 600px) {
  .logo-frase {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  .logo,
  .flecha {
    width: 90px;
  }

  .frase {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }

  .nav_links {
    flex-wrap: nowrap;        
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
    white-space: nowrap;
  }

  .nav_links li {
    flex-shrink: 1; /* importante para que se reduzcan si es necesario */
  }

  .nav_links a {
    font-size: 1rem; /* tamaño de texto más pequeño en móvil */
  }

  .imagenes-centradas {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    width: 90%;
  }

  .contenedor-imagenes {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .promo-contenedor {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .promo-contenedor img {
    max-width: 100%;
  }
};

/* ------------------------- */
/* indexwhisky2.html - Imágenes tamaño uniforme con estilo */
.contenedor-imagenes-whisky {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  justify-items: center;
}

.contenedor-imagenes-whisky .img-vino {
  width: 180px;
  height: 180px;          /* altura fija igual que ancho */
  object-fit: contain;    /* mantiene proporción y centra la imagen */
  border: 3px solid goldenrod;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}

.contenedor-imagenes-whisky .img-vino:hover {
  transform: scale(1.05);
}

/* ------------------------- */
/* indexwhisky2.html - Responsive: 2 imágenes por línea en móvil */
@media (max-width: 600px) {
  .contenedor-imagenes-whisky {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

