/* ── Custom styles for Sno Biz of GQ ── */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Selection color */
::selection {
    background-color: #4ADE80;
    color: #0D1B2A;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4ADE80;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdf4;
}
::-webkit-scrollbar-thumb {
    background: #9fb5dc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7897cc;
}

/* Hero parallax-like subtle movement */
#hero {
    will-change: transform;
}

/* Nav background transition */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(13, 27, 42, 0.08);
}

#site-header.scrolled .font-display {
    color: #0D1B2A;
}

/* 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);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-bounce {
        animation: none;
    }
    img:hover,
    .hover\\:scale-105:hover {
        transform: none;
    }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.25rem;
    }
}

/* Print styles */
@media print {
    #site-header,
    #mobile-toggle,
    .animate-bounce {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
