/* 1928 Meat & Eat Kitchen - Optimized for WCAG 2.1/2.2 AA */

:root {
    --olive: #556b2f;       /* Pierson Fern Green */
    --rustic-brown: #8b4513; /* Comfort Meat Brown */
    --paper: #f4f1ea;       /* Warm Vintage Background */
    --charcoal: #2c3e50;    /* Easy-to-read Text */
}

/* --- ACCESSIBILITY DEFAULTS --- */
html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Georgia', 'Times New Roman', serif; 
    line-height: 1.6; 
    color: var(--charcoal);
    background-color: var(--paper);
    padding: 0;
    margin: 0;
}

/* Skip to Content Link - Hidden until Tabbed */
.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
    display: block;
    background: var(--rustic-brown);
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    z-index: 9999;
}

/* Focus indicator for keyboard users */
:focus {
    outline: 3px solid var(--rustic-brown);
    outline-offset: 3px;
}

/* --- NAVIGATION --- */
nav { 
    background: white;
    padding: 20px;
    border-bottom: 3px double var(--olive);
    text-align: center;
    margin-bottom: 40px;
}

.nav-btn { 
    display: inline-block;
    padding: 10px 20px; 
    margin: 5px 10px; 
    text-decoration: none; 
    color: var(--olive); 
    font-family: 'Verdana', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--olive);
    transition: 0.2s;
}

.nav-btn:hover, .nav-btn:focus { 
    background: var(--olive); 
    color: white; 
}

/* --- TITLES & HEADINGS --- */
h1 {
    font-family: 'Trebuchet MS', sans-serif;
    color: var(--rustic-brown);
    font-size: 3.2em;
    text-transform: uppercase;
    letter-spacing: 2px; 
    border-bottom: 2px solid var(--rustic-brown);
    display: inline-block;
    margin: 0 auto 40px auto; 
}

h2 {
    font-family: 'Trebuchet MS', sans-serif;
    color: #3b2824; /* Darker espresso brown for contrast */
    font-size: 2.2em;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 4px double var(--olive);
    padding-bottom: 10px;
    margin-top: 40px;
    text-align: center;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 8px;
    color: var(--rustic-brown);
}

/* --- LAYOUTS --- */
.container { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 20px;
    text-align: center;
}

.main-menu-layout {
    display: grid;
    grid-template-columns: minmax(200px, 435px) 1fr minmax(200px, 435px); 
    gap: 45px;
    align-items: start;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- MENU ITEMS --- */
.menu-item {
    transition: transform 0.2s ease;
    padding: 10px;
    margin-bottom: 15px;
}

.menu-item:hover {
    transform: scale(1.03); /* Subtle zoom */
    background-color: rgba(85, 107, 47, 0.05); 
}

.menu-item p {
    font-size: 1.1em;
    color: #444;
}

/* --- COMPONENTS --- */
.cash-badge {
    font-family: 'Verdana', sans-serif;
    font-size: 14px; /* Compliant legibility size */
    font-weight: bold;
    color: white;
    background-color: var(--rustic-brown);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    vertical-align: middle;
}

.rural-dresser {
    margin-top: 25px;
    padding: 15px;
    border: 4px double #5d2e0a; 
    background-color: #fdf5e6;
    text-align: center;
}

.hero-image {
    display: block; 
    margin: 20px auto;
    width: 100%;
    max-width: 400px; 
    height: auto;
    border: 4px solid var(--olive);
}

.photo-item {
    width: 100%;
    border: 3px solid var(--olive);
    border-radius: 8px;
    background: white;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- CONTACT & MISSION --- */
.contact-mission-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    gap: 50px;
    padding: 0 20px;
}

.contact-section, .mission-section {
    flex: 1;
}

.mission-section p {
    font-size: 1.2em;
    font-style: italic;
}

/* --- UTILITIES --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--olive);
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    font-family: 'Verdana', sans-serif;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid white;
    z-index: 1000;

/* ADD THESE 3 LINES */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* ADD THIS NEW BLOCK BELOW IT */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .main-menu-layout, .contact-mission-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}