/* ===================================
   La Fortuna Fly Fishing - Styles
   Mobile-First Design with Modern Animations
   =================================== */

:root {
  /* Natural Balanced Palette - Río Peñas Blancas & Río Chiquito Fly Fishing */
  --primary-color: #2C5F4E;        /* Forest green - natural and earthy */
  --primary-dark: #1E4335;         /* Deep forest */
  --primary-light: #3D7A66;        /* Fresh green */
  --secondary-color: #4A7C59;      /* Sage green */
  --accent-color: #C9A871;         /* Warm golden */
  --accent-dark: #A6895A;          /* Muted gold */
  --accent-light: #E4C896;         /* Soft gold */
  --text-dark: #2C2C2C;
  --text-gray: #5A5A5A;
  --text-light: #FAFAFA;
  --bg-light: #F5F7F6;
  --bg-white: #FFFFFF;
  --whatsapp: #25D366;
  
  /* Shadows & Effects */
  --shadow: 0 2px 8px rgba(44, 95, 78, 0.1);
  --shadow-md: 0 4px 12px rgba(44, 95, 78, 0.15);
  --shadow-lg: 0 8px 24px rgba(44, 95, 78, 0.2);
  --shadow-hover: 0 12px 32px rgba(44, 95, 78, 0.25);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================
   Smooth Scroll
   =================================== */
html {
  scroll-behavior: smooth;
}

/* ===================================
   Modern Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes navItemFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

/* ===================================
   Layout
   =================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 20;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  min-height: 200px;
}

.section-lg {
  padding: 4rem 0;
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  min-height: 300px;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .section { padding: 4rem 0; }
  .section-lg { padding: 6rem 0; }
}

/* ===================================
   Header & Navigation
   =================================== */

/* ===================================
   Navbar - Minimalist Design with Glassmorphism
   =================================== */

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 95, 78, 0.1);
  box-shadow: 0 2px 20px rgba(44, 95, 78, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
  animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(44, 95, 78, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 77, 92, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  padding: 4px;
  cursor: pointer;
}

.logo-image {
  width: 120%;
  height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition-smooth);
  background: transparent;
}

/* Remove white background from logo using blend mode */
@supports (mix-blend-mode: multiply) {
  .logo-image {
    mix-blend-mode: multiply;
  }
}

/* Fallback for browsers that don't support mix-blend-mode */
@supports not (mix-blend-mode: multiply) {
  .logo-container {
    background: white;
    border-radius: 50%;
  }
}

.logo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  border-radius: 50%;
}

.logo-container:hover::before {
  left: 100%;
}

.logo-container:hover {
  transform: rotate(15deg) scale(1.08);
  box-shadow: 0 6px 24px rgba(27, 77, 92, 0.3);
}

.logo-container:hover .logo-image {
  transform: scale(1.1);
}

.logo a {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo a:hover {
  color: var(--primary-light);
}

.logo-accent {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Logo Modal */
.logo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.logo-modal.active {
  display: flex;
}

.logo-modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.logo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-gray);
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.logo-modal-close:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.logo-modal-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  animation: pulse 2s infinite;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 0.5rem;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(27, 77, 92, 0.12);
  padding: 1.5rem;
  gap: 0;
  border-bottom: 1px solid rgba(27, 77, 92, 0.08);
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active .nav-item {
  animation: navItemFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.05s; }
.nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.1s; }
.nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.15s; }
.nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.2s; }
.nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.25s; }
.nav-menu.active .nav-item:nth-child(6) { animation-delay: 0.3s; }
.nav-menu.active .nav-item:nth-child(7) { animation-delay: 0.35s; }

.nav-item {
  position: relative;
}

.nav-item a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  position: relative;
}

.nav-item a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.75rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.nav-item a:hover::before,
.nav-item a.active::before {
  width: 40px;
}

.lang-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(27, 77, 92, 0.1);
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background-color: rgba(27, 77, 92, 0.05);
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Desktop Navigation */
@media (min-width: 1024px) {
  .nav {
    padding: 1.5rem 0;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
  }

  .nav-item a {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
  }

  .nav-item a::before {
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
  }

  .nav-item a:hover {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: rgba(27, 77, 92, 0.04);
  }

  .nav-item a:hover::before {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav-item a.active::before {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-item a.active {
    background-color: rgba(212, 165, 116, 0.1);
    color: var(--primary-dark);
  }

  .lang-toggle {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: 1rem;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(44, 95, 78, 0.9), rgba(30, 67, 53, 0.85));
  color: white;
  box-shadow: 0 4px 15px rgba(44, 95, 78, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(44, 95, 78, 0.5);
  background: linear-gradient(135deg, rgba(44, 95, 78, 1), rgba(30, 67, 53, 0.95));
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  border: 2px solid rgba(44, 95, 78, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(44, 95, 78, 0.2);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(44, 95, 78, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(32, 189, 92, 0.85));
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 1), rgba(32, 189, 92, 0.95));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  animation: pulse 0.6s ease;
}

.btn-accent {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.9), rgba(184, 147, 95, 0.85));
  color: white;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
  background: linear-gradient(135deg, rgba(212, 165, 116, 1), rgba(184, 147, 95, 0.95));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  background: transparent;
  z-index: 5;
}

.hero.fixed-video {
  position: sticky;
  top: 0;
  z-index: 0;
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -100;
  opacity: 1;
  pointer-events: none;
}

/* Ensure video is always visible behind content */
@media (prefers-reduced-motion: no-preference) {
  .hero-video {
    will-change: transform;
  }
}

@media (max-width: 768px) {
  .hero-video {
    width: 100vw;
    height: 100vh;
  }
}

/* Ensure video is behind all content but visible */
body {
  position: relative;
}

body::before {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 6;
}

.hero-container {
  position: relative;
  z-index: 6;
}

.hero-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.hero-content-box {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 500px;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.hero-content-box-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-content-box-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-title,
.hero-subtitle,
.hero-ctas,
.hero-badges {
  position: relative;
  z-index: 9;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  display: block;
  box-shadow: none;
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  display: block;
  margin: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-size: 1.125rem;
  line-height: 1.6;
}


.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.badge-stars {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.badge-text {
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero {
    min-height: 700px;
  }
  
  .hero-content-wrapper {
    gap: 2.5rem;
    padding: 2rem;
  }
  
  .hero-content-box {
    max-width: 480px;
    padding: 1.75rem 2rem;
  }
  
  .hero-content-box-top {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 3rem;
    letter-spacing: -0.03em;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-ctas {
    flex-direction: row;
  }
}

/* ===================================
   Cards
   =================================== */

.card {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  position: relative;
  z-index: 11;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: var(--transition-slow);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px) scale(1.02);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 12;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.card-text {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.card-icon {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.card-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.price-text {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ===================================
   Grid Layouts
   =================================== */

.grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 11;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================
   Section Headers
   =================================== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 11;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 11;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 11;
}

/* ===================================
   Stats / Counter
   =================================== */

.stats {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-gray);
  font-size: 1rem;
}

/* ===================================
   Floating WhatsApp Button
   =================================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--whatsapp), #20BD5C);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: var(--text-dark) !important;
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-icon {
  color: var(--primary-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.bg-light { 
  background-color: rgba(245, 247, 246, 0.88) !important; 
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  position: relative;
  z-index: 20;
}

.bg-white { 
  background-color: rgba(255, 255, 255, 0.92) !important; 
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
  z-index: 20;
}

.bg-primary { 
  background-color: var(--primary-color); 
  color: white;
  position: relative;
  z-index: 20;
}

.text-primary { color: var(--primary-color); }
.text-gray { color: var(--text-gray); }

.hidden { display: none; }

/* ===================================
   Responsive Images
   =================================== */

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: 12px;
}

/* ===================================
   Table Styles
   =================================== */

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-color);
  color: white;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
  background-color: var(--bg-light);
}

/* ===================================
   Form Styles
   =================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===================================
   Badge & Pills
   =================================== */

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: white;
}

.badge-accent {
  background-color: var(--accent-color);
}

/* ===================================
   FAQ Accordion
   =================================== */

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===================================
   Gallery
   =================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.tour-gallery-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tour-gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ===================================
   Loading & Intersection Animations
   =================================== */

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Icon Animations */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-spin:hover {
  animation: spin 0.8s ease;
}

.icon-bounce:hover {
  animation: bounce 0.6s ease;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-5px); }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer Effect */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

