/* --- CSS Reset & Variables --- */
:root {
    --primary-color: #2e7d32;
    --primary-hover: #1b5e20;
    --accent-color: #81c784;
    --bg-light: #f4fbf5;
    --surface-white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --border-color: #d1d5db;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Layout Wrappers --- */
header, main, footer {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
}

main {
    flex: 1;
    background: var(--surface-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

/* --- Header & Navigation --- */
header {
    padding: 2rem 0 1rem;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.75rem;
    background-color: var(--surface-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

figure {
    margin: 1.5rem auto;
    text-align: center;
}

figure img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0.5rem;
}

figcaption {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* --- Typography & Content Sections --- */
h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

h3 {
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

aside {
    background-color: #e8f5e9;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

details summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
}

details p {
    margin-top: 0.5rem;
}

/* --- Table (Menu) --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--surface-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

caption {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: left;
}

th, td {
    padding: 0.85rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

thead th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

tbody tr:hover {
    background-color: #f9fbf9;
}

tfoot td {
    font-style: italic;
    color: var(--text-muted);
    background-color: #fafafa;
}

/* --- Store Hours (Definition List) --- */
dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.75rem 1.5rem;
    margin: 1.5rem 0;
}

dt {
    font-weight: bold;
    color: var(--primary-color);
}

dd {
    color: var(--text-dark);
}

/* --- Forms --- */
form fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

form p {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-right: 0.5rem;
}

button:hover {
    background-color: var(--primary-hover);
}

button:active {
    transform: scale(0.98);
}

button[type="reset"] {
    background-color: #6b7280;
}

button[type="reset"]:hover {
    background-color: #4b5563;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 1.5rem 0 2rem;
    color: var(--text-muted);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    dl {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    dd {
        margin-bottom: 1rem;
    }
}