/* Custom CSS for Artistic Hair Salon */

:root {
    --navy-900: #0a1628;
    --navy-800: #1a2744;
    --gold-500: #c9a227;
    --gold-400: #d4af37;
    --gold-300: #e5c158;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--navy-900);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

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

/* Custom font styles */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.02);
}

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

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3);
}

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

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

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Custom selection color */
::selection {
    background: var(--gold-500);
    color: var(--navy-900);
}

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