/* Janny's Unisex Beauty Salon — Custom Styles */

/* Base resets and utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling is handled inline, but add fallback */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Selection color */
::selection {
    background: rgba(140, 39, 39, 0.2);
    color: #5e1a1a;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #8c2727;
    outline-offset: 2px;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu, #mobileMenu {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-split > div:first-child {
        padding: 8rem 2rem 4rem;
    }
    
    .hero-split > div:last-child {
        min-height: 60vh;
    }
}

/* Small phone adjustments */
@media (max-width: 374px) {
    h1 {
        font-size: 2.25rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
}
