@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;700&display=swap');

:root {
  --color-primario: #8d5239;
  --color-secundario: #e8c084;
  --color-fondo: #fefdf9;
  --color-texto: #2d2d2d;
  --color-blanco: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header.hero-header {
    background-image: url('img/Letras-Tequila-Jalisco-Foto.jpg');
    background-repeat: no-repeat;
    background-position: center bottom; /* centra la imagen */
    background-size: cover; /* cubre toda el área sin deformar */
    height: 80vh; /* altura de la pantalla, ajustable */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-header {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    z-index: 0;
  }
  
  #bg1 {
    z-index: 1;
  }
  
  #bg2 {
    z-index: 0;
  }
  
  .hero-header .overlay {
    z-index: 2;
    position: relative;
  }
  
  
  

#descripcion{
    text-align: center;
}
#info{
    text-align: center;
}

.carousel {
    position: relative;
    max-width: 100%;
    text-align: center;
  }
  
  .carousel img {
    width: 100%;
    max-height: 600px; /* Antes era 300px */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  
  .carousel-buttons {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
  }
  
  .carousel-buttons button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .carousel-buttons button:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }
  

header .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-blanco);
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--color-secundario);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #dfb36b;
}

.section {
  padding: 2rem 1.5rem;
}

.alt {
  background-color: #fffaf3;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  color: var(--color-primario);
  margin-bottom: 1rem;
  text-align: center;
}

p, ul {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.5rem;
}

.info {
    text-align: center;
  font-weight: bold;
  color: #555;
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.two-columns .text {
  flex: 1;
}

.two-columns .image {
  flex: 1;
}

.two-columns img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.grid img {
  width: 100%;
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}
.galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* Sin espacio entre imágenes */
  }
  
  .galeria-grid img {
    aspect-ratio: 9 / 16;
    width: 25%; /* 4 imágenes por fila en PC */
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
  }
  .galeria-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 1rem 0;
  }
  
  .galeria-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    aspect-ratio: 9 / 16;
    height: 400px;
    margin-right: 2px;
  }
  
  .galeria-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }
  
  .galeria-scroll::-webkit-scrollbar {
    display: none;
  }
  
  
  /* Responsive: 2 por fila en tablet */
  @media (max-width: 768px) {
    .galeria-grid img {
      width: 50%;
    }
  }
  
  /* Responsive: 1 por fila en celular */
  @media (max-width: 480px) {
    .galeria-grid img {
      width: 100%;
    }
  }
  

.contacto {
  background-color: #f4ede5;
  text-align: center;
}

footer {
  background-color: #222;
  color: var(--color-blanco);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-align: center;
  }
  
  .btn-whatsapp:hover {
    background-color: #1ebe5d;
  }
  
@media (max-width: 600px) {
    header.hero-header {
      background-position: center top; /* centra horizontal, pega arriba vertical */
      height: 35vh; /* menos altura para móviles */
    }
  }
  
/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  .two-columns {
    flex-direction: column;
  }
}
