/* Custom styles for Cibola Vista Resort & Spa */

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

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

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

::-webkit-scrollbar-thumb {
  background: #0f766e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}

/* Navbar scroll effect */
.nav-scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hero parallax effect */
#hero {
  background-attachment: fixed;
}

/* Custom focus styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

/* Button hover effects */
button:hover,
a:hover {
  transition: all 0.3s ease;
}

/* Image hover effects */
img {
  transition: transform 0.7s ease;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  img {
    transition: none;
  }
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

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

/* Decorative elements */
.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, #0f766e, transparent);
}

/* Card shadow on hover */
.group:hover .group-hover\:shadow-xl {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Print styles */
@media print {
  nav,
  #contactForm,
  .no-print {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
