/* Podstawowe stylowanie */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f5f2;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    width: 100%;
    background-color: #33B6CB;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.language-switcher {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.language-switcher button {
    padding: 5px 10px;
    margin: 0 5px;
    border: none;
    background-color: #33B6CB;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.language-switcher button.active {
    background-color: #99DAE5;
}

main {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

section {
    margin-bottom: 20px;
}

section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.menu-item img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 5px;
}

.menu-info h3 {
    font-size: 18px;
    margin: 0;
}

.menu-info p {
    margin: 5px 0;
}

.price {
    font-weight: bold;
    color: #99DAE5;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #8c644c;
    color: white;
    margin-top: 20px;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    z-index: 1000; /* On top */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    flex-direction: column;
}

.modal-content {
    max-width: 90%; /* Scale for mobile devices */
    max-height: 80%; /* Scale for mobile devices */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
    object-fit: contain; /* Maintain aspect ratio */
    position: relative; /* Needed for positioning the close button */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.caption {
    margin-top: 10px;
    color: white;
    font-size: 16px;
    text-align: center;
}

.close {
    position: absolute;
    top: 20px; /* Adjusted position */
    right: 20px; /* Adjusted position */
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close:hover {
        color: #ccc;
    }

/* Navigation List Styling */
.menu-nav {
    width: 100%;
    max-width: 600px;
    padding: 10px 20px;
    background-color: #68e5f8;
    margin-bottom: 20px;
}

    .menu-nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .menu-nav li {
        padding: 10px 0;
        border-bottom: 1px solid #8c644c;
    }

        .menu-nav li:last-child {
            border-bottom: none;
        }

    .menu-nav a {
        color: black;
        text-decoration: none;
        display: flex;
        align-items: center;
        font-size: 18px;
    }

    .menu-nav i {
        margin-right: 10px;
        font-size: 16px;
    }

    .menu-nav a:hover {
        color: #268898;
    }