/* Custom styles for Cali Cuts Barber Shop */

/* Diagonal clip for hero */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #1a2744;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Selection color */
::selection {
    background: #d4af37;
    color: #0a1628;
}

/* Reduced motion preference */
@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;
    }
    
    img {
        transition: none;
    }
    
    .hover\\:scale-105:hover {
        transform: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 39, 68, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

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

/* Gold underline animation on hover */
a.group:hover svg {
    transform: translateX(4px);
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .scroll-indicator {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
