/* Custom styles for Beauty and Company Timpson */

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

/* Navigation active state */
.nav-link.active {
    color: #6B3A72;
    background-color: rgba(168, 105, 180, 0.08);
}

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

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

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

/* Selection color */
::selection {
    background-color: #D4B2DC;
    color: #3D1D4E;
}

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

/* Print styles */
@media print {
    .nav,
    #mobile-menu,
    .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    
    .bg-plum-950,
    .bg-plum-50 {
        background: white !important;
        color: black !important;
    }
}
