/* Custom Styles for Studio Maven */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9c2040;
}

/* Selection Color */
::selection {
    background: #fce7eb;
    color: #6e1a32;
}

/* Navbar Styles */
#navbar {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(10px);
}

#navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Card Hover Effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Reduced Motion */
@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;
    }
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .font-serif {
        color: #000 !important;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #b8284a;
    outline-offset: 2px;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    border-color: #b8284a !important;
}

/* Image Loading Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
