/* ==========================================================================
   1. VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    --bg-color: #181310;       /* Dark coffee bean brown */
    --card-bg: #221c18;        /* Slightly lighter for container boxes */
    --text-color: #E0E0E0;     /* Off-white readability */
    --accent-color: #A67C52;   /* Muted accent brown */
    --border-color: #3b2e24;   /* Subtle divider lines */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-accent: "Caveat Brush", cursive, serif;
    --max-width: 800px;        /* Ideal reading width */
}

html {
    font-size: 112.5%; /* Bumps default base size from 16px to 18px */
}

/* ==========================================================================
   2. MODERN CSS RESET & BASE STYLES
   ========================================================================== */
/* Box sizing rules */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Body setup - flexible height for scrolling content */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the main layout container horizontally */
}

/* Ensure images don't overflow their parent containers */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Link defaults */
a {
    color: var(--accent-color);
    text-decoration: underline;
}

a:hover {
    color: #ffffff;
}

/* ==========================================================================
   3. SITEWIDE LAYOUT & TYPOGRAPHY
   ========================================================================== */
/* Main page container for readability */
main, .container {
    width: 100%;
    max-width: var(--max-width);
}

header, footer, section {
    margin-bottom: 2.5rem;
}

/* Typography Scale */
h1, h2, h3, h4 {
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Native List Styling for semantic content */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.4rem;
}

/* Nested list spacing */
li > ul, li > ol {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

/* ==========================================================================
   4. REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.accent {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 300;
    font-size: 0.7em;
    vertical-align: middle;
    transform: translateY(-15%);
}

.tagline {
    font-family: var(--font-accent);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    color: var(--accent-color);
    text-align: center;
}

/* Interactive Card Box (used on menu, callouts, event detail sections) */
#menu-container, .card {
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    background-color: var(--card-bg);
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* ==========================================================================
   FOOTER / SITE MAP
   ========================================================================== */
.site-footer {
    width: 100%;
    background-color: var(--card-bg); /* Slightly lighter background */
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem;
    margin-top: 4rem;
    text-align: center;
}

.site-footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Horizontal spacing between links */
}

.site-footer nav a {
    text-decoration: none;
    font-weight: 500;
}

.site-footer nav a:hover {
    text-decoration: underline;
}

.site-footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0;
}