/* ─── Custom styles for Bill's Bottles and Cans ─── */

/* Base */
* { box-sizing: border-box; }

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* ─── Navbar scroll state ─── */
nav.scrolled {
    background: rgba(6, 13, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ─── Gold shimmer text fallback for browsers without gradient-text support ─── */
@supports not (-webkit-background-clip: text) {
    .gold-shimmer {
        color: #fbbf24;
    }
}

/* ─── Button hover lift ─── */
button[type="submit"]:hover {
    transform: translateY(-1px);
}
button[type="submit"]:active {
    transform: translateY(0);
}

/* ─── Image hover zoom ─── */
img {
    max-width: 100%;
    height: auto;
}

/* ─── Mobile menu transitions ─── */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ─── 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Utility ─── */
@media (max-width: 639px) {
    .font-display {
        font-size: 2rem;
    }
}
