/* Custom styles for High Mountain Heli-Skiing */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a273d;
}
::-webkit-scrollbar-thumb {
    background: #1d5478;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2ec080;
}

/* Selection color */
::selection {
    background: rgba(46, 192, 128, 0.3);
    color: #f0f4f8;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(5, 20, 32, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero text animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Card hover glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(46, 192, 128, 0.15);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #4fd49a 0%, #2ec080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(46, 192, 128, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
    max-height: 400px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .img-zoom img {
        transform: none !important;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #2ec080;
    outline-offset: 2px;
}

/* Select dropdown styling */
select option {
    background: #0a273d;
    color: #f0f4f8;
}
