/* Custom Styles for VG Hair & Beauty Supply */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfcfa;
}
::-webkit-scrollbar-thumb {
    background: #d94f2d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43f20;
}

/* Navigation transitions */
#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
    max-height: 500px;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Hero parallax effect */
#hero {
    perspective: 1px;
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

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