/* Custom styles for Cumberland Vista */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050D1A;
}
::-webkit-scrollbar-thumb {
  background: #152D56;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #34D4B3;
}

/* Fade-in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-up.delay-100 {
  animation-delay: 0.1s;
}

.fade-in-up.delay-200 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-300 {
  animation-delay: 0.3s;
}

/* Intersection observer animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Nav scroll state */
nav.scrolled {
  background: rgba(5, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(52, 212, 179, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Image hover effects */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #34D4B3 0%, #5EEAD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle glow effect */
.glow-mint {
  box-shadow: 0 0 40px rgba(52, 212, 179, 0.15);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0A1628 inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* Selection color */
::selection {
  background: rgba(52, 212, 179, 0.3);
  color: #fff;
}
