/* Custom Styles for SultrySpark */

/* Reset & Selection */
::selection {
    background: #800020;
    color: white;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Perspective for 3D card effect */
.perspective-1000 {
    perspective: 1000px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Scrolled State */
nav.scrolled {
    background: rgba(250, 240, 242, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(128, 0, 32, 0.15);
}

/* Subpage Global Backgrounds Removed */
/* Footer Premium Styling */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.site-footer a {
    color: #475569;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #800020;
}

/* Fade-In Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}


/* Fix autofill overriding transparent backgrounds */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}
