body {
  background-image: url("Iconos/Fondo.png");
  background-size: cover;
  background-attachment: fixed;
  background-color: #1a0001; /* Vino oscuro */
  color: #f8f4ec;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    background-image: url("Iconos/Fondo2.png");
  }

  .whatsapp-flotante {
    bottom: 10px !important;
    right: 10px !important;
  }

  .whatsapp-flotante img {
    width: 48px;
    height: 48px;
  }

  .mapa,
  .ubicacion-texto {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ubicacion-texto {
    font-size: 16px;
  }

  .ubicacion-container {
    flex-direction: column;
    gap: 20px;
  }

  .titulo-con-logo img {
    height: 110px !important;
  }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  max-height: 100vh;
  margin: 0;
  padding: 0;
}

.galeriaxscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.galeriaxscroll img {
  height: 180px;
  border-radius: 10px;
  flex-shrink: 0;
  scroll-snap-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  filter: brightness(0.95);
}

header {
  background-image: url('https://images.unsplash.com/photo-1613145993234-b99fa61c6076');
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  text-align: center;
  color: #e2c48f;
}

header h1 {
  font-size: 42px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
}

section {
  padding: 16px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #e7e7e7;
  margin-bottom: 8px;
  border-bottom: 2px solid #858585;
  padding-bottom: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  margin: 6px 0;
  padding: 8px 10px;
  background-color: #222020;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

a {
  display: inline-block;
  margin: 8px 5px;
  padding: 8px 18px;
  background-color: #65171d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

a:hover {
  background-color: #b6431f;
  color: #fff8f0;
}

footer {
  background-color: #000;
  color: #c49a6c;
  text-align: center;
  padding: 30px 0 60px 0;
  font-weight: 500;
  letter-spacing: 0.8px;
  width: 100%;
}

#menu {
  background-color: #1a1818;
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
  margin-top: 20px;
  font-weight: 500;
}

.centrado {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

#btnMenu {
  background-color: #301212;
  color: #e7e7e7;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
}

#btnMenu:hover {
  background-color: #b6431f;
  color: #e7e7e7;
}

.titulo-con-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}

.titulo-con-logo img {
  height: 170px;
  width: auto;
  border-radius: 6px;
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#lightbox.mostrar {
  display: flex;
  opacity: 1;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

#cerrar-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 38px;
  color: #e2c48f;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
  user-select: none;
}

.flecha {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #c49a6c;
  background-color: rgba(80, 30, 30, 0.7);
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  transform: translateY(-50%);
}

.flecha.izquierda {
  left: 20px;
}

.flecha.derecha {
  right: 20px;
}

#menu h3 {
  color: #e2c48f;
  margin-top: 50px;
}

.selector-idioma {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}

.idioma-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #a98d8d;
  transition: transform 0.2s ease;
}

.idioma-item img:hover {
  transform: scale(1.1);
}

.sigla {
  margin-top: 7px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  user-select: none;
  font-size: 12px;
  color: #f8f4ec;
}

.idioma-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.selector-idioma img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #4d3900;
  margin: 0 5px;
  transition: transform 0.2s ease;
}

.selector-idioma img:hover {
  transform: scale(1.1);
  border-color: #d4b95d;
}

#etiqueta-idioma {
  text-align: center;
  color: #f8f4ec;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.galeria-titulo {
  color: #d4b95d;
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.whatsapp-flotante {
  position: fixed;
  bottom: 30px;
  right: 50px;
  z-index: 100;
  background: none;
  padding: 0;
  border: none;
}

.whatsapp-flotante img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  background: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}

.whatsapp-flotante img:hover {
  transform: scale(1.1);
}

.texto-pequeño {
  font-size: 0.85em;
  color: #d1c4a6;
  font-weight: 400;
}

.whatsapp-flotante,
.whatsapp-flotante a,
.whatsapp-flotante img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  h2 {
    font-size: 28px;
  }

  ul li {
    font-size: 17px;
  }
}

.contacto-links {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 400px;
  margin-top: 8px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacto-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contacto-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 5px;
  background-color: #65171d;
  transition: background-color 0.3s ease;
}

.contacto-item a:hover {
  background-color: #b6431f;
  color: #fff8f0;
}

h3 {
  color: #e2d274;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.5rem;
  border-left: 5px solid #65171d;
  padding-left: 10px;
  font-weight: 600;
  border-bottom: 1px solid #65171d;
  padding-bottom: 5px;
}

#menu {
  position: relative;
}

#cerrarMenu {
  position: absolute;
  top: 12px;
  right: 25px;
  font-size: 50px;
  background: none;
  border: none;
  color: #c49a6c;
  cursor: pointer;
  z-index: 999;
}

#cerrarMenu:hover {
  color: #e24406;
}

#ubicacion {
  background-color: #301212;
  padding: 20px;
  border-radius: 30px;
  margin-top: 60px;
}

#ubicacion h2 {
  color: #e7e7e7;
  margin-bottom: 25px;
  text-align: left;
}

.ubicacion-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.mapa {
  width: 40%;
  height: 250px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ubicacion-texto {
  max-width: 50%;
}

.ubicacion-texto .etiqueta {
  color: #e2c48f;
  font-weight: bold;
}

.ubicacion-texto .contenido {
  color: #f8f4ec;
}

.numero {
  color: #6e6e6e; /* rojo oscuro elegante */
  font-weight: bold;
}