/* ═══════════════════════════════════════════════════
   2Colombia Custom CSS
   ═══════════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --colombia-orange: #FF6B35;
  --colombia-orange-light: #FF8F66;
  --colombia-orange-dark: #E55A2B;
  --colombia-navy: #1A365D;
  --colombia-navy-light: #2D4A7C;
  --colombia-green: #22C55E;
  --colombia-purple: #8B5CF6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Custom scrollbar for lists */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 53, 0.3);
  border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 53, 0.5);
}

/* ── Keyframe Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.6); }
}

@keyframes gradient-x {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* ── Animation Utility Classes ── */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 3s ease infinite;
}

/* ── Gradient Backgrounds ── */
.bg-orange-gradient {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8F66 100%);
}

.bg-colombia-gradient {
  background: linear-gradient(135deg, #FFD400 0%, #FFD400 33.33%, #1A365D 33.33%, #1A365D 66.66%, #CE1126 66.66%, #CE1126 100%);
}

.bg-navy-gradient {
  background: linear-gradient(135deg, #1A365D 0%, #2D4A7C 100%);
}

/* ── Text Gradients ── */
.text-orange-gradient {
  background: linear-gradient(135deg, #FF6B35, #FF8F66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-navy-gradient {
  background: linear-gradient(135deg, #1A365D, #2D4A7C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero Overlay ── */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(26, 54, 93, 0.7) 0%,
    rgba(26, 54, 93, 0.5) 50%,
    rgba(26, 54, 93, 0.8) 100%
  );
}

/* ── Card Overlay ── */
.card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* ── Particles Canvas ── */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Hero Slider Backgrounds ── */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

/* ── Slide Dots ── */
.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}
.slide-dot.active {
  background: #FF6B35;
  width: 32px;
}
.slide-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.slide-dot.active:hover {
  background: #FF6B35;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* ── Language Toggle ── */
.lang-es [data-lang="en"] {
  display: none !important;
}
.lang-en [data-lang="es"] {
  display: none !important;
}

/* ── Nav scrolled state ── */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* ── Destinos Dropdown ── */
.destinos-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}
.destinos-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Mobile Menu ── */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* ── Fade-in Elements (IntersectionObserver) ── */
.fade-in-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-element.animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Card Hover Effects ── */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ── Star Rating ── */
.star-filled {
  color: #FACC15;
  fill: #FACC15;
}

/* ── Responsive Adjustments ── */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}
