/* Custom Styles for Aj's Espresso */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography Refinements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F0E6;
}
::-webkit-scrollbar-thumb {
    background: #C25A47;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A34635;
}

/* Navigation Transitions */
#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Mobile Menu Transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: #C25A47;
}

/* Animation Utilities */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay utilities for staggered animations */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
