/* Skip The Barber — Custom Styles */
/* These styles complement Tailwind and handle things Tailwind can't do as cleanly */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 96px;
}

/* Selection color */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #0A1628;
}

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

/* Print styles */
@media print {
    nav, .cta-btn, #hamburger, .mobile-menu {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .bg-navy-900, section.bg-navy-900 {
        background: #1a1a1a !important;
        color: #fff !important;
    }
}

/* 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;
    }
    .barber-stripe {
        animation: none;
        background: repeating-linear-gradient(
            -45deg,
            #0A1628,
            #0A1628 10px,
            #C9A84C 10px,
            #C9A84C 20px,
            #FAF8F5 20px,
            #FAF8F5 30px
        );
        background-size: 40px 40px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    .cta-btn {
        border: 2px solid #C9A84C;
    }
}

/* Large screen optimizations */
@media (min-width: 1536px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-serif {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
}
