/* Custom styles for Noel Christopher Salon */

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

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

/* Selection color */
::selection {
    background: #C4704B;
    color: #F2E8DF;
}

/* Animation classes */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar transition */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(232, 213, 196, 0.1);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #C9A96E !important;
    box-shadow: 0 0 0 1px #C9A96E;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

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

/* Gold accent line animation */
.w-16.h-px.bg-salon-gold {
    transition: width 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

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

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #C9A96E;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print,
    #mobile-menu-btn,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
