/* Estilos para formulario */
.form-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* styles.css - VERSIÓN CORREGIDA */
:root {
  --ink: #0b1220;
  --slate: #0f172a;
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --water: #a3d5ff;
  --water-dark: #2c5282;
  --header-gray: #1a202c;
  --glass: rgba(255, 255, 255, 0.7);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  padding-top: 70px;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

.font-sans {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

.luxury-gradient {
  background: linear-gradient(135deg, #0b1220 0%, #1e3a8a 50%, #0b1220 100%);
}

.water-gradient {
  background: linear-gradient(120deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%);
}

.gold-gradient {
  background: linear-gradient(120deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
}

.glass {
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.ring-gold {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Efecto de partículas acuáticas */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  background: rgba(163, 213, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Lightbox mejorado */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

/* Efecto de ondulación acuática */
.water-ripple {
  position: relative;
  overflow: hidden;
}

.water-ripple::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(163, 213, 255, 0.1) 30%, transparent 40%);
  opacity: 0;
  transform: scale(0);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.water-ripple:hover::after {
  opacity: 1;
  transform: scale(2);
}

/* Mejora de tarjetas */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Efecto de texto con degradado */
.text-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Borde decorativo */
.decorative-border {
  position: relative;
}

.decorative-border::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f4e4a6);
}

/* Mejora del menú de navegación */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f4e4a6);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Estilos forzados para las tarjetas de eventos */
.evento-titulo {
  color: #0f172a !important;
  font-weight: bold;
}

.evento-subtitulo {
  color: #000000 !important;
  font-style: italic;
  font-weight: 500;
}

/* Mejoras responsivas */
/* Corregir margen en móvil horizontal */
@media (max-width: 768px) {
  .mobile-menu {
    width: 80% !important;
    right: 0 !important;
    left: auto !important;
  }
  
  
  body {
    overflow-x: hidden !important;
  }
}

/* Animaciones personalizadas */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* ========== ESTILOS PARA VIDEOS ========== */
.video-container {
  position: relative;
  width: 75%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Efecto de borde con degradado */
.video-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--gold), var(--water), var(--gold));
  border-radius: 1.1rem;
  z-index: -1;
  animation: borderAnimation 3s ease infinite;
}

@keyframes borderAnimation {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.3; }
}

/* Overlay elegante */
.video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(163, 213, 255, 0.1) 100%);
  pointer-events: none;
  border-radius: 1rem;
}

/* Diferentes estilos de video */
.video-style-1 {
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.video-style-2 {
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.video-style-3 {
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(163, 213, 255, 0.2);
}

/* Efecto de zoom suave al hacer hover */
.video-zoom:hover iframe {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Marco decorativo para videos */
.video-frame {
  padding: 8px;
  background: linear-gradient(45deg, var(--gold), var(--water));
  border-radius: 1.2rem;
}

/* Modo oscuro para videos */
.video-dark {
  filter: brightness(0.9) contrast(1.1);
}

/* Responsividad para videos */
@media (max-width: 768px) {
  .video-container {
    border-radius: 0.8rem;
    margin: 0.5rem 0;
  }
  
  .video-container::before {
    border-radius: 0.9rem;
  }
  
  .video-container::after {
    border-radius: 0.8rem;
  }
}

@media (max-width: 480px) {
  .video-container {
    border-radius: 0.5rem;
  }
  
  .video-container::before {
    border-radius: 0.6rem;
  }
  
  .video-container::after {
    border-radius: 0.5rem;
  }
}

/* Reducir espaciado de secciones py-28 */
.py-28 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Opcional: reducir también py-24 si existe */
.py-24 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Ajustar el hero si también usa py-28 */
.hero-section .py-28 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Preview estático hasta hacer hover */
.video-container {
  position: relative;
  cursor: pointer;
}

.video-container iframe {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-container:hover iframe {
  opacity: 1;
}

/* Overlay de play button */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.video-overlay:hover .play-button {
  transform: scale(1.1);
}

/* ========== LOGO CUADRADO ========== */
.logo-square {
  border-radius: 0px !important;
  overflow: hidden;
}

.logo-square-full {
  border-radius: 0 !important;
  overflow: hidden;
}

/* Opcional: efecto hover para el logo */
.logo-square:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Quitar el círculo del logo existente */
.rounded-full {
  border-radius: 0px !important;
}

/* ========== FOOTER MÁS LEGIBLE ========== */
footer {
  color: #e2e8f0 !important;
}

footer .text-gray-400 {
  color: #cbd5e1 !important;
}

footer .text-gray-300 {
  color: #e2e8f0 !important;
}

footer a {
  color: #e2e8f0 !important;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Títulos más destacados */
footer .font-semibold {
  color: #ffffff !important;
  font-weight: 600;
}

/* Mejorar contraste de iconos */
footer .bg-gray-800 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

footer .bg-gray-800:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ========== ESTILOS PARA FORMULARIO ========== */
/* Estilos para mensajes de formulario (SIN DUPLICADOS) */
.form-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Estilos para validación de campos */
.border-red-500 {
  border-color: #ef4444 !important;
}

/* Mejoras responsivas para selector de idioma móvil */
@media (max-width: 768px) {
  .mobile-language-options {
    flex-wrap: wrap;
  }
  
  .mobile-language-option {
    flex: 1;
    text-align: center;
    min-width: 60px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Mensajes del formulario */
.form-message {
  display: none;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Mejoras para el selector de idioma móvil */
@media (max-width: 768px) {
  .mobile-language-options {
    flex-wrap: wrap;
  }
  
  .mobile-language-option {
    flex: 1;
    text-align: center;
    min-width: 60px;
  }
}

/* Mejorar visibilidad de mensajes de formulario */
.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Estilos para garantizar la visibilidad en móviles */
@media (max-width: 768px) {
  .mobile-image-selector {
    display: block !important;
    position: relative;
    z-index: 40;
  }
  
  /* Asegurar que ningún elemento oculte las imágenes */
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Corregir posibles problemas de superposición */
  .relative, .absolute {
    overflow: visible;
  }
}

/* Mejoras para el formulario de contacto */
#contactForm input,
#contactForm textarea {
  transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.2);
}

/* Mensajes de formulario */
.form-message.loading {
  display: block;
  background-color: #e5e7eb;
  color: #374151;
  border: 1px solid #d1d5db;
}

/* Mejoras para móviles */
@media (max-width: 768px) {
  #contactForm {
    padding: 1.5rem;
  }
  
  #contactForm input,
  #contactForm textarea {
    font-size: 16px;
  }
}

/* Mejoras para el menú móvil */
.mobile-menu {
  transition: all 0.3s ease-in-out;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
}

.mobile-menu:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Selector de idioma móvil */
.mobile-language-options {
  display: flex;
  gap: 0.5rem;
}

.mobile-language-option {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.mobile-language-option.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.mobile-language-option:hover {
  background-color: #f3f4f6;
}

.mobile-language-option.active:hover {
  background-color: #2563eb;
}

/* Mejoras para el botón de menú móvil */
#mobile-menu-button {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  #mobile-menu-button {
    display: block;
  }
}

/* Asegurar que el menú móvil tenga un z-index alto */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 80px 20px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu:not(.hidden) {
  transform: translateX(0);
}

.mobile-menu a {
  color: white;
  font-size: 1.2rem;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

/* Estilos para el selector de idioma desktop */
.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 140px;
  display: none;
  z-index: 1000;
}

.language-dropdown.show {
  display: block;
}

.language-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
}

.language-option:hover {
  background-color: #f3f4f6;
}

.language-option.active {
  background-color: #e5e7eb;
  font-weight: 500;
}

/* Estilos para el selector de idioma móvil */
.mobile-language-selector {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-language-options {
  display: flex;
  gap: 0.5rem;
}

.mobile-language-option {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.mobile-language-option.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.mobile-language-option:hover {
  background-color: #f3f4f6;
}

.mobile-language-option.active:hover {
  background-color: #2563eb;
}

/* Para el menú móvil */
.mobile-language-selector {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-language-options {
  display: flex;
  gap: 0.5rem;
}

.mobile-language-option {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.mobile-language-option.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.mobile-language-option:hover {
  background-color: #f3f4f6;
}

.mobile-language-option.active:hover {
  background-color: #2563eb;
}

/* Mejora visual para el texto del selector */
.mobile-language-selector p {
  color: #374151;
  margin-bottom: 0.5rem;
}

/* ===== ESTILOS PARA MENÚ MÓVIL ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 40;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .mobile-menu:not(.hidden) {
    width: 75% !important;
    max-width: 300px !important;
    right: 0 !important;
    left: auto !important;
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
  }
}

.mobile-language-selector {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-language-options {
  display: flex;
  gap: 0.5rem;
}

.mobile-language-option {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-language-option.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.mobile-language-option:hover {
  background-color: #f3f4f6;
}

.mobile-language-option.active:hover {
  background-color: #2563eb;
}

/* Mejora visual para el texto del selector */
.mobile-language-selector p {
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Asegurar que el botón de menú móvil se vea en móviles */
#mobile-menu-button {
  display: none;
}

@media (max-width: 768px) {
  #mobile-menu-button {
    display: block;
  }
}
/* Corrección para los botones de compra - color azul */
.bg-gradient-to-br.from-water-dark.to-water {
  background-image: linear-gradient(to bottom right, #2c5282, #a3d5ff);
}

/* ===== MEJORAS ESPECÍFICAS PARA MÓVIL ===== */
@media (max-width: 768px) {
  /* Botones de idioma móviles - Azul con seleccionado dorado */
  .mobile-language-option {
    background-color: #2c5282 !important;
    color: white !important;
    border: none !important;
    margin: 5px !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
  }

  .mobile-language-option.active {
    background-color: #d4af37 !important;
    color: #0f172a !important;
    font-weight: bold !important;
  }

  /* Texto "Seleccionar idioma" en blanco */
  .mobile-language-selector p {
    color: white !important;
    text-align: center !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }

  /* Centrar texto en botones del menú móvil */
  #mobile-menu a {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    padding: 15px 10px !important;
  }

  /* Menú móvil más estrecho */
  .mobile-menu {
    width: 75% !important;
    max-width: 300px !important;
    right: 0 !important;
    left: auto !important;
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
  }

  /* Botón de menú siempre visible */
  #mobile-menu-button {
    display: block !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 101 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  }
}

/* ESTILO PARA EL RECUADRO DORADO RESTAURADO */
.bg-gold-light {
    background-color: #f4e4a6 !important;
    background: linear-gradient(135deg, #f4e4a6 0%, #d4af37 100%) !important;
}

.border-gold\/30 {
    border-color: rgba(212, 175, 55, 0.3) !important;
    border-width: 2px !important;
}

/* Mejorar la apariencia del texto */
.text-ink {
    color: #0b1220 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Estilos para el menú corregido */
.w-full {
    width: 100% !important;
}

.language-selector {
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 140px;
    display: none;
    z-index: 1000;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.language-option:hover {
    background-color: #f3f4f6;
}

.language-option.active {
    background-color: #e5e7eb;
    font-weight: 500;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Ajustes responsivos */
@media (max-width: 1280px) {
    .hidden.md\\:flex.items-center.gap-4 {
        gap: 2px !important;
    }
    
    .hidden.md\\:flex.items-center.gap-4 a {
        padding: 6px 8px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .hidden.md\\:flex.items-center.gap-4 {
        display: none !important;
    }
}