:root {
    /* Color Palette */
    --bg: #f4efe6;
    --surface: #fffdf8;
    --text: #201c18;
    --text-light: #6e665d;
    --dark: #191713;
    --accent: #9b7440;
    --accent-hover: #7d5e34;
    --green: #314a3a;
    --border: rgba(32, 28, 24, 0.1);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --space-xl: 8rem;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;
}

/* Mobile First Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-top: 0;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--dark);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--accent);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-phone {
    background-color: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
}

.btn-phone .full-text { display: none; }
.btn-phone .short-text { display: inline; }

/* Form Styles */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(155, 116, 64, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.85rem;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.form-message.success {
    background: rgba(49, 74, 58, 0.1);
    color: var(--green);
    border: 1px solid var(--green);
}

.form-message.error {
    background: rgba(214, 48, 49, 0.1);
    color: #d63031;
    border: 1px solid #d63031;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (min-width: 768px) {
    .btn-phone {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .btn-phone .full-text { display: inline; }
    .btn-phone .short-text { display: none; }
}

.btn-phone:hover {
    background-color: var(--accent-hover);
}

/* Mobile Header */
header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-actions {
        gap: 1rem;
    }
}

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--surface);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    padding: 5rem 2rem;
    z-index: 1000;
}

#main-nav.active {
    right: 0;
}

#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-nav li {
    margin-bottom: 1.5rem;
}

#main-nav a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

#main-nav a.active {
    color: var(--accent);
}

/* Sections */
.section {
    padding: var(--space-l) 0;
}

.section.alternate {
    background-color: var(--surface);
}

.text-center { text-align: center; }
.narrow-content { max-width: 800px; margin: 0 auto; }
.lead { font-size: 1.25rem; color: var(--text-light); }
.eyebrow { 
    display: block; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--accent); 
    font-weight: 700; 
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Page Headers */
.page-header {
    background-color: var(--dark);
    color: #fff;
    padding: var(--space-l) 0;
    text-align: center;
}

.page-header h1 { margin-bottom: 0.5rem; }

/* Grid Systems */
.feature-grid {
    display: grid;
    gap: var(--space-m);
    align-items: center;
}

.feature-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Hero Enhancements */
.hero-intro { font-size: 1.25rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; }

/* Menu Page */
.menu-nav {
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-m);
}

.menu-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.menu-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-header { margin-bottom: var(--space-m); }
.menu-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.subtitle { font-style: italic; color: var(--text-light); }

.menu-feature {
    max-width: 600px;
    margin: 0 auto var(--space-m);
}

.menu-feature img { border-radius: 4px; }

/* Events */
.events-grid {
    display: grid;
    gap: var(--space-m);
}

.event-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.event-image img { width: 100%; height: auto; max-height: 400px; object-fit: contain; background: #000; }
.event-content { padding: 1.5rem; }
.event-date { margin-bottom: 1rem; color: var(--accent); }
.event-date strong { display: block; font-size: 1.1rem; }

/* Timeline */
.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    margin-bottom: 3rem;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-image { margin: 2rem 0; }
.timeline-image img { border-radius: 4px; }

/* Skip to Content */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 1rem;
    z-index: 2000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Gallery Grid */
.gallery-grid {
    columns: 1;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 600px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        columns: 3;
    }
}

/* Responsive Overrides */
@media (min-width: 768px) {
    .header-inner { padding: 1rem 0; }
    .logo img { height: 60px; }
    .nav-toggle { display: none; }
    
    #main-nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        display: block;
    }
    
    #main-nav ul {
        display: flex;
        gap: 2rem;
    }
    
    #main-nav li { margin-bottom: 0; }
    
    #main-nav a {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .hide-mobile { display: inline-block; }
    
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }
    
    .footer-logo { margin: 0 0 1rem; }
    
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-grid.reverse .feature-image { order: -1; }
    
    .timeline-item {
        display: grid;
        grid-template-columns: 150px 1fr;
        gap: 2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    padding: var(--container-padding);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Menu Layout */
.menu-section {
    padding: var(--space-l) 0;
}

.menu-grid {
    display: grid;
    gap: var(--space-m);
}

.menu-category h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item {
    margin-bottom: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.menu-item-name {
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.menu-item-price {
    font-weight: 600;
    color: var(--accent);
    margin-left: 1rem;
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.25rem;
}

.section-desc {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-light);
}

.menu-items {
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .menu-item-header {
        flex-direction: column;
        gap: 0;
    }
    .menu-item-price {
        margin-left: 0;
        margin-bottom: 0.25rem;
    }
    .hero {
        height: 70vh;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

.dietary {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
}

.back-to-top-wrapper {
    padding: var(--space-m) 0;
    text-align: right;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: #fff;
    padding: var(--space-l) 0;
}

.footer-shell {
    display: grid;
    gap: 3rem;
}

.footer-main {
    display: grid;
    gap: 2.5rem;
}

.footer-brand {
    display: grid;
    gap: 1.25rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
}

.footer-brand-copy h2 {
    color: var(--accent);
    margin: 0 0 .5rem;
    font-size: 1.5rem;
}

.footer-address {
    color: rgba(255,255,255,.7);
    margin: 0;
    line-height: 1.6;
}

.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.footer-call-btn {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: .75rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s ease;
}

.footer-call-btn:hover {
    background: var(--accent-hover, #b58b50);
}

.footer-directions-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.footer-hours h3,
.footer-nav h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    color: #fff;
}

.hours-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.hours-day {
    color: rgba(255,255,255,.72);
}

.hours-time {
    color: #fff;
    text-align: right;
    font-weight: 600;
}

.footer-nav ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
}

.footer-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a,
.footer-legal-links a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

.footer-nav a:hover,
.footer-legal-links a:hover,
.footer-nav a:focus-visible,
.footer-legal-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    font-size: .9rem;
}

.footer-bottom-copy {
    display: grid;
    gap: .35rem;
}

.footer-bottom-copy p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: .85rem;
    line-height: 1.5;
}

.designer-credit a {
    color: rgba(255,255,255,.78);
}

@media (min-width: 760px) {
    .site-footer {
        padding-top: 4rem;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr) minmax(180px, .6fr);
        align-items: start;
        gap: 4rem;
    }

    .footer-nav ul {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .footer-bottom-copy {
        text-align: right;
    }
}

/* Responsive Enhancements */
@media (min-width: 768px) {
    .hide-mobile { display: inline-block; }
    
    .nav-toggle { display: none; }
    
    #main-nav {
        position: static;
        display: block;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        max-width: none;
    }

    #main-nav ul {
        display: flex;
        gap: 2rem;
    }

    #main-nav li {
        margin-bottom: 0;
    }

    #main-nav a {
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid.alternate .feature-image {
        order: 2;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}
