/* Body und Grundformatierung */

body {
    font-family: 'Raleway', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: hsl(39, 90%, 88%);
    scroll-behavior: smooth;
    /* Smooth scroll für interne Links */
}


/* Stil für den Header */

header {
    background-color: hsl(39, 90%, 88%);
    color: white;
    text-align: center;
    padding: 20px;
    position: sticky;
    /* Sticky Header */
    top: 0;
    /* Fixiert den Header oben am Bildschirm */
    z-index: 1000;
    /* Setzt den Header über andere Elemente */
}


/* Stil für den Restaurantnamen */

.restaurant-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: bold;
    color: #0a0505;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: fadeIn 2s ease-in-out;
}


/* Animation für das Einblenden des Namens */

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


/* Anpassung der Top-Menüleiste */

.menu_top {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.menu_top ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    justify-content: space-around;
    width: 100%;
}

.menu_top ul.visible {
    display: block;
}

.menu_top ul li {
    text-align: center;
}

.menu_top ul li a {
    display: block;
    color: rgb(10, 6, 6);
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    /* Smooth Hover-Effekt */
}

.menu_top ul li a:hover {
    background-color: #0a0d24;
    color: white;
    border-radius: 5px;
    /* Abgerundete Kanten beim Hover */
}


/* Hamburger Menü Button */

.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
}


/* Stile für die Abschnitte */

section {
    padding: 50px 20px;
    scroll-margin-top: 100px;
    margin: 20px 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

h2 {
    text-align: center;
    color: #050808;
}


/* Hover-Effekt für interne Links */

a[href^="#"] {
    color: #060a0c;
    text-decoration: none;
}

a[href^="#"]:hover {
    color: #0a0d24;
    text-decoration: none;
    cursor: pointer;
}


/* Hover-Effekt für die Abschnitte */

section:hover {
    background-color: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


/* Zusätzliche Effekte für die Abschnitte beim Anklicken */

:target {
    background-color: #e6f7ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Kontakt-Sektion */

#contact {
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#contact h2 {
    text-align: center;
    color: #060a0c;
    margin-bottom: 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info,
.social-media,
.imprint,
.web-designer {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
}

.social-media {
    display: flex;
    flex-direction: column;
    /* Links untereinander anordnen */
    gap: 5px;
    /* Abstand zwischen den Links */
    width: 100%;
    /* Sicherstellen, dass der Container die volle Breite hat */
    align-items: flex-start;
    /* Links links ausrichten */
    height: auto;
    /* Höhe des Containers automatisch anpassen */
}

.social-media a {
    color: #2c83a5;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    /* Stellt sicher, dass der Link die volle Breite nutzt */
    border-radius: 3px;
    width: fit-content;
    /* Verhindert, dass der Link unnötig in die Breite gezogen wird */
    margin: 0;
    /* Entfernt zusätzliches Margin, das die Höhe beeinflussen könnte */
}

.social-media a:hover {
    color: #0a0d24;
    background-color: #f0f0f0;
}

.web-designer {
    text-align: center;
}

.designer-initials {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #a52c91;
}


/* Popup Styles */

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    /* Kein zusätzliches Padding, um den Inhalt vollständig anzuzeigen */
    width: 90%;
    max-width: 900px;
    /* Maximale Breite */
    min-height: 60vh;
    /* Mindesthöhe von 60% des Viewports */
    max-height: 90vh;
    /* Maximale Höhe von 90% des Viewports */
    overflow: hidden;
    /* Verhindert zusätzliches Scrollen des Popups */
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Responsive Design Anpassungen */

@media (max-width: 768px) {
    /* Anpassung der Schriftgröße für Tablets */
    .restaurant-name {
        font-size: 48px;
    }
    /* Anzeige des Hamburger-Menüs und Ausblenden der Standard-Menüleiste */
    .menu_top ul {
        display: none;
        /* Versteckt die normale Menüleiste */
    }
    .hamburger-menu {
        display: block;
        /* Zeigt das Hamburger-Menü-Icon an */
        position: absolute;
        top: 15px;
        right: 15px;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* Anpassungen für Smartphones */

@media (max-width: 480px) {
    .restaurant-name {
        font-size: 32px;
        letter-spacing: 4px;
    }
    section {
        padding: 50px 10px;
    }
}


/* Einblicke ins Restaurant */

#insights {
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#insights h2 {
    text-align: center;
    color: #030708;
    margin-bottom: 10px;
}

#insights p {
    text-align: center;
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
}

.image-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.image-item {
    flex: 1 1 calc(50% - 40px);
    text-align: center;
    max-width: 400px;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
}

.section-content {
    display: none;
    /* Versteckt den Inhalt standardmäßig */
}

.toggle-section {
    cursor: pointer;
    color: #0a0505;
    transition: color 0.3s ease;
}

.toggle-section:hover {
    color: #0a0d24;
}


/* Zusätzliche Stile für die Links, die das Popup öffnen */

.menu_top ul li a {
    cursor: pointer;
    /* Setzt den Cursor auf Pointer */
}