/* Estilos personalizados para Rutas del Mundo - Agencia de Viajes (Lima, Perú) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Caveat:wght@600;700&display=swap');

:root {
  /* Paleta Corporativa extraída del Logo Oficial */
  --brand-green: #74be2e;
  --brand-green-hover: #62a624;
  --brand-green-dark: #4b801a;
  --brand-green-light: #f4fbe8;

  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-blue-dark: #075985;
  --brand-blue-light: #f0f9ff;

  --brand-charcoal: #334155;
  --brand-dark: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Tipografía manuscrita para el slogan "Vive, viaja y disfruta!!" */
.font-slogan {
  font-family: 'Caveat', cursive;
}

/* Glassmorphism effects */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

::-webkit-scrollbar-track {
  background: #f8fafc;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #62a624;
}

/* Animaciones */
@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

@keyframes pulseWhatsApp {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.animate-whatsapp-pulse {
  animation: pulseWhatsApp 2.2s infinite;
}

/* Hero gradient con matiz azul océano y carbón */
.hero-gradient {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(2, 44, 80, 0.85) 60%, rgba(15, 23, 42, 0.94) 100%);
}

/* Tarjetas de Destinos */
.destination-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(116, 190, 46, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.destination-card:hover .dest-img {
  transform: scale(1.08);
}

.dest-img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pestañas activas con el verde corporativo */
.tab-btn.active {
  background-color: #74be2e;
  color: #ffffff;
  border-color: #74be2e;
  box-shadow: 0 4px 14px rgba(116, 190, 46, 0.35);
}

/* Inputs con foco en verde y azul del logo */
.form-input-focus:focus {
  border-color: #74be2e;
  box-shadow: 0 0 0 3px rgba(116, 190, 46, 0.25);
}

/* Acordeón FAQ */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-content.open {
  max-height: 350px;
  opacity: 1;
}

/* WhatsApp popup preview */
.wa-chat-box {
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-chat-box.hidden-wa {
  transform: scale(0.85);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Toast notification */
#toast-notification {
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.show-toast {
  transform: translateY(0);
}
