/* Custom styles for Royal Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6f1;
}
::-webkit-scrollbar-thumb {
    background: #d4533b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c2402d;
}

/* Selection color */
::selection {
    background: #d4533b;
    color: #fff;
}

/* Service card hover tilt effect */
.service-card {
    transform: translateY(0);
    will-change: transform;
}

/* Gallery hover zoom */
.gallery-item {
    cursor: pointer;
}

/* Mobile menu animation */
#mobileMenu {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}
#mobileMenu.open {
    max-height: 500px;
    opacity: 1;
}

/* Mobile menu link animation */
.mobile-link {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateX(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Hamburger animation */
#bar1.active {
    transform: translateY(4px) rotate(45deg);
}
#bar2.active {
    opacity: 0;
    transform: scaleX(0);
}
#bar3.active {
    transform: translateY(-4px) rotate(-45deg);
}

/* Scroll reveal base (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    header, footer, .fixed { display: none; }
    body { background: white; }
}
