/* Custom styles for Prestige Hair Care Salon */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f1f5f9;
}

/* 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;
    }
    .gallery-img:hover {
        transform: none;
    }
    .service-card:hover {
        border-color: rgba(20, 184, 166, 0.4);
    }
    .service-card:hover .service-icon {
        background: rgba(13, 148, 136, 0.6);
    }
    .service-card:hover .service-icon svg {
        color: #5eead4;
    }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery hover */
.gallery-img {
    transition: transform 0.7s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
}

/* Service card hover */
.service-card {
    transition: border-color 0.4s ease, background 0.4s ease;
}
.service-card:hover {
    border-color: rgba(20, 184, 136, 0.4);
    background: rgba(30, 41, 59, 0.8);
}
.service-card:hover .service-icon {
    background: rgba(13, 148, 136, 0.8);
}
.service-card:hover .service-icon svg {
    color: #fff;
}

/* Smooth focus outlines */
input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #f1f5f9 !important;
}
</style>
