/* Custom styles for Al's Boat & Mini Storage */

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

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal animation - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.animated.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1e4480;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8952e;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Hero image hover */
.rounded-2xl.overflow-hidden {
    transition: transform 0.4s ease;
}
.rounded-2xl.overflow-hidden:hover {
    transform: scale(1.02);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #c8952e 0%, #e0bc5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button focus states */
a:focus-visible, button:focus-visible {
    outline: 2px solid #c8952e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #c8952e;
    color: #0a1628;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #152e58 0%, #0f2140 100%);
}
