/* Custom styles for Norelandia */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu animations */
#menuToggle.active #bar1 {
    transform: translateY(5px) rotate(45deg);
}
#menuToggle.active #bar2 {
    opacity: 0;
}
#menuToggle.active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Subtle hover lift for cards */
.group {
    will-change: transform;
}

/* Ensure serif headlines have proper spacing */
font-serif {
    text-wrap: balance;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: #166534;
    color: #fefdf8;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .group {
        transition: none;
    }
}
