/* Custom styles for SKS Pro-Ductions */

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

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(115, 28, 58, 0.08);
}

.nav-scrolled .nav-text {
    color: #400916 !important;
}

.nav-scrolled .nav-subtext {
    color: #a61d43 !important;
}

.nav-scrolled .nav-link {
    color: #731c3a !important;
}

/* Hero decorative animations */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(0, -20px) scale(1.05); }
}

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

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

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

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

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #400916;
}

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

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

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

/* Button hover lift effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Service card shimmer on hover */
.group:hover .rounded-xl:first-child {
    transition: background-color 0.5s ease;
}

/* Print styles */
@media print {
    nav, #contact-form, .scroll-reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
