/* Custom Styles for Ashton's at the V */

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

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

::-webkit-scrollbar-track {
    background: #0A192F;
}

::-webkit-scrollbar-thumb {
    background: #98FFDB;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #76E4B8;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* Reveal animations only apply when JS is enabled */
.js-enabled .reveal-up,
.js-enabled .reveal-left,
.js-enabled .reveal-right {
    opacity: 0;
}

.js-enabled .reveal-up.revealed,
.js-enabled .reveal-left.revealed,
.js-enabled .reveal-right.revealed {
    opacity: 1;
    transform: none;
}

/* Navbar Transition */
nav.scrolled {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu Animation */
.mobile-menu.open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Button Hover Effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
}

/* Image Hover Zoom */
img {
    transition: transform 0.7s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

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