/* Additional custom styles for Stackz Barbershop */

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #243b53, #102a43);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #334e68, #243b53);
}

/* Selection color */
::selection {
    background-color: #4ade80;
    color: #102a43;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus visible styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section, .map-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .service-card {
        break-inside: avoid;
    }
    
    .testimonial-card {
        break-inside: avoid;
    }
}

/* Reduced motion preferences */
@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;
    }
    
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .gallery-item img {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

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

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
}
