/* Custom Styles for Marsfx */

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

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

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

::-webkit-scrollbar-thumb {
    background: #841636;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #711733;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animation for elements that start hidden */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero text shadow for better readability */
#hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Button focus styles */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #d94068;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background-color: #e7e5e4;
}

/* Selection color */
::selection {
    background-color: #f9d0d9;
    color: #3d0714;
}
