/* Custom styles - loaded after Tailwind */

/* Smooth scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(184, 40, 72, 0.2);
    color: #3a0c15;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff5f7;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b82848, #ff81a3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #971d3a, #f22760);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .float, .float-delayed {
        animation: none;
    }
    .pulse-dot {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .menu-card:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #b82848;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, .reveal, .float, .float-delayed, .pulse-dot {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
