/* ============================================
   HSA Liquidators — Custom Styles
   Classic & Elegant · Forest Green + Off-White
   ============================================ */

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

/* Selection color */
::selection {
    background-color: #1a3c2a;
    color: #fdfcfa;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.05);
}

#navbar.scrolled {
    background-color: rgba(253, 252, 250, 0.98);
    box-shadow: 0 4px 20px rgba(26, 60, 42, 0.1);
}

/* ============================================
   Hero Stat Cards
   ============================================ */
.stat-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-4px) !important;
}

/* ============================================
   Reveal Animations (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal[data-revealed="false"] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

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

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

.mobile-link {
    border-bottom: 1px solid rgba(26, 60, 42, 0.06);
    padding-bottom: 0.75rem;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ============================================
   Category Cards
   ============================================ */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ============================================
   Button Hover Effects
   ============================================ */
a[href^="tel:"],
a[href^="mailto:"] {
    text-decoration: none;
}

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

::-webkit-scrollbar-track {
    background: #f5f0e8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #7aad88;
}

/* ============================================
   Focus Styles
   ============================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #1a3c2a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Responsive Typography
   ============================================ */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.2;
    }
}
