/* Custom styles for Makeup Studio Jocelyn */

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

/* Navbar scroll effect */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(16, 42, 67, 0.1);
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery hover effect */
.gallery-item {
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Fade in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #d4890a;
    border-radius: 5px;
}

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

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

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .gallery-item {
        height: 180px;
    }
}
