/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5ff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d8b4fe, #fcd34d);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, #fbbf24);
}

/* Selection color */
::selection {
    background: #e9d5ff;
    color: #581c87;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

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

/* Subtle parallax on hero blobs */
@media (prefers-reduced-motion: no-preference) {
    .gradient-hero {
        background-attachment: fixed;
    }
}

/* Improve image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}
