/* Custom styles for Patriot Outdoor */

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

/* Base font weights for light typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal styles — progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

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

/* Subtle hover underline for links */
a:not([class]) {
    text-decoration: none;
}

/* Image loading placeholder */
img {
    background-color: #e7e5e4;
}

/* Custom selection color */
::selection {
    background-color: rgba(201, 65, 30, 0.15);
    color: #722617;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

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

/* Form focus ring animation */
input:focus,
textarea:focus {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.97);
}
