/* Custom styles for Donuts & Sandwiches website */

:root {
    --burgundy: #800020;
    --burgundy-dark: #5c0017;
    --blush: #F5E6E8;
    --cream: #FDFBF7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #374151;
    background-color: var(--cream);
}

/* Typography */
.font-serif {
    font-family: 'Instrument Serif', serif;
}

/* Navigation */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--burgundy);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

/* Menu items */
.menu-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(128, 0, 32, 0.08);
}

/* Fade-in animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Decorative lines */
.line-decoration {
    position: relative;
}

.line-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 1px;
    background-color: var(--burgundy);
}

/* Section spacing */
section {
    position: relative;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-dark);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}
