/* Custom Styles for The Farmer in the Deli */

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

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

::-webkit-scrollbar-track {
    background: #020c1b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Hero Animations */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }

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

/* About Animations */
.about-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.about-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu Animations */
.menu-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.menu-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Experience Animations */
.experience-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.experience-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.experience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Animations */
.contact-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.contact-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
