/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f0;
}

::-webkit-scrollbar-thumb {
    background: #9cc39f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6fa074;
}

/* Selection color */
::selection {
    background-color: #c6dfc9;
    color: #223524;
}

/* Animation for floating elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for the indicator */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-pulse,
    .animate-float {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .scroll-indicator,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
