/* Base & Typography */
html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.nav-text {
    transition: color 0.4s ease;
}

.nav-subtext {
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-text {
    color: #052e16;
}

#navbar.scrolled .nav-subtext {
    color: #166534;
}

#navbar.scrolled .mobile-link {
    color: #f0fdf4;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #052e16 0%,
        #14532d 20%,
        #166534 40%,
        #15803d 55%,
        #0f766e 70%,
        #134e4a 85%,
        #042f2e 100%
    );
}

/* Floating Decorations */
.floating-snowflake {
    animation: float 6s ease-in-out infinite;
    display: inline-block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Mobile Menu */
.mobile-link {
    color: #f0fdf4;
    transition: color 0.3s ease;
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

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