@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Variables globales de estilo */
:root {
  --color-primary: #14367B;
  --color-primary-hover: #0f2a61;
  --color-accent: #32A84F;
  --color-accent-hover: #278c3f;
  --color-gold: #F2C522;
  --color-gold-hover: #dcb118;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Configuraciones base */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

/* Tipografías personalizadas */
.font-serif-travel {
  font-family: var(--font-serif);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Clases de Utilidad de Colores */
.bg-primary-custom { background-color: var(--color-primary); }
.text-primary-custom { color: var(--color-primary); }
.border-primary-custom { border-color: var(--color-primary); }

.bg-accent-custom { background-color: var(--color-accent); }
.text-accent-custom { color: var(--color-accent); }

.bg-gold-custom { background-color: var(--color-gold); }
.text-gold-custom { color: var(--color-gold); }

/* Animaciones y Transiciones */
.transition-custom {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(50, 168, 79, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(50, 168, 79, 0.2);
  }
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

/* Clases de animación */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-float-delayed {
  animation: float 8s ease-in-out infinite;
  animation-delay: 2s;
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite;
}

/* Retrasos de animación */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Efecto hover premium para tarjetas */
.premium-card {
  background: var(--color-bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(20, 54, 123, 0.08), 0 10px 10px -5px rgba(20, 54, 123, 0.04);
  border-color: rgba(20, 54, 123, 0.15);
}

/* Efecto zoom para imágenes de tarjetas */
.zoom-container {
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}

.zoom-image {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .zoom-image {
  transform: scale(1.06);
}

/* Estilo para los inputs del formulario */
.form-input-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg-light);
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 0.75rem;
  color: var(--color-text-dark);
  transition: all 0.3s ease;
}

.form-input-custom:focus {
  outline: none;
  background-color: var(--color-bg-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 54, 123, 0.15);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: white;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  background-color: #20ba56;
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.8);
}

/* Línea de ruta decorativa */
.route-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawRoute 3s ease-out forwards;
}

/* Glassmorphism Navbar */
.nav-glass {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
