/* True Classic Barber Shop — Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    background-color: #1a0f1a;
    color: #ebe0ef;
    overflow-x: hidden;
}

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

/* Selection color */
::selection {
    background-color: rgba(212, 168, 83, 0.3);
    color: #f5f0f7;
}

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

::-webkit-scrollbar-track {
    background: #2f1d2f;
}

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

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

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, footer, .hero-bg {
        display: none;
    }
    
    body {
        background: white;
        color: #333;
    }
}

/* 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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .form-input {
        border-width: 2px;
    }
}

/* Landscape phone adjustments */
@media (max-width: 639px) and (orientation: landscape) {
    #navbar {
        height: 56px;
    }
    
    .hero-bg {
        min-height: 80vh;
    }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
    .service-card {
        padding: 2rem;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .hero-bg {
        background-attachment: fixed;
    }
}
