/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #f5f5f5;
  background-color: #0b0b0b;
  line-height: 1.6;
}
#verificacion {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.95) 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  z-index: 9999;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
}

.cuadro-verificacion {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  max-width: 340px;
  width: 90%;
  animation: fadeIn 0.4s ease;
}

.cuadro-verificacion h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cuadro-verificacion button {
  margin: 10px;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-si {
  background-color: #d4a017;
  color: #fff;
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.4);
}

.btn-si:hover {
  background-color: #e6b93c;
  transform: scale(1.05);
}

.btn-no {
  background-color: #444;
  color: #fff;
}

.btn-no:hover {
  background-color: #666;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
}
.site-header.scrolled {
  background: #000;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #E2B13C;
  letter-spacing: 1px;
}

.logo span {
  color: #E2B13C;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: #E2B13C;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh; /* ocupa toda la pantalla */
  background: url('img/copas_barricas_tequila.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Capa oscura encima de la imagen */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem;
  max-width: 700px;
  animation: fadeIn 1.5s ease;
}

/* Título */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #E2B13C; /* dorado elegante */
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

/* Descripción */
.hero p {
  font-size: 1.3rem;
  color: #eee;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
  margin-bottom: 2rem;
}

/* Botón */
.btn-primary {
  background-color: #E2B13C;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #cda03a;
}

/* Animación suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


/* PRODUCTS */
.products {
  padding: 2rem 0;
  background-color: #0d0d0d;
  text-align: center;
}
.products h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #E2B13C;
}
.TituloProductos{
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #E2B13C;
  text-align: center;
}
.section-subtitle {
  color: #aaa;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

/* Ajuste del header para pantallas pequeñas */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-content .logo {
    margin-bottom: 0.5rem; /* separa el logo del menú */
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .site-nav a {
    margin: 0; /* elimina márgenes laterales grandes */
    font-size: 0.95rem;
  }
}
.section-subtitle2 {
  color: #aaa;
  margin-bottom: 3rem;
  text-align: center;
}


/*  Para móviles muy pequeños (por debajo de 480px) */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
  }
}
/*  Cuando la pantalla es menor de 768px (tamaño tablet/móvil) */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* más pequeño */
    gap: 1rem; /* reduce espacio entre productos */
  }

  .product-grid .product-item {
    transform: scale(0.95); /* opcional: reduce un poco el tamaño visual */
  }
}

/*  Para móviles muy pequeños (por debajo de 480px) */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
  }
}

.product-card {
  background-color: #161616;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.product-info {
  padding: 1rem;
}
.product-info h3 {
  font-family: 'Playfair Display', serif;
  color: #E2B13C;
  margin-bottom: 0.5rem;
}
.product-info p {
  color: #ccc;
  margin-bottom: 1.2rem;
}

/* CONTACTO */
.contact {
  background-color: #111;
  padding: 5rem 0;
  text-align: center;
}
.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #E2B13C;
  margin-bottom: 1rem;
}
.contact p {
  color: #bbb;
  margin-bottom: 1rem;
}
.contact-info {
  font-size: 1.1rem;
}
.contact-info a {
  color: #E2B13C;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.whatsapp-btn {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: #23c65f;; /* verde WhatsApp */
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}
.textbw{
  color: #fff;
}
.whatsapp-btn:hover {
  background-color: #1b9749;
}


/* FOOTER */
.site-footer {
  background-color: #000;
  text-align: center;
  padding: 2rem 0;
  color: #777;
}
.site-footer .social a {
  color: #777;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .social a:hover {
  color: #E2B13C;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .site-nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
}
