body {
    font-family: 'Bodoni Moda', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

header img {
    max-height: 60px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.burger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    z-index: 1010;
    /* Ensure the burger button stays on top */
}

nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    font-family: 'Inconsolata', monospace;
}

.nav-left {
    justify-content: right;
    padding-right: 5rem;
}

.nav-right {
    justify-content: space-between;
    padding-left: 5rem;
    padding-right: 10px;
}

nav a {
    margin: 0 15px;
    padding: 10px 20px;
    transition: color 0.5s ease, background-color 0.5s ease;
    color: #555;
    text-decoration: none;
    border-radius: 25px;
}

nav a:hover {
    color: #ffffff;
    background-color: #333;
}

.nav-menu {
    display: none;
}

.phone-number {
    font-size: 1.4rem;
    letter-spacing: 0;
    color: #333;
    display: flex;
    align-items: center;
}

.phone-number i {
    margin-right: 10px;
    color: #555;
    align-content: center;
}

.phone-number a {
    color: #555;
    text-decoration: none;
}

.phone-number:hover i,
.phone-number:hover a {
    color: #ffffff;
}

.carousel {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 20px;
    display: block;
}

.carousel img.active {
    opacity: 1;
    position: relative;
}

.content {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.1rem;
    font-family: 'Italiana', serif;
    color: #222;
}

.content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.content h2 {
    font-size: 36px;
    margin: 60px 0 20px 0;
}

.content p {
    font-size: 20px;
    line-height: 1.8;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    font-family: 'Montserrat', serif;
    text-align: justify;
}

.menu-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.menu-gallery .main-image {
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.menu-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-thumbnails img:hover {
    transform: scale(1.1);
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin: 40px auto;
    width: 80%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.location-map {
    flex: 1.2;
    margin-right: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.opening-hours {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.opening-hours table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
}

.opening-hours td {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-family: 'Montserrat', serif;
}

.opening-hours td:first-child {
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #333;
    color: #fff;
    border-top: 1px solid #444;
    font-size: 13px;
    font-family: 'Montserrat', serif;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #ddd;
}

.contact-container {
    display: block;
    margin: 0 auto;
}

.contact-container p {
    margin: auto;
    text-align: center;
}

.contact-container p a {
    text-decoration: none;
    color: #666;
}

.hidden {
    display: none;
}

/* Media Queries for Responsiveness */

@media screen and (max-width: 1024px) {
    header {
        padding: 20px 0;
    }

    .burger-menu {
        display: block;
        order: 2;
        margin-left: auto;
        align-self: center;
    }

    nav.nav-left,
    nav.nav-right {
        display: none;
    }

    nav.nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        font-family: 'Inconsolata', monospace;
    }

    nav.nav-menu.active {
        transform: translateX(0);
    }

    nav.nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 20px 0;
        padding: 15px 0;
        color: #555;
        text-decoration: none;
        border-bottom: 1px solid #eaeaea;
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 0.15rem;
        text-transform: uppercase;
        font-family: 'Inconsolata', monospace;
    }

    nav.nav-menu a:last-child {
        border-bottom: none;
    }

    .phone-number {
        justify-content: center;
        width: 100%;
    }

    .burger-menu.active i {
        content: "\f00d";
        /* FontAwesome X icon */
    }

    .carousel img {
        height: 35vh;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content h2 {
        font-size: 1.6rem;
    }

    .content p {
        font-size: 1rem;
    }

    .menu-gallery .main-image {
        width: 100%;
    }

    .container {
        flex-direction: column;
        width: 90%;
    }

    .location-map {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .opening-hours {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 5%;
    }

    header img {
        margin-left: auto;
        margin-right: auto;
    }

    .burger-menu {
        display: block;
        order: 2;
        margin-left: auto;
        /* Keep the burger button on the right side */
        align-self: center;
        /* Align with the logo */
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        /* Ensure the menu is over other content */
    }

    nav.active {
        transform: translateX(0);
    }

    nav.nav-left,
    nav.nav-right {
        display: none;
        /* Hide original nav items on mobile */
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 20px 0;
        padding: 15px 0;
        color: #555;
        text-decoration: none;
        border-bottom: 1px solid #eaeaea;
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 0.15rem;
        text-transform: uppercase;
        font-family: 'Inconsolata', monospace;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .phone-number {
        justify-content: center;
        width: 100%;
    }

    .burger-menu.active i {
        content: "\f00d";
        /* FontAwesome X icon */
    }

    .menu-thumbnails img {
        width: 80px;
        height: 80px;
    }

    .location-map {
        height: 300px;
    }

    .opening-hours td {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-left,
    .nav-right {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 10px;
    }

    .phone-number {
        justify-content: flex-start;
        width: 100%;
    }

    .menu-thumbnails img {
        width: 60px;
        height: 60px;
    }

    .location-map {
        height: 250px;
    }

    .opening-hours td {
        font-size: 14px;
    }
}