/* Base styles and custom properties */
:root {
    --color-emerald-950: #0a1711;
    --color-emerald-900: #0f231a;
    --color-emerald-700: #1B4332;
    --color-cream-50: #FDF9F3;
    --color-cream-100: #F7F0E3;
    --color-cream-300: #E8D4B0;
    --color-cream-400: #DFC496;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal base state - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* Hero animations */
.hero-subtitle {
    animation: fadeSlideUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeSlideUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-desc {
    animation: fadeSlideUp 1s ease 0.7s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeSlideUp 1s ease 0.9s forwards;
    opacity: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-subtitle,
    .hero-title,
    .hero-desc,
    .hero-cta {
        opacity: 1;
        animation: none;
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 23, 17, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212, 165, 116, 0.1);
}

.nav-scrolled .nav-link {
    color: #F7F0E3 !important;
}

.nav-link {
    color: rgba(253, 249, 243, 0.85);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Form select styling */
select option {
    background: #0f231a;
    color: #F7F0E3;
}

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

::-webkit-scrollbar-track {
    background: #0a1711;
}

::-webkit-scrollbar-thumb {
    background: #DFC496;
    border-radius: 3px;
}

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

/* Selection color */
::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #0a1711;
}
