/* ============================================
   Liquidation Depot — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* --- Selection --- */
::selection {
    background: rgba(217, 160, 32, 0.25);
    color: #102a43;
}

/* --- Navbar Scroll State --- */
.navbar-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu --- */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* --- Smooth anchor offset for fixed nav --- */
section[id] {
    scroll-margin-top: 80px;
}

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

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

::-webkit-scrollbar-track {
    background: #102a43;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

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

/* --- Button micro-interactions --- */
a, button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Card hover shadow --- */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* --- Gold accent line --- */
.text-gold-600 {
    color: #d9a020;
}

.text-gold-400 {
    color: #edc96d;
}

.bg-gold-500 {
    background-color: #d9a020;
}

.bg-gold-400 {
    background-color: #edc96d;
}

.bg-gold-100 {
    background-color: #faf0d4;
}

/* --- Hero text shadow for readability --- */
#hero h1,
#hero p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* --- Map container --- */
iframe {
    filter: saturate(0.8) contrast(1.05);
    transition: filter 0.5s ease;
}

iframe:hover {
    filter: saturate(1) contrast(1);
}

/* --- Responsive typography --- */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* --- Print styles --- */
@media print {
    nav, #hero, .reveal-hidden {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
