/* Custom Styles & Animation Utilities */
:root {
    --terra-50: #fdf4f0;
    --terra-600: #d16b3b;
    --terra-900: #692d21;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #FFFBF5;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Fraunces', serif;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Utility */
.reveal-on-scroll {
    opacity: 1; /* Default visible for accessibility/no-JS */
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Navbar Transition */
#navbar.scrolled {
    background-color: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #e08b58;
    border-radius: 5px;
}

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

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
