/* Custom styles for Joes Place */

:root {
    --terracotta: #C0601E;
    --orange: #F97316;
    --sand: #F4A259;
    --cream: #FDF6EE;
    --brown-dark: #2C1810;
    --brown-mid: #5C4033;
    --brown-light: #8B6F4E;
    --sand-light: #F0E0D0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-serif {
    font-family: 'DM Serif Display', serif;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* Navbar styles */
#nav.scrolled {
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.3);
}

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

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(15px) rotate(50deg); }
}

.hero-shape-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    animation: float-reverse 8s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #FDF6EE;
}

::-webkit-scrollbar-thumb {
    background: #C0601E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F97316;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #F97316;
    color: white;
}
