/* Custom styles for Dev.Hair */

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

/* Selection color */
::selection {
    background-color: #FF6B6B;
    color: #FAFAFA;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}

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

/* Hero image subtle parallax */
@media (prefers-reduced-motion: no-preference) {
    .hero-image {
        will-change: transform;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px #FF6B6B;
}

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

/* Gallery hover effect */
.overflow-hidden img {
    transition: transform 0.5s ease;
}

/* Print styles */
@media print {
    nav, .mobile-menu-btn, #contact-form {
        display: none;
    }
}

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