/* Additional custom styles for Prestige Barber Club */

/* Smooth scrolling and performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #e85528;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .float-1, .float-2, .float-3 {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card {
        border: 2px solid currentColor;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .float-1, .float-2, .float-3 {
        animation: none !important;
    }
    
    .image-zoom {
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* Reduced transparency preference */
@media (prefers-reduced-transparency: reduce) {
    .hero-card::before {
        opacity: 0;
    }
    
    .pattern-bg {
        background-image: none;
    }
}

/* Dark mode support (if system preference is set) */
@media (prefers-color-scheme: dark) {
    /* Additional dark mode styles can be added here if needed */
}

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

/* Better form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    appearance: none;
    background-clip: padding-box;
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231c3062' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Selection color */
::selection {
    background-color: #e85528;
    color: white;
}

::-moz-selection {
    background-color: #e85528;
    color: white;
}
