/* ===========================
   VISTA ARENAL COMPONENTS
   Phase 2: Enhanced Visual Design System
   Organic Shapes & Natural Textures
   Costa Rica Adventure Tourism
   =========================== */

/* ===========================
   ORGANIC DESIGN ELEMENTS
   Natural Costa Rica Aesthetics
   =========================== */

/* Organic shape generators */
.organic-shape {
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  transition: border-radius var(--transition-slow);
}

.organic-shape:hover {
  border-radius: 46% 54% 37% 63% / 48% 52% 45% 55%;
}

.organic-shape-2 {
  border-radius: 42% 58% 70% 30% / 45% 55% 35% 65%;
}

.organic-shape-3 {
  border-radius: 75% 25% 43% 57% / 68% 32% 76% 24%;
}

/* Natural texture overlays */
.texture-overlay {
  position: relative;
  overflow: hidden;
}

.texture-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 168, 89, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 75% 75%, rgba(124, 179, 66, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 50% 0%, rgba(2, 119, 189, 0.02) 0%, transparent 50%); */
  background-size: 80px 80px, 120px 120px, 60px 60px;
  background-position: 0 0, 40px 40px, 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Leaf pattern decorations */
.leaf-pattern {
  position: relative;
}

.leaf-pattern::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--secondary-green) 0%, var(--primary-green) 100%);
  border-radius: 0 100% 0 100%;
  opacity: 0.6;
  transform: rotate(15deg);
  z-index: 1;
}

/* Wildlife silhouette decorations */
.wildlife-accent {
  position: relative;
}

.wildlife-accent::before {
  content: '🦋';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  opacity: 0.4;
  z-index: 2;
  animation: flutter 4s ease-in-out infinite;
}

@keyframes flutter {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(3px) rotate(2deg); }
  50% { transform: translateX(-2px) rotate(-1deg); }
  75% { transform: translateX(1px) rotate(1deg); }
}

/* Natural flow elements */
.natural-flow {
  background: linear-gradient(
    135deg,
    var(--cloud-white) 0%,
    var(--warm-sand) 25%,
    var(--cloud-white) 50%,
    var(--warm-sand) 75%,
    var(--cloud-white) 100%
  );
  background-size: 400% 400%;
  animation: naturalFlow 15s ease-in-out infinite;
}

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

/* Pura Vida energy elements */
.pura-vida-glow {
  position: relative;
  overflow: hidden;
}

.pura-vida-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(0, 168, 89, 0.1),
    transparent,
    rgba(124, 179, 66, 0.1),
    transparent
  );
  animation: puraVidaRotate 20s linear infinite;
  pointer-events: none;
}

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

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.navbar {
  padding: var(--space-sm) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-brand img {
  height: 50px;
  width: auto;
  transition: height var(--transition-fast);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-modal);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--earth-brown);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--cloud-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  z-index: var(--z-fixed);
}

.nav-menu.active {
  transform: translateX(0);
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-list li {
  margin: var(--space-lg) 0;
}

.nav-list a {
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--earth-brown);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.nav-list a:hover::after,
.nav-list a:focus::after,
.nav-list a[aria-current="page"]::after {
  width: 100%;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  color: var(--primary-green);
  text-decoration: none;
}

.nav-cta {
  margin-top: var(--space-xl);
}

/* Header scroll behavior */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.site-header.scrolled .nav-brand img {
  height: 40px;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cloud-white);
  /* Parallax preparation */
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extended for parallax effect */
  z-index: -2;
  will-change: transform;
  transition: transform var(--transition-slow);
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 168, 89, 0.1) 0%,
    rgba(93, 64, 55, 0.08) 30%,
    rgba(2, 119, 189, 0.06) 60%,
    rgba(255, 111, 0, 0.05) 100%
  );
  z-index: 1;
  /* Add natural texture overlay */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(245, 230, 211, 0.02) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(124, 179, 66, 0.02) 0%, transparent 40%),
    linear-gradient(45deg, transparent 40%, rgba(0, 168, 89, 0.01) 50%, transparent 60%);
  background-size: 200px 200px, 150px 150px, 100px 100px;
  background-position: 0 0, 50px 50px, 25px 25px;
  animation: heroTextureMove 30s ease-in-out infinite;
}

@keyframes heroTextureMove {
  0%, 100% { 
    background-position: 0 0, 50px 50px, 25px 25px; 
  }
  50% { 
    background-position: 100px 100px, 150px 150px, 75px 75px; 
  }
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl) var(--space-md);
  margin-top: 60px; /* Account for fixed header */
  /* Parallax layer */
  transform: translateZ(50px) scale(0.95);
  will-change: transform, opacity;
  /* Add subtle glow effect */
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: var(--radius-xl);
  backdrop-filter: blur(1.5px);
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  display: block;
  font-family: var(--accent-font);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 400;
  color: var(--warm-sand);
  margin-bottom: var(--space-sm);
}

.hero-main-title {
  display: block;
  font-size: var(--h1-mobile);
  font-weight: 800;
  color: var(--cloud-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: var(--warm-sand);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 80px;
}

.stat-number {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--sunset-orange);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  /* color: var(--warm-sand); */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-xs);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--warm-sand);
  animation: bounce 2s infinite;
}

.scroll-text {
  display: block;
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--warm-sand);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===========================
   SECTION STYLES
   =========================== */

.adventures-section,
.about-section,
.gallery-section,
.testimonials-section,
.contact-section {
  padding: var(--space-4xl) 0;
}

.adventures-section {
  background-color: var(--warm-sand);
}

.about-section {
  background-color: var(--cloud-white);
}

.gallery-section {
  background-color: var(--warm-sand);
}

.testimonials-section {
  background-color: var(--cloud-white);
}

.contact-section {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--cloud-white);
}

.contact-section .section-title,
.contact-section .section-subtitle {
  color: var(--cloud-white);
}

/* ===========================
   ADVENTURE CARDS
   =========================== */

.adventures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.activity-card {
  background-color: var(--cloud-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  /* Apply organic shape and natural texture */
  border-radius: 20px 20px 60px 20px;
  padding-bottom: 20px;
}

.activity-card.organic-shape {
  border-radius: 42% 58% 70% 30% / 45% 55% 35% 65%;
}

.activity-card.organic-shape:hover {
  border-radius: 58% 42% 30% 70% / 55% 45% 65% 35%;
}

.activity-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: 
    var(--shadow-xl),
    0 20px 40px rgba(0, 168, 89, 0.15);
  /* Add natural glow */
  background: linear-gradient(
    145deg,
    var(--cloud-white) 0%,
    rgba(245, 230, 211, 0.3) 100%
  );
}

.activity-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.activity-content {
  padding: var(--space-lg);
}

.activity-content h3 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: var(--space-sm);
  color: var(--earth-brown);
}

.activity-content p {
  color: var(--volcano-gray);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  color: var(--volcano-gray);
}

.activity-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.activity-cta {
  width: 100%;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--sunset-orange);
  color: var(--cloud-white);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
  margin-top: 20px;
}

.activity-cta:hover {
  background-color: #e65100;
  color: var(--cloud-white);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-description {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  line-height: 1.7;
  color: var(--volcano-gray);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===========================
   GALLERY SECTION
   =========================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item {
  padding: var(--space-xl);
}

.testimonial-text {
  font-family: var(--accent-font);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  color: var(--volcano-gray);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--earth-brown);
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--volcano-gray);
  margin-top: var(--space-xs);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-item h3 {
  color: var(--cloud-white);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.125rem, 3vw, 1.25rem);
}

.contact-item a {
  color: var(--warm-sand);
  font-size: clamp(1rem, 3vw, 1.125rem);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--cloud-white);
  text-decoration: underline;
}

.contact-item address {
  color: var(--warm-sand);
  font-style: normal;
  line-height: 1.6;
}

.contact-item time {
  color: var(--warm-sand);
  font-size: clamp(1rem, 3vw, 1.125rem);
}

.contact-cta {
  margin-top: var(--space-lg);
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background-color: var(--earth-brown);
  color: var(--warm-sand);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand img {
  height: 45px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: var(--warm-sand);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.footer-column h3 {
  color: var(--cloud-white);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: var(--warm-sand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--cloud-white);
}

.footer-social h3 {
  color: var(--cloud-white);
  margin-bottom: var(--space-md);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--primary-green);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-green);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(245, 230, 211, 0.2);
  text-align: center;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: var(--warm-sand);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--cloud-white);
  text-decoration: underline;
}

/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-md);
  z-index: var(--z-tooltip);
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: all var(--transition-fast);
  animation: pulse 2s infinite;
  overflow: hidden;
}

.whatsapp-float-btn:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-icon-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--cloud-white);
  line-height: 1;
}

.whatsapp-icon-float svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  max-height: 32px;
  display: block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===========================
   ENHANCED SECTION STYLING
   Costa Rica Adventure Aesthetics
   =========================== */

/* Adventure sections with natural flow */
.adventures-section {
  background: linear-gradient(
    135deg,
    var(--warm-sand) 0%,
    rgba(245, 230, 211, 0.8) 25%,
    var(--warm-sand) 50%,
    rgba(245, 230, 211, 0.9) 75%,
    var(--warm-sand) 100%
  );
  background-size: 400% 400%;
  animation: sandFlow 20s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.adventures-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q30,10 40,20 T60,20 T80,20" fill="none" stroke="rgba(0,168,89,0.1)" stroke-width="2"/><path d="M10,50 Q20,40 30,50 T50,50 T70,50 T90,50" fill="none" stroke="rgba(124,179,66,0.1)" stroke-width="1.5"/></svg>');
  background-size: 200px 100px;
  background-repeat: repeat;
  animation: leafPattern 15s linear infinite;
  pointer-events: none;
}

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

@keyframes leafPattern {
  0% { background-position-x: 0; }
  100% { background-position-x: 200px; }
}

/* Gallery section with natural texture */
.gallery-section {
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 168, 89, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 179, 66, 0.03) 0%, transparent 50%),
    var(--warm-sand);
  position: relative;
}

.gallery-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="rgba(2,119,189,0.1)"/><circle cx="15" cy="15" r="1.5" fill="rgba(0,168,89,0.08)"/><circle cx="45" cy="45" r="1" fill="rgba(124,179,66,0.06)"/></svg>');
  background-size: 60px 60px;
  animation: floatingElements 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatingElements {
  0%, 100% { 
    background-position: 0 0; 
    opacity: 0.3;
  }
  50% { 
    background-position: 30px 30px; 
    opacity: 0.6;
  }
}

/* Enhanced gallery items */
.gallery-item {
  border-radius: 15px 50px 15px 15px;
  transition: all var(--transition-base);
  overflow: hidden;
}

.gallery-item:nth-child(even) {
  border-radius: 50px 15px 15px 15px;
}

.gallery-item:nth-child(3n) {
  border-radius: 15px 15px 50px 15px;
}

.gallery-item:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 
    var(--shadow-xl),
    0 15px 30px rgba(0, 168, 89, 0.2);
  border-radius: 25px;
}

/* Enhanced footer with natural elements */
.site-footer {
  background: linear-gradient(
    135deg,
    var(--earth-brown) 0%,
    #5d4037 25%,
    #4e342e 50%,
    var(--earth-brown) 100%
  );
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M5,35 Q10,30 15,35 T25,35 T35,35" fill="none" stroke="rgba(245,230,211,0.1)" stroke-width="1"/><circle cx="20" cy="15" r="1" fill="rgba(245,230,211,0.08)"/></svg>');
  background-size: 40px 40px;
  animation: footerPattern 30s linear infinite;
  pointer-events: none;
}

@keyframes footerPattern {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* Enhanced social links with organic shapes */
.social-links a {
  border-radius: 50%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  transition: all var(--transition-base);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.social-links a:hover::before {
  width: 100px;
  height: 100px;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  border-radius: 30% 70% 70% 30%;
  box-shadow: 
    0 10px 20px rgba(0, 168, 89, 0.3),
    0 0 20px rgba(124, 179, 66, 0.2);
}

/* Contact section enhancements */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    rgba(0, 168, 89, 0.9) 25%,
    var(--secondary-green) 50%,
    rgba(124, 179, 66, 0.9) 75%,
    var(--primary-green) 100%
  );
  background-size: 400% 400%;
  animation: contactFlow 25s ease-in-out infinite;
  position: relative;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M10,40 Q20,30 30,40 T50,40 T70,40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="40" cy="20" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="60" r="2" fill="rgba(245,230,211,0.08)"/></svg>');
  background-size: 80px 80px;
  animation: contactPattern 20s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes contactPattern {
  0%, 100% { 
    background-position: 0 0; 
    opacity: 0.4;
  }
  50% { 
    background-position: 40px 40px; 
    opacity: 0.8;
  }
}

/* ===========================
   PARALLAX & SCROLL ANIMATIONS
   Smooth Visual Storytelling
   =========================== */

/* Parallax-enabled elements */
.parallax-element {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Section visibility animations */
.section-visible {
  animation: sectionFadeIn 0.8s ease-out forwards;
}

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

/* Enhanced hero parallax support */
.hero-background {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.hero-content {
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.hero-stats {
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

/* Smooth card animations */
.activity-card,
.gallery-item {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  will-change: transform;
}

.section-header {
  transition: transform var(--transition-base);
  will-change: transform;
}

/* Adventure storytelling animations */
.adventure-story {
  position: relative;
  overflow: hidden;
}

.adventure-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 168, 89, 0.1),
    transparent
  );
  transition: left var(--transition-slow);
}

.adventure-story:hover::before {
  left: 100%;
}

/* Pura Vida floating elements */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(odd) {
  animation-delay: -2s;
}

.floating-element:nth-child(even) {
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .parallax-element,
  .hero-background,
  .hero-content,
  .hero-stats,
  .activity-card,
  .gallery-item,
  .section-header {
    will-change: auto;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  .section-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}