/* JBT's Storage Locker Treasures — Custom Styles */

/* Base reset and typography */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/* Selection color */
::selection {
    background-color: #fbcfe8;
    color: #4a1e3c;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f0;
}
::-webkit-scrollbar-thumb {
    background: #fbcfe8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .navbar, .hamburger, .mobile-menu {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-grid {
        min-height: auto;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent text scaling on iOS */
@media screen and (max-width: 320px) {
    html {
        font-size: 14px;
    }
}
