/* Custom styles — overrides and additions beyond Tailwind */

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

/* Selection color */
::selection {
    background-color: rgba(123, 45, 142, 0.15);
    color: #3f1748;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5fb;
}
::-webkit-scrollbar-thumb {
    background: #d9a8d6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a855a0;
}

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

/* Subtle line accents */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9a8d6, transparent);
}

/* Nav shadow on scroll */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
    .group img {
        transition: none;
    }
}

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