/* Custom styles and overrides */

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(79, 48, 77, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #663d63;
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Ensure text contrast on gradient */
.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Backdrop blur support */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

.backdrop-blur {
    backdrop-filter: blur(12px);
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
