/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #333;
}


.EnlaceVitola
{
	text-decoration: none;
	cursor:pointer;
}

.espacio {
  height: 100px;
  max-width: 100%;
  back: silver;
}

/* Degradados para el fondo del header */
/* Estilos base del hero */
.hero {
  transition: background 0.5s ease;
   background: linear-gradient(135deg, #8B0000, #8f00ff);
  background: none;
  height: 400px; /* ejemplo, ajusta según tu diseño */
}



.hero:hover {
   animation: rainbow 2s linear forwards;
}







.scroll-down-indicator {
  bottom: 20px;
}

@media (max-width: 768px) {
  .scroll-down-indicator {
    bottom: 80px;
  }
}


/* Gradientes para cada fondo */
/* Los gradientes */
.bg-gradient-blue {
	  transition: background 1s ease;
  background: linear-gradient(135deg, #000062 0%, #1F318C 100%) !important;
}
.bg-gradient-purple {
	transition: background 1s ease;
  background: linear-gradient(135deg, #350E4B 0%, #65188C 100%) !important;
}
.bg-gradient-black {
	transition: background 1s ease;
  background: linear-gradient(135deg, #000000 0%, #434343 100%) !important;
}
.bg-gradient-green {
	transition: background 1s ease;
  background: linear-gradient(135deg, #11301A 0%, #0C5E32 100%) !important;
}
.bg-gradient-red {
	transition: background 1s ease;
  background: linear-gradient(135deg, #930001 0%, #D6131A 100%) !important;
}

.AlebrijesSection
{
	transition: background 1s ease;
	 background: linear-gradient(135deg, #000062 0%, #1F318C 100%) !important;
	 
}
.MariachisSection
{
	transition: background 1s ease;
	 background:black;
}

.SiglosSection
{
	transition: background 1s ease;
	 background: linear-gradient(135deg, #11301A 0%, #0C5E32 100%) !important
	 
}
.HuicholesSection
{
	transition: background 1s ease;
	 background:#420000 ;
	 
}

.CatrinasSection
{
	transition: background 1s ease;
	 background:linear-gradient(135deg, #350E4B 0%, #65188C 100%) !important
	 
}




/* HERO HEADER */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #8B0000, #8f00ff);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.5s ease;
  z-index: 10;
  color: white;
   transition: background 0.5s ease;
   
}

.hero-content {
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estado SHRINK */
.hero.shrink {
  height: 80px;
  position: fixed;
  top: 0;
  width: 100%;
 /* background: linear-gradient(135deg, #8B0000, #8f00ff);*/
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: 100;
}

.hero.shrink .btn-comprar {
  margin-left: auto;
  margin-top: 0;
}


@media (max-width: 768px) {
  .hero.shrink .hero-content {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero.shrink .btn-comprar {
      margin-left: 1px;
  margin-top: 0;
}

}


.hero.shrink .hero-content {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}


/* LOGO */
.logo {
  width: 300px;
  transition: all 0.5s ease;
}

.hero.shrink .logo {
  width: 100px;
}

/* TÍTULOS Y PÁRRAFOS EN HERO */
.hero.shrink p,
.hero.shrink .byline {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  display:none;
}

.hero.shrink h1 {
  font-size: 1.5rem;
  color: white;
  opacity: 1;
  height: auto;
  pointer-events: auto;
  margin: 0;
}

/* BOTÓN COMPRAR AHORA */
.btn-comprar {
  background-color: #FFD700;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 1rem;
  animation: breathing 2.5s ease-in-out infinite;
  transition: background 0.3s ease;
  text-decoration: none;
}

.hero.shrink .btn-comprar {
  margin-top: 0;
}

.btn-comprar:hover {
  background-color: #ffa500;
  text-decoration: none;
}

/* SCROLL INDICATOR */
.scroll-down-indicator {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero.shrink .scroll-down-indicator {
  opacity: 0;
  pointer-events: none;
}

/* FLECHA ANIMADA */
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(15px);
    opacity: 1;
  }
  60% {
    transform: translateY(8px);
    opacity: 0.85;
  }
}

.bounce {
  animation: bounceDown 1.8s infinite;
}

.bounce.delay-1 {
  animation-delay: 0.3s;
}

.bounce.delay-2 {
  animation-delay: 0.6s;
}

/* SECCIONES GENERALES */
.section {
  padding: 3rem 1.5rem;
  max-width:100%;
  width: 100%;
  margin: 0 auto;

  /* ANIMACIÓN DE ENTRADA/SALIDA */
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.section.visible {
  opacity: 1;
  transform: translateX(0);
}

.section.hidden {
  opacity: 0;
  transform: translateX(-50px);
}

.intro2 {
  color: white;
}

/* VIDEO Y TEXTO EN COLUMNA */
.media-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.media-block video {
  width: 100%;
  max-width: 800px;
  max-height: 450px;
  border-radius: 10px;
}

.media-block .text {
  max-width: 800px;
  padding: 0 1rem;
}

/* GALERÍA */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* SECCIÓN COMPRAR */
.comprar-section {
  background-color: #f8f8f8;
  text-align: center;
  padding: 4rem 1rem;
}

.btn-comprar-grande {
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 40px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 2rem;
}

.btn-comprar-grande:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  z-index: 1;
  bottom: 20px;
}

/* ANIMACIONES */
@keyframes breathing {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logo {
    width: 60%px !important;
  }
  
  .hero.shrink .logo {
    width: 90px;
  }

  .gallery-images img {
    width: 100%;
  }
  
  
  .gallery-item {
  width: 100% !important; /* ajusta según tu diseño */
  height: 400px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease;
  border-radius: 8px;
}




  .btn-comprar,
  .btn-comprar-grande {
    width: 50%;
    font-size: 0.8rem;
	 margin-top: 3px !important;
  }

  .hero.shrink .hero-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero.shrink {
    height: auto;
    padding: 1rem 1rem;
  }
  
    .espacio {
		  max-width: 100%;
    height: 280px;
  }
  
  
}

@media (max-width: 480px) {
  .btn-comprar,
  .btn-comprar-grande {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .logo {
    width: 60%px !important;
  }

  .espacio {
	    max-width: 100%;
    height: 280px;
  }
}



/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #333;
  /* Color de borde de ventana (Chrome, Edge) */
  outline-color: #8f00ff;
}

/* Cursor personalizado */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24"><path fill="%238B0000" d="M2 2 L12 12 L6 12 L14 20 L12 22 L4 14 L2 16 Z"/></svg>') 12 12, auto;
}

/* Barra de desplazamiento personalizada */
::-webkit-scrollbar {
  width: 12px;
  background-color: #fff;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(139, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8B0000, #8f00ff);
  border-radius: 6px;
  border: 3px solid #f0f0f0;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #8f00ff, #8B0000);
}

/* Focus outline personalizado para accesibilidad */
:focus-visible {
  outline: 2px solid #8B0000;
  outline-offset: 2px;
}

/* Inputs, buttons y selects con borde personalizado */
input, button, select, textarea {
  border: 2px solid #8B0000;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

input:focus, button:focus, select:focus, textarea:focus {
  border-color: #8f00ff;
  outline: none;
  box-shadow: 0 0 5px #8f00ff;
}

/* Enlaces personalizados */
a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #8f00ff;
  outline: none;
}

/* Botones .btn-comprar (ajustes para puntero) */
.btn-comprar, .btn-comprar-grande {
  cursor: pointer;
  user-select: none;
  box-shadow: 0 3px 6px rgba(139, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-comprar:hover, .btn-comprar-grande:hover {
  box-shadow: 0 6px 12px rgba(143, 0, 255, 0.5);
  transform: scale(1.05);
}

/* Scrollbar para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #8B0000 #f0f0f0;
}

/* Para body con scroll */
body::-webkit-scrollbar {
  background-color: #fff;
}

/* Bordes de ventana en navegadores compatibles */
@supports selector(:focus-visible) {
  body {
    outline-offset: 2px;
  }
}

/* Personalización para inputs range (si tienes) */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(135deg, #8B0000, #8f00ff);
  border-radius: 3px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #8B0000;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  background: #8f00ff;
}

/* Para Firefox */
input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #8B0000;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type=range]::-moz-range-thumb:hover {
  background: #8f00ff;
}

/* Scroll indicator */
.scroll-down-indicator {
  color: white;
  filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.7));
  cursor: pointer;
 
}
.flecha2{
	display:none;
}
/* Shadow general para cajas y secciones */
.btn-comprar, .btn-comprar-grande {
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

/*
.section:hover, .media-block:hover {
  box-shadow: 0 6px 20px rgba(143, 0, 255, 0.3);
}*/

/* Ajuste final para texto en modo oscuro */
.intro2 {
  color: white;
}



/* INICIA VITOLARIO */
#vitolario {
  padding: 2rem 1rem;
  background-image: url('https://sabormexicano.rpaxtian.com/img/vitolario/Fondo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff; /* textos blancos */
    text-align: center;
}

.vitolario-titulo {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.vitolario-contenedor {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  justify-content: center; /* ✅ Esto centra en pantallas grandes */
}

@media (max-width: 768px) {
  .vitolario-contenedor {
    justify-content: flex-start; /* ✅ Vuelve al scroll en móviles */
  }
}


.vitola {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
  width: 100px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 10px; /* opcional, para bordes suaves */
  
}





.vitola a.EnlaceVitola:hover {
 /* box-shadow: 0 0 15px 4px rgba(218, 165, 32, 0.7);*/ /* luz dorada suave */
  transform: scale(1.02); /* opcional, un pequeño zoom al hacer hover */
}



.vitola img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem auto;
}

.vitola p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #fff;
}

.vitolaName
{
	color:#FFCC00 !important;
	background:#820000;
	padding:4px;
	border-radius:3px;
}


 .vitolaText
 {
	 color:#FFCC00 !important;
 }
 
 
/* FIN VITOLARIO*/



/*INICIA CONFETI*/
#confetti-container {
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  opacity: 0.9;
  animation: explode 1.5s ease-out forwards;
}

.confetti.circle {
  border-radius: 50%;
}

.confetti.triangle {
  width: 0;
  height: 0;
  background: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid;
}

.confetti.star::before {
  content: '★';
  font-size: 14px;
  color: inherit;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.8) rotate(720deg);
    opacity: 0;
  }
}

/*FIN CONFETI*/


/*INICIA CUENTA REGRESIVA*/
.sparkle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-fall 1500ms ease forwards;
  opacity: 1;
  z-index: 10;
}

@keyframes sparkle-fall {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px)) scale(0);
    opacity: 0;
  }
}

.countdown-section {
 background: linear-gradient(90deg, #350E4B 0%, #65188C 100%);
  color: white;
  text-align: center;
  padding: 2rem 0.8rem;
  overflow-x: hidden; /* Evita scroll horizontal */
}

.countdown-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.countdown-container {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;          /* Forzar que NO bajen los cuadros */
  gap: 1rem;
  overflow-x: hidden;         /* Evitar scroll horizontal */
  padding: 0.5rem 0;
}

.countdown-item {
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 0.3rem 0.6rem;
  min-width: 50px;            /* Reducido para pantallas pequeñas */
  flex: 1 1 auto;             /* Que puedan reducir su ancho */
  max-width: 90px;            /* Máximo ancho para que quepan */
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  box-sizing: border-box;
}

.countdown-item:hover {
  transform: scale(1.1);
}

.countdown-item span {
  display: block;
  font-size: 1.3rem;          /* Un poco más pequeño para pantallas pequeñas */
  font-weight: bold;
}

.countdown-item p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Media query para pantallas pequeñas: ajusta tamaño de fuente y padding para que quepa */
@media (max-width: 480px) {
  .countdown-container {
    gap: 0.6rem;
  }
  .countdown-item {
    min-width: 40px;
    max-width: 70px;
    padding: 0.2rem 0.4rem;
  }
  .countdown-item span {
    font-size: 1.1rem;
  }
  .countdown-item p {
    font-size: 0.75rem;
  }
}

/* Media query para pantallas muy angostas */
@media (max-width: 320px) {
  .countdown-container {
    gap: 0.4rem;
  }
  .countdown-item {
    min-width: 35px;
    max-width: 60px;
    padding: 0.1rem 0.3rem;
  }
  .countdown-item span {
    font-size: 1rem;
  }
  .countdown-item p {
    font-size: 0.7rem;
  }
}


/* FIN CUENTA REGRESIVA */

.BGMorado {
  position: relative;
  background: linear-gradient(90deg, #350E4B 0%, #65188C 100%);
  width: 100%;
  min-height: 400px; /* aseguras altura */
  overflow: hidden;
 
}

.BGMorado::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
 
  opacity: 0.6; /* controla cuánto se ve la imagen */
  pointer-events: none; /* para que no bloquee interacciones */
  z-index: 0;
}

.countdown-section {
  position: relative;
  color: white;
  padding: 60px 20px;
  z-index: 1;
  text-align: center;
}

.comprar-section {
  position: relative;
  background: linear-gradient(90deg, #350E4B 0%, #65188C 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  
  overflow: hidden;
  min-height: 400px;
}

.comprar-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
 /* background: url('https://sabormexicano.rpaxtian.com/img/sabor-mexicano-cigars.png') center/cover no-repeat;*/
 background: linear-gradient(90deg, #350E4B 0%, #65188C 100%);
  opacity: 0.6;
  z-index: 0;
}

.comprar-content {
  position: relative;
  z-index: 1;
}

.comprar-section h2,
.comprar-section p {
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.8),
    2px 2px 12px rgba(0, 0, 0, 1);
}

.comprar-section p {
  font-weight: bold;
  font-size: 20px;
}

.btn-language-switch {
  background-color: rgba(0, 0, 0, 0.10) !important; /* rojo oscuro con 50% de opacidad */
  color: silver !important;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
}

.btn-language-switch:hover,
.btn-language-switch:focus {
  background-color: #a52a2a; /* un rojo más claro */
  text-decoration: none;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(165, 42, 42, 0.7);
  outline: none;
  cursor: pointer;
}

.flag {
  font-size: 1.3rem;
  line-height: 1;
}



.Titulo {
  color: white; /* Color base */
  transition: all 0.5s ease-in-out;
  display: inline-block;
  position: relative;
    /* Sombra negra difuminada */
  /* Sombra negra más marcada y difuminada */
  text-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.8);
	
}
.texto-sombra{
	 text-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.8);
}

.Titulo:hover {
  background: linear-gradient(to left, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: rainbow 2s linear forwards;
   /* Sombra negra más marcada y difuminada */
   text-shadow: none;
}

@keyframes rainbow {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0% 0;
  }
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-item {
  width: 25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: background-image 0.4s ease;
  overflow: hidden;
}





.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity 0.5s ease;
}


.hero.shrink .video-bg {
  opacity: 0;
  pointer-events: none;
}

.text {
    text-align: center;
}

/*BOTÓN WHATSAPP*/

 /* Contenedor flotante */
#whatsapp-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Botón principal */
#whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

#whatsapp-btn:hover {
  transform: scale(1.1);
}

#whatsapp-btn img {
  width: 35px;
  height: 35px;
}

/* Menú emergente */
#whatsapp-menu {
  display: none;
  flex-direction: column;
  margin-bottom: 10px;
}


/* Tooltip personalizado */
#whatsapp-btn::after {
	/*content: "Enviar WhatsApp"; LA TRADUCCION ESTÁ EN EL INDEX Y EN HOME.PHP*/
	position: absolute;
	bottom: 100%; /* Arriba del botón */
	right: 50%;
	transform: translateX(50%);
	background: #333;
	color: #fff;
	padding: 5px 8px;
	border-radius: 4px;
	font-size: 12px;
	opacity: 0;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity 0.3s;
	margin-bottom: 5px;
}

#whatsapp-btn:hover::after {
	opacity: 1;
}



#whatsapp-menu a {
  background-color: white;
  color: #25D366;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 5px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.2s;
}

#whatsapp-menu a:hover {
  background-color: #f0f0f0;
}

/* Modal QR */
#qr-modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#qr-modal img {
  max-width: 90%;
  max-height: 90%;
    padding: 20px; /* espacio adicional */ 
  border-radius: 12px;
}

  /*---------------------------FIN BOTÓN WHATSAPP*/
  


.ir-arriba {
	display: none;
	padding: 15px;
	background: #024959;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 5px;
}

/* Tooltip personalizado */
.ir-arriba::after {
	/*content: "Ir arriba"; LA TRADUCCIÓN ESTÁ EN EL INDEX Y HOME.PHP*/
	position: absolute;
	bottom: 100%; /* Arriba del botón */
	right: 50%;
	transform: translateX(50%);
	background: #333;
	color: #fff;
	padding: 4px 4px;
	border-radius: 4px;
	font-size: 12px;
	opacity: 0;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity 0.3s;
	margin-bottom: 5px;
}

.ir-arriba:hover::after {
	opacity: 1;
}



/* Tooltip personalizado para enlaces de vitolas */
.EnlaceVitola {
  position: relative; /* Necesario para posicionar el ::after */
  text-decoration: none;
}

/* Aquí defines el tooltip */
.EnlaceVitola::after {
  content: attr(data-tooltip); /* El texto vendrá de un atributo personalizado */
  position: absolute;
  bottom: 50%; /* Arriba del enlace */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s;
  margin-bottom: 6px;
  z-index: 10;
}

/* Mostrar tooltip al pasar el mouse */
.EnlaceVitola:hover::after {
  opacity: 1;
}



p {
  font-size: 18px; /* o 1.2em o lo que prefieras */
}

a {
  cursor: pointer;
}



#contact-form input, #contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0 1rem 0;
  border-radius: 6px;
  border: 2px solid #8B0000;
}

#contact-form button {
  background: #FFD700;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  animation: breathing 2.5s ease-in-out infinite;
  border: none;
}

#status {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
#status.show { opacity: 1; transform: translateY(0);}


.footer {
  text-align: center;
  padding: 20px;
}

.footer #contact-btn {
  margin-top: 10px;
}

.suscripcion
{
	background:#c0c0c026;
}

/* Móviles */
.imagen img {
  width: 100%;
}

.gallery-images img {
  width: 100%;
  border-radius: 8px;
  max-width: 100%;
}


.imagen { text-align: center; background: #00002E; } 
.imagen img { display: inline-block; background:#00002E; width:50%; }


/* Pantallas medianas (tablets) */
@media (min-width: 768px) {
  .imagen img {
    width: 70%;
  }
  
  .gallery-images img {
  width: 80%;
  border-radius: 8px;
  max-width: 100%;
}

}

/* Pantallas grandes (laptops y escritorio) */
@media (min-width: 1024px) {
  .imagen img {
    width: 50%;
  }
  
  .gallery-images img {
  width: 80%;
  border-radius: 8px;
  max-width: 100%;
}


}




.responsive-img {
  max-width: 100%; /* Nunca se sale del contenedor */
  height: auto;    /* Mantiene proporciones */
  display: block;
  margin: 0 auto;  /* Centrada */
}

/* Pantallas grandes (desktop) */
@media (min-width: 1024px) {
  .responsive-img {
    width: 70% !important;  /* Que no ocupe todo el ancho en escritorio */
  }
}

/* Pantallas medianas (tablets) */
@media (min-width: 768px) and (max-width: 1023px) {
  .responsive-img {
    width: 90% !important;
  }
}

/* Pantallas pequeñas (celulares) */
@media (max-width: 767px) {
  .responsive-img {
    width: 100% !important;
  }
}








/* Contenedor para centrar el botón */
.boton-centro {
  text-align: center;
  margin: 2rem 0; /* espacio arriba y abajo */
}

/* BOTÓN ELEGANTE CENTRADO */
.btn-elegante {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;

  /* Gradiente elegante */
  background: linear-gradient(135deg, #8B0000, #8f00ff);
  color: #fff !important; /* siempre blanco */
  
  /* Sombras y efectos */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}

/* Hover con brillo */
.btn-elegante:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(143, 0, 255, 0.5);
  background: linear-gradient(135deg, #8f00ff, #8B0000);
  color: #fff !important; /* forzado a blanco en hover */
}

/* Responsive */
@media (max-width: 768px) {
  .btn-elegante {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    width: 80%; 
  }
}

@media (max-width: 480px) {
  .btn-elegante {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    width: 90%;
  }
}
