/* Custom styles for Hair by Suzette */

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

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

::-webkit-scrollbar-track {
    background: #05120A;
}

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

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

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #F8F6F0;
}

/* Navbar transition states */
header.scrolled {
    background: rgba(5, 18, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Service card hover effect */
.service-card {
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.05);
}

/* Form input focus animation */
input:focus,
textarea:focus,
select:focus {
    background: rgba(10, 31, 18, 0.8);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: fadeIn 0.3s ease forwards;
}

#mobile-menu.hidden {
    animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-link:hover::after {
    width: 80%;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .service-card:hover {
        transform: none;
    }

    .rounded-2xl.overflow-hidden.group img {
        transition: none;
    }
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gold accent shimmer on hover */
a[href^="tel"]:hover,
button[type="submit"]:hover {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

/* Select dropdown styling */
select option {
    background: #0A1F12;
    color: #F0EDE4;
    padding: 12px;
}
