/* A&A Barbershop - Custom Styles */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #121a27;
    color: #d9e2ec;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #2db38f;
    color: #121a27;
}

/* Custom focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2db38f !important;
    box-shadow: 0 0 0 3px rgba(45, 179, 143, 0.1);
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image hover zoom container */
.overflow-hidden {
    overflow: hidden;
}

/* Ensure all images have proper sizing */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background-color: rgba(18, 26, 39, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-midnight-950 {
        background-color: Canvas;
    }
    
    .text-midnight-50 {
        color: CanvasText;
    }
}

/* Ensure touch targets are adequate on mobile */
@media (max-width: 768px) {
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

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

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #2db38f;
    outline-offset: 2px;
}

/* Ensure map iframe doesn't overflow */
iframe {
    max-width: 100%;
}
