/* Custom styles for Tellam'bout'Hair */

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #d9522a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43f1e;
}

/* Selection color */
::selection {
    background: #d9522a;
    color: #FDF8F0;
}

/* Hero parallax effect */
#hero {
    will-change: transform;
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-4px);
}
.group {
    transition: transform 0.3s ease;
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(30, 20, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d9522a;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 82, 42, 0.2);
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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