/* Globale Stile und moderne Variablen */
:root {
    --primary-color: #121212;
    /* Weicheres Schwarz */
    --secondary-color: #1E1E1E;
    /* Für Karten-Hintergründe */
    --accent-color: #F57F01;
    --text-color: #EAEAEA;
    --font-headings: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

/* Header und Navigation - Modern & schlank */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 90px;
    /* Angepasst für eine bessere Balance */
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section mit Video */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.4));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: clamp(2.5rem, 8vw, 6rem);
    /* Responsive Schriftgröße */
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    /* NEU: Flacker-Animation hinzugefügt */
    animation: fire-flicker 4s infinite alternate;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--text-color);
}

.cta-button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Allgemeine Sektionen */
section {
    padding: 100px 0;
}

section h2 {
    font-family: var(--font-headings);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 50px;
    color: var(--accent-color);
    text-transform: uppercase;
}

#about {
    background: var(--primary-color);
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* NEU: Story Sektion */
#story {
    background-color: var(--secondary-color);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.story-image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    /* Rundes Bild für persönlichen Touch */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--accent-color);
}


/* Speisekarte - Modernes Karten-Layout mit Bildern */
#menu {
    background-color: var(--secondary-color);
}

/* NEU: Kategorien-Überschriften */
.menu-category {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

.menu-category[data-category="main"] {
    margin-top: 0;
}

.container {
    text-align: center;
    /* Zentriert die Kategorie-Überschriften */
}

/* Liste für Sides und Drinks */
.menu-lists-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.menu-list-section {
    flex: 1 1 300px;
    max-width: 500px;
    background: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-list-section h3 {
    margin-top: 0;
    margin-bottom: 25px;
    width: 100%;
    text-align: center;
}

.menu-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    color: var(--text-color);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li span:first-child {
    font-weight: 600;
}

.menu-list li span.price {
    color: var(--accent-color);
    font-weight: 700;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    perspective: 1500px;
    /* Wichtig für 3D-Effekte der Kinder */
}

.menu-item {
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    /* Wichtig für Pseudo-Elemente und Badge */
    text-align: left;
}

.menu-item img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.02);
    /* NEU: Sanfterer Übergang für Hover-Effekt */
    transition: transform 0.4s ease-out;
}

/* NEU: Bild-Zoom beim Hovern der Karte */
.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    margin: 20px 20px 10px 20px;
    /* Abstand für den Text */
    color: var(--accent-color);
}

.menu-item p {
    margin: 0 20px 20px 20px;
    flex-grow: 1;
    /* Sorgt dafür, dass die Karten die gleiche Höhe haben */
}

.menu-item .price {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    text-align: right;
    margin: 0 20px 20px 20px;
}

/* NEU: Interaktiver Glanz-Effekt */
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 200px at var(--mouse-x) var(--mouse-y),
            rgba(255, 179, 0, 0.2),
            transparent 80%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-item:hover::before {
    opacity: 1;
}

/* NEU: Chef's Special Badge */
.special-badge {
    position: absolute;
    top: 15px;
    left: -10px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 3px;
    transform: rotate(-10deg);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 5;
}


/* Kontakt & Standort */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 2;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
}

/* Hamburger & Mobile Responsiveness */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background: var(--text-color);
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.95);
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a:hover::after {
        width: 50%;
        left: 25%;
    }

    .hamburger {
        display: block;
    }

    section {
        padding: 60px 0;
    }

    /* NEU: Story Sektion auf Mobilgeräten */
    .story-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animationen für das Scrollen */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ÄNDERUNG START --- */
/* Parallax Sektion - Allgemeine Stile */
.parallax {
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    /* Padding beibehalten */
}

#parallax-break-1 {
    background-image: url('https://dollstravels.com/wp-content/uploads/2020/12/2020MALTA_xlendi_sergiuborcuta_10007-min-scaled.jpg');
}

#parallax-break-2 {
    background-image: url('https://dollstravels.com/wp-content/uploads/2020/12/2020MALTA_xlendi_sergiuborcuta_10003-min-scaled.jpg');
}


.parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.parallax-content h2 {
    color: #fff;
}

/* NEU: Keyframes für Flacker-Animation */
@keyframes fire-flicker {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.7),
            0 0 12px rgba(245, 127, 1, 0.6),
            0 0 20px rgba(224, 77, 1, 0.4);
    }

    50% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
            0 0 18px rgba(245, 127, 1, 0.7),
            0 0 30px rgba(224, 77, 1, 0.5);
    }
}