/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: black;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo a img {
    width: 150px;
}

header .navbar ul{
    list-style-type: none;
    display: flex;
}

header .navbar a {
    color: #ddd;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
    position: relative;
}

header .navbar a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transition: transform 0.5s ease;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
}

header .navbar a:hover::after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
}

.sidebar {
    position: fixed;
    height: 100vh;
    width: 200px;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: #0000009b;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;

}

.sidebar li {
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
}

.hideONpc {
    display: none;
}

@media (max-width: 992px) {
    nav {
        padding: 10px; /* Less padding for smaller screens */
    }

    nav ul {
        flex-direction: column; /* Stack items vertically */
        gap: 10px; /* Adjust gap for smaller screens */
    }

    .intro h2 {
        font-size: smaller;
    }

   .hideONMobile {
        display: none;
    } 

    .hideONpc {
        display: block;
    }
    header div {
        width: 50px; /*less logo size*/
    }
        footer div{
        font-size: 9px; /*less font size*/
        padding: 5px;/*less breath space*/
    }
}

@media (max-width: 768px) {
    nav ul li a {
        font-size: 14px; /* Smaller font size */
        padding: 8px; /* Less padding */
    }

    .intro h2 {
        font-size: smaller;
    }

    .hideONMobile {
        display: none;
    }
    .hideONpc {
        display: block;
    }
    header div {
        width: 50px; /*less logo size*/
    }

    footer div{
        font-size: 9px; /*less font size*/
        padding: 5px;/*less breath space*/
    }
}

/* Intro section */
#intro {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('your-image.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#backgroundVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

#intro h2 {
    font-size: 4em;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

/* Menu section */
.menu-section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.food-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.food-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-info {
    padding: 15px;
    text-align: left;
}

.food-info h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.food-info p {
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: black;
}

.buy-button {
    background-color: black;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: gray;
}

.food-item:hover {
    transform: scale(1.05);
}

/* About section */
#about,
.reservation-section {
    padding: 60px 20px;
    text-align: center;
}

#about {
    background-color: #f4f4f4;
}

/*reservation section*/
.reservation-section {
    background-color: #fff;
}

.reservation-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.reservation-section input[type="text"],
.reservation-section input[type="tel"],
.reservation-section button {
    width: 100%;
    max-width: 350px;
    padding: 0.7rem;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.reservation-section button {
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reservation-section button:hover {
    background-color: #555;
}

/* Contact Us Section */
footer {
    padding: 40px 20px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
}

footer > div {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.contact-info, .opening-hours {
    margin: 0 1rem;
    flex: 1;
}

.contact-details, .hours-details {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Chatbox Icon and Container */
.chatbox-icon,
.chatbox-container {
    position: fixed;
    right: 20px;
    z-index: 1001;
}

.chatbox-icon {
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.chatbox-icon img {
    width: 60%;
}

.chatbox-container {
    bottom: 80px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    flex-direction: column;
}

.chatbox-container.chatbox-hidden {
    display: none;
}

.chatbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: #fff;
    padding: 10px;
}

.chatbox-header span {
    font-weight: bold;
}

.chatbox-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
}

.chatbox-body {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    height: 300px;
    border-top: 1px solid #ddd;
}

.chatbox-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chatbox-messages p {
    margin: 5px 0;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
}

#chatboxForm {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
}

#chatboxInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#chatboxForm button {
    background-color: black;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#chatboxForm button:hover {
    background-color: #555;
}