/* Modern responsive design */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --brand: #422925;
    --brand-light: #5D3D37;
    --brand-dark: #2E1C19;
    --brand-gold: #D4A574;
    --brand-gold-light: #E6C199;
    --bg: #E6D2B5;
    --bg-subtle: #F0E4D0;
    --card: #FFFBF7;
    --card-hover: #FFF;
    --text: #1A1A1A;
    --text-light: #4A4A4A;
    --muted: #6B6B6B;
    --accent: #0d3b2e;
    --accent-light: #156B4D;
    --border: rgba(66, 41, 37, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --max-w: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    line-height: 1.6;
    letter-spacing: -0.011em;
}

/* Modern fluid typography */
h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.25rem, 3.6vw, 1.75rem);
    margin: 0 0 1rem 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.3;
}

.site-header {
    background: var(--brand);
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

/* Navigation tabs */
.nav-tabs {
    background: var(--card);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav-tabs-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand) transparent;
}

.nav-tabs-container::-webkit-scrollbar {
    height: 4px;
}

.nav-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

.nav-tabs-container::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 2px;
}

.nav-tab {
    padding: 16px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.nav-tab:hover {
    color: var(--brand);
    background: var(--bg-subtle);
}

.nav-tab.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.nav-tab:focus {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    display: block;
}

.tagline {
    margin: 0;
    opacity: .92;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.lang-switch {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.lang-switch button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    min-width: 52px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-switch button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.lang-switch button[aria-pressed="true"] {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: var(--max-w);
    margin: 24px auto;
    padding: 0 20px;
    width: 100%;
}

/* Modern card styles */
.hero,
.hours,
.location,
.contact,
.menu,
.services,
.reservation {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero:hover,
.hours:hover,
.location:hover,
.contact:hover,
.menu:hover,
.services:hover,
.reservation:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--card-hover);
}

.hero p {
    margin: 12px 0 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

.location {
    display: grid;
    gap: 16px;
}

.address {
    font-weight: 600;
    word-break: break-word;
    color: var(--text);
    font-size: 1.05rem;
}

.map-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hours-list,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.hours-list li,
.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.hours-list li:hover,
.contact-item:hover {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.hours-list .day,
.contact-item .label {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.time {
    color: var(--text-light);
    font-feature-settings: "tnum";
    font-weight: 500;
}

.contact-item a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--brand-light);
    text-decoration: underline;
}

/* Modern menu section */
.menu-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.menu-actions a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--brand-dark);
}

.menu-actions a.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
}

.menu-actions a.button:active {
    transform: translateY(0);
}

.menu-embed {
    margin-top: 20px;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.menu-embed iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--muted);
    font-size: .95rem;
    background: var(--bg-subtle);
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

/* Modern services section */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--bg-subtle) 0%, rgba(255, 250, 245, 0.8) 100%);
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.service-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #fff 0%, var(--bg-subtle) 100%);
    border-color: var(--accent);
}

.service-icon {
    font-size: 1.5rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Reservation section styles */
.reservation-intro {
    margin: 12px 0 24px 0;
    font-size: 1.05rem;
    color: var(--text-light);
}

.reservation-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 24px;
}

.reservation-form-container h3,
.reservation-phone h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--brand);
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--card);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(91, 13, 13, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--brand-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Phone booking styles */
.reservation-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--bg-subtle) 0%, rgba(255, 250, 245, 0.8) 100%);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.reservation-phone p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0 0 24px 0;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-link:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.phone-icon {
    font-size: 1.5rem;
}

.phone-hours {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 500;
}

/* Enhanced touch targets and accessibility */
a,
button {
    -webkit-tap-highlight-color: transparent;
}

/* Modern accessibility focus states */
a:focus,
button:focus {
    outline: 3px solid var(--brand-light);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand-light);
    outline-offset: 3px;
}

/* Mobile-responsive adjustments */
@media (max-width:600px) {
    .site-header {
        padding: 24px 16px;
    }

    .container {
        margin: 20px auto;
        padding: 0 16px;
    }

    .hero,
    .hours,
    .location,
    .contact,
    .menu,
    .services,
    .reservation {
        padding: 20px;
        border-radius: var(--radius-sm);
    }

    .hours-list li,
    .contact-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
    }

    .menu-embed iframe {
        height: 350px;
    }

    .service-item {
        padding: 12px;
    }

    h2 {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .reservation-phone {
        padding: 24px 16px;
    }

    .nav-tabs-container {
        padding: 0 12px;
    }

    .nav-tab {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .logo-image {
        height: 60px;
    }

    /* Hide embedded PDF preview on very narrow screens to save bandwidth */
    @media (max-width:420px) {
        .menu-embed {
            display: none;
        }
    }
}

/* Desktop enhancements */
@media (min-width:701px) {
    .site-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 28px 32px;
    }

    .brand {
        align-items: flex-start;
        text-align: left;
    }

    .container {
        margin: 40px auto;
    }

    .hours-list li,
    .contact-item {
        padding: 16px 18px;
    }

    .hero,
    .hours,
    .location,
    .contact,
    .menu,
    .services,
    .reservation {
        padding: 32px;
    }

    .reservation-options {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .logo-image {
        height: 100px;
    }
}

/* Large desktop refinements */
@media (min-width:1024px) {
    .container {
        padding: 0 32px;
    }

    .site-header {
        padding: 32px 48px;
    }
}