/* Custom styles for Gillham & Glamour Hairstudio */

/* Smooth transitions for interactive elements */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Subtle scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdfa;
}
::-webkit-scrollbar-thumb {
    background: #99f6e4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #042f2e;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile menu animation */
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

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

/* Floating card animation on hero */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.floating-card-1 { animation: float-1 6s ease-in-out infinite; }
.floating-card-2 { animation: float-2 5s ease-in-out infinite; }
.floating-card-3 { animation: float-3 7s ease-in-out infinite; }

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

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