/* Custom Styles for Daily Paper Coffee */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F5F2EB;
    color: #1C3A28;
}

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

p, a, button {
    font-family: 'Montserrat', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.reveal-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.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: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Navbar transition */
nav.scrolled {
    background-color: rgba(245, 242, 235, 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 transitions */
#mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.mobile-link {
    transition: color 0.3s ease;
}
