/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5ff;
}
::-webkit-scrollbar-thumb {
    background: #c084fc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a855f7;
}

/* Selection color */
::selection {
    background: rgba(147, 51, 234, 0.2);
    color: #3b0764;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 1px 20px rgba(88, 28, 135, 0.08);
}

.nav-scrolled .font-serif,
.nav-scrolled .text-plum-950 {
    color: #581c87 !important;
}

.nav-scrolled a:not(.bg-plum-800):not(.bg-amber-400) {
    color: #7e22ce !important;
}

/* Hero text shadow for readability over image */
.hero-headline-shadow {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

/* Print styles */
@media print {
    #mobile-menu,
    .stat-float-1,
    .stat-float-2,
    .stat-float-3 {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
