/* Custom styles for Blue Barn Coffee */

:root {
    --terracotta-500: #d95530;
    --terracotta-600: #c4411e;
    --sand-50: #fdfbf7;
    --sand-100: #faf6ec;
    --sand-200: #f3eace;
    --sand-700: #967134;
    --sand-800: #7a5c30;
    --navy-900: #0f1a2e;
    --navy-950: #080f1a;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero fade-in for scroll sections only */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 0;
        transform: translateY(24px);
    }
    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--sand-100);
}
::-webkit-scrollbar-thumb {
    background: var(--sand-200);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--sand-700);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 300px;
}

/* Subtle hover lift for cards */
.bg-white.rounded-2xl {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-white.rounded-2xl:hover {
    transform: translateY(-4px);
}
