/* Custom styles for Porter's Place Sports Bar */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal base state — content is VISIBLE by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only animate on prefers-reduced-motion: no-preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 25, 41, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

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

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

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Selection */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Button hover lift */
button, a {
    transition: all 0.2s ease;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #1a2e4a 0%, #0d1f33 100%);
}
