/* ===========================
   VISTA ARENAL FEEDBACK 2 IMPROVEMENTS
   Comprehensive fixes for all identified issues
   =========================== */

/* ===========================
   1. HEADER LOGO IMPROVEMENTS
   Professional logo treatment
   =========================== */

/* Enhanced logo styling for professional appearance */
.nav-brand img,
.footer-brand img {
  /* Remove any white background issues */
  background: transparent !important;
  
  /* Professional logo enhancements */
  filter: 
    drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1))
    contrast(1.1)
    saturate(1.05);
  
  /* Smooth transitions */
  transition: all var(--transition-base);
}

/* Header logo specific improvements */
.nav-brand img {
  /* Professional sizing and spacing */
  height: 55px;
  width: auto;
  max-width: 220px;
  
  /* Remove any padding/background artifacts */
  padding: 0;
  margin: 0;
  
  /* Enhanced contrast for header */
  filter: 
    drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.2))
    contrast(1.15)
    saturate(1.1)
    brightness(1.02);
}

/* Scrolled header logo adjustments */
.site-header.scrolled .nav-brand img {
  height: 45px;
  filter: 
    drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.15))
    contrast(1.2)
    saturate(1.05);
}

/* Logo hover effects for better interactivity */
.nav-brand:hover img {
  transform: scale(1.02);
  filter: 
    drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.15))
    contrast(1.2)
    saturate(1.15)
    brightness(1.05);
}

/* ===========================
   2. "READY FOR YOUR ADVENTURE" SECTION
   Enhanced contrast and readability
   =========================== */

/* Target the contact section with better styling */
.contact-section {
  /* Enhanced background for better contrast */
  background: linear-gradient(
    135deg,
    rgba(245, 230, 211, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 30%,
    rgba(245, 230, 211, 0.95) 70%,
    rgba(240, 225, 205, 0.95) 100%
  );
  
  /* Add subtle texture overlay */
  position: relative;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 168, 89, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(93, 64, 55, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* Enhanced section title contrast */
.contact-section .section-title {
  color: #2A1A13 !important;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.contact-section .section-subtitle {
  color: #1A0F0A !important;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
}

/* Enhanced contact info readability */
.contact-info {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 4px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
  color: #2A1A13 !important;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-sm);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.contact-item a,
.contact-item address,
.contact-item time,
.contact-item span {
  color: #1A0F0A !important;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-green) !important;
  text-decoration: underline;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* ===========================
   3. TESTIMONIALS SECTION - "WHAT OUR GUESTS SAY"
   Enhanced with multimedia content
   =========================== */

/* Enhanced testimonials section */
.testimonials-section {
  background: linear-gradient(
    135deg,
    #f8f6f0 0%,
    #ffffff 25%,
    #f5f3ed 50%,
    #ffffff 75%,
    #f8f6f0 100%
  );
  position: relative;
  padding: var(--space-5xl) 0;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 168, 89, 0.02) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(124, 179, 66, 0.015) 0%, transparent 60%);
  pointer-events: none;
}

/* Enhanced testimonials grid layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

/* Individual testimonial cards */
.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 15px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green), var(--accent-blue));
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Testimonial content */
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-height: 100%;
  height: 100%;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-green);
  box-shadow: 0 4px 15px rgba(0, 168, 89, 0.2);
  align-self: center;
}

.testimonial-text {
  color: #1A0F0A !important;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  quotes: """ """ "'" "'";
  flex: 1 0 auto;
}

.testimonial-text::before {
  content: open-quote;
  font-size: 2em;
  color: var(--primary-green);
  line-height: 0.1;
  margin-right: 0.1em;
  vertical-align: -0.4em;
}

.testimonial-text::after {
  content: close-quote;
  font-size: 2em;
  color: var(--primary-green);
  line-height: 0.1;
  margin-left: 0.1em;
  vertical-align: -0.4em;
}

.testimonial-author {
  text-align: center;
  margin-top: auto;
}

.testimonial-name {
  color: #2A1A13 !important;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-xs);
}

.testimonial-location {
  color: var(--primary-green) !important;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.star {
  color: #FFD700;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===========================
   4. FOOTER COMPREHENSIVE FIXES
   Logo, text styling, social icons, location consistency
   =========================== */

/* Enhanced footer background */
.site-footer {
  background: linear-gradient(
    135deg,
    #2A1A13 0%,
    #3E261A 25%,
    #2A1A13 50%,
    #1F0F0A 75%,
    #2A1A13 100%
  );
  position: relative;
  color: var(--warm-sand);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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%);
  pointer-events: none;
}

/* Professional footer logo treatment */
.footer-brand img {
  /* Remove white background completely */
  background: transparent !important;
  
  /* Professional dark background with better blending */
  background: linear-gradient(
    135deg,
    rgba(42, 26, 19, 0.8) 0%,
    rgba(62, 38, 26, 0.6) 50%,
    rgba(42, 26, 19, 0.8) 100%
  ) !important;
  
  /* Enhanced styling */
  padding: var(--space-md);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(245, 230, 211, 0.2);
  
  /* Better visual integration */
  filter: 
    brightness(1.1)
    contrast(1.2)
    saturate(1.05)
    drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.4));
  
  /* Responsive sizing */
  height: 55px;
  width: auto;
  max-width: 200px;
}

.footer-brand img:hover {
  border-color: rgba(245, 230, 211, 0.4);
  filter: 
    brightness(1.15)
    contrast(1.25)
    saturate(1.1)
    drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.5));
  transform: scale(1.02);
}

/* Enhanced footer tagline */
.footer-tagline {
  color: var(--warm-sand) !important;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  margin-top: var(--space-md);
}

/* Consistent footer column styling */
.footer-column h3 {
  color: var(--cloud-white) !important;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column a,
.footer-column li {
  color: var(--warm-sand) !important;
  font-weight: 500;
  font-size: clamp(0.875rem, 2vw, 1rem);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
  line-height: 1.6;
}

.footer-column a:hover,
.footer-column a:focus {
  color: var(--cloud-white) !important;
  text-decoration: underline;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  transform: translateX(5px);
}

/* FIXED: Consistent location text styling */
.footer-column li:last-child,
.footer-column a[href*="Costa Rica"],
.footer-column li:contains("Costa Rica"),
.footer-column ul li:last-child {
  color: var(--warm-sand) !important;
  font-weight: 500 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
  font-size: clamp(0.875rem, 2vw, 1rem) !important;
}

/* Specific targeting for "La Fortuna, Alajuela, Costa Rica" text */
.footer-column:last-child ul li:last-child,
.footer-column ul li:contains("La Fortuna"),
.footer-column ul li:contains("Alajuela"),
.footer-column ul li:contains("Costa Rica") {
  color: var(--warm-sand) !important;
  font-weight: 500 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* Enhanced footer bottom section */
.footer-bottom {
  border-top: 2px solid rgba(245, 230, 211, 0.2);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-left: var(--space-2xl);
  padding-right: var(--space-2xl);
}

.footer-bottom p {
  color: var(--warm-sand) !important;
  font-weight: 600 !important;
  font-size: clamp(0.875rem, 2vw, 1rem) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
  margin: 0;
}

/* Enhanced footer legal links */
.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin: 0;
}

.footer-legal a {
  color: var(--warm-sand) !important;
  font-weight: 500 !important;
  font-size: clamp(0.875rem, 2vw, 1rem) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-legal a:hover,
.footer-legal a:focus {
  color: var(--cloud-white) !important;
  text-decoration: underline;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7) !important;
}

/* ===========================
   5. ENHANCED SOCIAL MEDIA ICONS
   Better contrast with footer background
   =========================== */

.footer-social h3 {
  color: var(--cloud-white) !important;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-lg);
  text-align: center;
}

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

.social-links a {
  /* Enhanced background for better contrast */
  background: linear-gradient(
    135deg,
    rgba(245, 230, 211, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(245, 230, 211, 0.15) 100%
  ) !important;
  
  /* Professional styling */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Enhanced borders and shadows */
  border: 2px solid rgba(245, 230, 211, 0.3) !important;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  
  /* Smooth transitions */
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-links a:hover,
.social-links a:focus {
  /* Enhanced hover states */
  border-color: rgba(245, 230, 211, 0.6) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(245, 230, 211, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  
  transform: translateY(-3px) scale(1.1);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--warm-sand);
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
  transition: all var(--transition-fast);
}

.social-links a:hover .social-icon svg {
  fill: var(--cloud-white);
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.6));
  transform: scale(1.1);
}

/* Platform-specific enhanced hover colors */
.social-links a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-links a[href*="instagram"]:hover {
  background: linear-gradient(135deg, #E4405F 0%, #833AB4 50%, #FCAF45 100%) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-links a[href*="wa.me"]:hover {
  background: linear-gradient(135deg, #25D366 0%, #20b358 100%) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ===========================
   6. WHATSAPP BUTTON IMPROVEMENTS
   Remove duplicates, enhance professional version
   =========================== */

/* Hide duplicate/problematic WhatsApp implementations */
.whatsapp-float-enhanced,
.whatsapp-enhanced,
.whatsapp-cta-duplicate,
.btn-whatsapp-duplicate {
  display: none !important;
}

/* Enhanced single WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-modal);
  /* animation: whatsappPulse 3s infinite; */
}

.whatsapp-float-btn {
  /* Professional WhatsApp button styling */
  background: linear-gradient(
    135deg,
    #25D366 0%,
    #20b358 50%,
    #1da851 100%
  ) !important;

  /* Enhanced styling */
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Professional shadows and borders */
  box-shadow:
    0 8px 25px rgba(37, 211, 102, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  /* Smooth interactions */
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--cloud-white);
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus {
  background: linear-gradient(
    135deg,
    #1da851 0%,
    #20b358 50%,
    #25D366 100%
  ) !important;
  
  box-shadow: 
    0 12px 35px rgba(37, 211, 102, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.3);
  
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
  color: var(--cloud-white);
  text-decoration: none;
}

.whatsapp-icon-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  position: relative;
  padding: 0;
  margin: 0;
}

.whatsapp-icon-float svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  fill: currentColor;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  transition: all var(--transition-fast);
  display: block;
  flex-shrink: 0;
  position: relative;
}

.whatsapp-float-btn:hover .whatsapp-icon-float svg {
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
  transform: scale(1.05);
}

/* Enhanced pulse animation */
/* @keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 8px 25px rgba(37, 211, 102, 0.4),
      0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 10px 30px rgba(37, 211, 102, 0.5),
      0 6px 20px rgba(0, 0, 0, 0.25);
  }
} */

/* ===========================
   7. RESPONSIVE IMPROVEMENTS
   =========================== */

@media (max-width: 768px) {
  /* Mobile-specific improvements */
  .nav-brand img {
    height: 45px;
  }
  
  .contact-info {
    padding: var(--space-lg);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-brand img {
    height: 45px;
    max-width: 180px;
  }
  
  .social-links a {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-float {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }
  
  .whatsapp-float-btn {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  /* Small mobile adjustments */
  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .social-links {
    gap: var(--space-md);
  }
}

/* ===========================
   8. ACCESSIBILITY IMPROVEMENTS
   =========================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact-section .section-title {
    color: #000000 !important;
  }
  
  .footer-brand img {
    border: 3px solid #000000;
  }
  
  .social-links a {
    border: 3px solid #000000 !important;
  }
  
  .whatsapp-float-btn {
    border: 3px solid #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-btn {
    animation: none;
  }
  
  .testimonial-card {
    transition: none;
  }
  
  .social-links a {
    transition: none;
  }
}

/* ===========================
   9. PRINT STYLES
   =========================== */

@media print {
  .whatsapp-float,
  .social-links {
    display: none;
  }
  
  .footer-brand img {
    filter: none;
    background: transparent !important;
  }
}