/* Custom Styles for Stylin */

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

body {
    background-color: #fafaf9; /* stone-50 */
}

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

p, a, span, li, button, 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);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Initial state for JS enhancement if needed, but CSS handles it here */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

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

.reveal-on-scroll.delay-100 {
    transition-delay: 0.1s;
}

.reveal-on-scroll.delay-200 {
    transition-delay: 0.2s;
}

/* Navbar Styles */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95); /* slate-900 with opacity */
    backdrop-filter: blur(10px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .text-white {
    color: #f8fafc !important; /* slate-50 */
}

/* Button Hover Effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form Focus Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2); /* teal-500 with opacity */
}
