/* Custom CSS for Sam's Fresh Spot */

:root {
    --navy-900: #0a1628;
    --navy-800: #1a2744;
    --gold-500: #d4a574;
    --gold-600: #c49464;
    --cream: #faf8f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy-900);
    background-color: var(--cream);
    line-height: 1.6;
}

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

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Custom color classes */
.text-navy-900 {
    color: var(--navy-900);
}

.text-navy-800 {
    color: var(--navy-800);
}

.text-navy-700 {
    color: #2d3f5c;
}

.bg-navy-900 {
    background-color: var(--navy-900);
}

.bg-cream {
    background-color: var(--cream);
}

.text-gold {
    color: var(--gold-500);
}

.bg-gold {
    background-color: var(--gold-500);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Image hover effects */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-900);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    section {
        padding: 80px 0;
    }
}
