/* 312 Auto Boutique — Custom Styles */

/* Base reset & smooth scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0a0f1a;
    color: #f3f4f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Selection color */
::selection {
    background-color: rgba(168, 85, 247, 0.4);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #0a0f1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b21a8;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Link underline animation */
a:not([class]) {
    text-decoration: none;
    position: relative;
}

a:not([class])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

a:not([class]):hover::after {
    width: 100%;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent layout shift on images */
img[width][height] {
    object-fit: cover;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, .reveal {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-grid {
        background: #1f2937 !important;
    }
}
