/* Custom styles for Limited Brand Designs & Barber Shop */

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

/* Custom gradient animations */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #4a8a4a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a6d3a;
}

/* Focus styles for accessibility */
*:focus {
    outline: none;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

/* Animation for mobile menu */
#mobile-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Reduced motion */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-forest-700 {
        background-color: #1a3a1a !important;
    }
    
    .text-forest-700 {
        color: #1a3a1a !important;
    }
}

/* Ensure all text is readable */
.text-forest-100,
.text-forest-200,
.text-forest-300 {
    color: inherit;
}

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