/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Navigation */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-text {
    color: #1c1917 !important;
}

#navbar.scrolled .nav-link {
    color: #1c1917 !important;
}

#navbar.scrolled .nav-link:hover {
    color: #c44520 !important;
}

/* Hero Animations */
.hero-title {
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.2s;
}

.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0s;
}

.hero-desc {
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.4s;
}

.hero-cta {
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.6s;
}

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-desc,
    .hero-cta {
        opacity: 1;
        animation: none;
    }
    
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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

/* Selection */
::selection {
    background: #f8c4b0;
    color: #6e2515;
}
