/* Custom Styles & Animations */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv11", "ss01";
}

/* Typography tweaks */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

p, a, li, span, input, textarea {
    font-family: 'Lato', sans-serif;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Start hidden for animation */
}

.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

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

/* Scroll Reveal Utility (Progressive Enhancement) */
.reveal {
    opacity: 1; /* Visible by default */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Mobile Menu Transition */
#mobile-menu {
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
