/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Elegante, dunkle Braunpalette */
    --color-primary: #4B3621;          /* Hauptbraun: dunkel, warm */
    --color-primary-dark: #2E2014;     /* noch dunkleres Braun für Hover/Flächen */
    --color-primary-light: #7A5A36;    /* helleres Braun für Details */
    --color-secondary: #E4D4C3;        /* warmes, helles Creme/Beige */
    --color-accent: #C29B68;           /* dezentes Gold-Braun für Akzente */
    --color-text: #26211B;
    --color-text-light: #6F6255;
    --color-bg: #F6EFE7;               /* leicht getöntes Off-White mit warmem Stich */
    --color-bg-light: #FBF6F0;
    --color-white: #FFFFFF;
    --color-border: rgba(75, 54, 33, 0.16);
    
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    
    --transition: all 0.25s ease;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: radial-gradient(circle at top, #FFFFFF 0, var(--color-bg) 55%, #EFE7DA 100%);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(20, 13, 8, 0.96); /* dunkler, eleganter Streifen */
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(194, 155, 104, 0.45);
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(194, 155, 104, 0.8) 15%, rgba(194, 155, 104, 0.8) 85%, transparent 100%);
    opacity: 0.9;
    pointer-events: none;
}

.navbar.scrolled {
    background: rgba(17, 11, 7, 0.98);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block; /* Show by default */
    background: transparent;
    opacity: 1;
}

.logo-text {
    display: none; /* Hidden by default, shown only if logo fails to load */
}

.logo h1,
.logo .logo-text {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(246, 239, 230, 0.92);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(139, 111, 71, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.7rem 0.6rem;
    z-index: 1001;
    transition: var(--transition);
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
}

.menu-toggle:hover {
    background: rgba(139, 111, 71, 0.15);
    border-color: var(--color-primary-dark);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.menu-toggle.active {
    background: var(--color-primary);
    border-color: var(--color-primary-dark);
}

.menu-toggle.active span {
    background: var(--color-white);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/content-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Etwas transparenter, damit das Hintergrundbild deutlicher sichtbar bleibt */
    background: linear-gradient(135deg, rgba(27, 16, 10, 0.68), rgba(75, 54, 33, 0.6));
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 2.5rem;
}

.restaurant-name {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    margin-bottom: 0.8rem;
    opacity: 0.95;
    text-transform: uppercase;
    animation: fadeIn 1.2s ease-out;
}

.main-title {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    text-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    animation: fadeIn 1.4s ease-out;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.75), var(--color-accent), rgba(255,255,255,0.75));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.95;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    animation: fadeIn 1.6s ease-out;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.8s ease-out;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    margin-top: 2.5rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    color: var(--color-white);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.25);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    border: 1px solid rgba(194, 155, 104, 0.5);
    background: rgba(75, 54, 33, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 1.7;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.section-header h2::before {
    left: -80px;
}

.section-header h2::after {
    right: -80px;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    margin: 0 auto 1.5rem;
    border-radius: 1px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.8rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    position: relative;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/content-bg.jpg');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text {
    background: rgba(255, 255, 255, 0.96);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    border-left: 3px solid var(--color-accent);
}

.about-text::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 100px;
    font-family: var(--font-primary);
    color: var(--color-primary-light);
    opacity: 0.15;
    line-height: 1;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--color-text-light);
    text-align: justify;
    position: relative;
    z-index: 1;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.mobile-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.mobile-info-badge svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .mobile-info-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .mobile-info-badge svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .mobile-info-badge {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .mobile-info-badge svg {
        width: 14px;
        height: 14px;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Section */
.menu {
    background: radial-gradient(circle at top, var(--color-bg-light) 0, var(--color-bg) 60%, #E6DDCE 100%);
    position: relative;
    padding: 4rem 0;
}

.menu-display {
    margin-top: 3rem;
}

.current-menu {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(47, 79, 79, 0.16);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.menu-header {
    background: linear-gradient(135deg, #1F140D 0%, var(--color-primary) 45%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.menu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.menu-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.menu-header h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 0.8rem 0;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-date-range {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    margin: 0;
}

.menu-week {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.menu-preview {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 2.5rem;
    background: var(--color-white);
}

.menu-preview img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-preview img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.menu-preview iframe {
    width: 100%;
    max-height: 80vh;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.menu-viewer-simple {
    position: relative;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    min-height: 700px;
    overflow: hidden;
    border: 1px solid rgba(75, 54, 33, 0.14);
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

.menu-viewer-simple img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.menu-viewer-simple img:hover {
    transform: scale(1.02);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999; /* Höher als alles andere, inkl. Navbar */
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalPopUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
}

.modal-content {
    position: relative;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    max-width: 90vw;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100000; /* Höher als Overlay */
    margin: auto;
    animation: modalPopUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001; /* Höher als modal-content */
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-viewer {
    flex: 1;
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 0;
    box-sizing: border-box;
}

.modal-viewer.zoomed {
    overflow: auto;
    cursor: grab;
}

.modal-viewer.zoomed:active {
    cursor: grabbing;
}

.modal-viewer img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    transition: transform 0.3s ease-out;
    object-fit: contain;
}

.modal-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.modal-viewer > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.modal-content .zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    z-index: 100001; /* Höher als modal-content */
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.menu-viewer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.menu-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 700px;
    padding: 3rem;
    background: rgba(47, 79, 79, 0.03);
}

.placeholder-content {
    text-align: center;
    color: var(--color-text-light);
}

.menu-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-light);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.placeholder-content h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.menu-viewer-simple img,
.menu-viewer-simple iframe,
.menu-viewer-simple embed {
    width: 100%;
    height: auto;
    min-height: 700px;
    border: none;
    display: block;
    border-radius: 15px;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain;
    box-sizing: border-box;
}

.menu-viewer > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: visible;
}

.menu-viewer img.zoomable {
    cursor: default;
    max-width: none;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection */
.menu-viewer img,
.menu-viewer > div {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-viewer iframe {
    min-height: 900px;
}

.zoom-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.zoom-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(75, 54, 33, 0.3);
}

.zoom-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(75, 54, 33, 0.4);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.zoom-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.menu-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.menu-item {
    background: var(--color-white);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(75, 54, 33, 0.08);
    transition: left 0.5s;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.menu-item.active {
    border-color: var(--color-primary);
    background: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.menu-item.active::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.menu-item h4 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.menu-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
}

.menu-item .menu-date {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--color-bg);
    position: relative;
    padding-bottom: 4rem;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(47, 79, 79, 0.12);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 15px 15px 0 0;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(47, 79, 79, 0.3);
    background: var(--color-bg-light);
}

.contact-item h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.contact-opening {
    text-align: left;
}

.opening-list {
    list-style: none;
    margin: 0 0 0.75rem 0;
    padding: 0;
    border-top: 1px solid rgba(47, 79, 79, 0.12);
}

.opening-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(47, 79, 79, 0.15);
    font-size: 0.95rem;
}

.opening-day {
    font-weight: 500;
    color: var(--color-text);
}

.opening-time {
    font-family: var(--font-secondary);
    color: var(--color-text-light);
}

.opening-note {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .opening-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

.contact-item p {
    color: var(--color-text-light);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

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

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

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 4rem 0 2.5rem;
    text-align: center;
    position: relative;
    border-top: 2px solid var(--color-primary);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin: 0.8rem 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.footer-content p:first-child {
    font-weight: 600;
    letter-spacing: 0.8px;
    font-size: 1.1rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--color-white);
    transform: scaleX(0);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.5rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Legal Pages */
.legal-section {
    padding: 8rem 0 5rem;
    background: var(--color-bg-light);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    line-height: 1.8;
}

.legal-content h1 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
}

.legal-content h2 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-family: var(--font-primary);
    color: var(--color-primary-dark);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--color-text);
    margin-bottom: 1.2rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--color-text);
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--color-primary-dark);
}

.legal-content .btn,
.legal-content a.btn {
    color: var(--color-white);
    text-decoration: none;
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--color-primary);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner-text h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.cookie-banner-text p {
    color: var(--color-text);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.cookie-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-banner-text a:hover {
    color: var(--color-primary-dark);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
}

/* Cookie Settings Modal */
.cookie-settings {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
}

.cookie-settings.active {
    display: block;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-settings-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    animation: modalPopUp 0.3s ease-out;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--color-border);
}

.cookie-settings-header h2 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 0;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-close:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.cookie-settings-close svg {
    width: 24px;
    height: 24px;
}

.cookie-settings-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-category-header h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 1.3rem;
    margin: 0;
}

.cookie-category p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: var(--color-primary-light);
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-settings-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 2px solid var(--color-border);
    text-align: center;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 1.5rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-actions .btn {
        width: 100%;
    }

    .cookie-settings-content {
        width: 95%;
        max-height: 95vh;
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-item {
    animation: fadeIn 0.5s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--color-white);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(139, 111, 71, 0.2);
        padding: 2.5rem 0 3rem;
        gap: 0;
        border-bottom: 3px solid var(--color-primary);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(139, 111, 71, 0.1);
        color: var(--color-text);
        font-weight: 600;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(139, 111, 71, 0.05);
        color: var(--color-primary);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-content {
        padding: 0.8rem 0;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-content {
        padding: 0.8rem 0;
    }
    
    .logo-image {
        height: 50px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header h2::before,
    .section-header h2::after {
        display: none;
    }

    .current-menu {
        padding: 1.5rem 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        width: calc(100% + 40px);
        margin: 0 -20px;
    }
    
    .menu-header h3 {
        font-size: 1.6rem;
    }
    
    .menu-preview {
        min-height: 0;
        padding: 0;
    }
    
    .menu-preview iframe {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }

    .menu-viewer {
        min-height: 500px;
    }

    .menu-viewer img,
    .menu-viewer iframe,
    .menu-viewer embed {
        min-height: 500px;
    }

    .zoom-controls {
        top: 10px;
        right: 10px;
        padding: 0.4rem;
        flex-direction: row; /* Horizontal on mobile */
        gap: 0.3rem;
    }

    .zoom-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .zoom-btn svg {
        width: 18px;
        height: 18px;
    }

    .menu-viewer-simple {
        min-height: 400px;
        border-radius: 0;
        margin: 0 -20px;
        border-left: none;
        border-right: none;
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
    }

    .menu-viewer-simple img {
        border-radius: 0;
        min-height: auto;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-viewer {
        padding: 1rem;
    }
    
    .modal-content .zoom-controls {
        bottom: 10px;
        right: 10px;
        padding: 0.4rem;
    }

    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .logo-image {
        height: 45px;
        max-width: 150px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo .tagline {
        font-size: 0.75rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 0;
    }

    .about-text {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.8rem;
    }

    .restaurant-name {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .logo-image {
        height: 40px;
        max-width: 120px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo .tagline {
        font-size: 0.7rem;
    }

    .zoom-controls {
        top: 5px;
        right: 5px;
        padding: 0.3rem;
    }

    .zoom-btn {
        width: 36px;
        height: 36px;
    }

    .current-menu {
        padding: 1rem;
    }
    
    .menu-header h3 {
        font-size: 1.4rem;
    }
    
    .menu-week {
        font-size: 0.95rem;
    }
    
    .menu-preview {
        min-height: 0;
        padding: 1.25rem;
    }
    
    .menu-preview iframe {
        max-height: 70vh;
    }
    
    .image-modal {
        padding: 5px;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .modal-viewer {
        padding: 0.5rem;
    }
    
    .modal-content .zoom-controls {
        bottom: 5px;
        right: 5px;
        padding: 0.3rem;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}
