/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #E7E1D8;
    --color-bg-light: #ddd7ce;
    --color-bg-section: #e0dbd2;
    --color-primary: #3d4f3f;
    --color-primary-dark: #2d3b2f;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #5a5a5a;
    --color-white: #ffffff;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Futura LT', 'Futura', sans-serif;
    --max-width: 1200px;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Navigation ===== */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: background 0.3s ease;
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: var(--nav-height);
}

.nav-brand a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-brand a:hover {
    color: var(--color-white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

.nav-toggle.active .hamburger-icon {
    background: transparent;
}

.nav-toggle.active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    z-index: 0;
    background: #000;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide {
        transition: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.hero-logo {
    max-width: 400px;
    width: 80%;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    min-width: 200px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary:visited {
    background: var(--color-primary);
    color: #fff;
}

/* Language toggle */
.lang-toggle {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-toggle:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 0.75rem;
    color: #222;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

/* ===== Story Section ===== */
.story-section {
    background: var(--color-bg);
    padding: 2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.story-text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -50px;
    width: 100%;
    height: 100%;
    background-image: url('aboutwatermark.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.story-text p {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* ===== Gallery Carousel Section ===== */
.gallery-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--color-bg);
    padding: 4rem 0;
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.newsletter-section p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

.newsletter-form .btn {
    width: 100%;
}

/* ===== Menu Section ===== */
.menu-section {
    background: var(--color-bg);
}

.btn-menu-pdf {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    display: inline-block;
    text-decoration: none;
}

/* ===== Footer ===== */
#footer {
    background: var(--color-bg-section);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('contacttrain.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-map {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr td {
    padding: 0.1rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.hours-table tr td:first-child {
    font-weight: 500;
    color: #222;
}

.hours-table tr td:last-child {
    text-align: right;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-info strong {
    color: #222;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary-dark);
}

.kitchen-note {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.deviating-hours {
    margin-top: 1rem;
}

.deviating-hours h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.deviating-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-map {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .story-text {
        padding: 1rem;
        background-size: 60%;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: none;
    }

    .nav-links a {
        color: #fff;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .menu-grid {
        /* Container for tab content panels */
    }

    .tab-content.active {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        gap: 0.4rem;
    }

    .menu-tab {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-map {
        grid-column: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .navbar {
        padding: 0 1.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 6rem;
    z-index: 1100;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-bg-light);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 65ch;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent__actions .btn {
    padding: 0.7rem 1.75rem;
    font-size: 0.8rem;
}

/* Decline reads as the quieter, secondary choice next to Accept. */
.cookie-consent__actions .btn-secondary,
.cookie-consent__actions .btn-secondary:visited {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.cookie-consent__actions .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

@media (max-width: 640px) {
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 5.5rem;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }

    .cookie-consent__actions {
        justify-content: center;
    }
}
