/* Custom styles for Aerni Family Christmas Trees */

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(13, 30, 60, 0.08);
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f2fdf8;
}
::-webkit-scrollbar-thumb {
    background: #8de4be;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #52d19a;
}

/* Selection color */
::selection {
    background: #bdf0d8;
    color: #0d1e3c;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2db878;
    outline-offset: 2px;
    border-radius: 4px;
}
</style>
