/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    transition: background 0.3s, color 0.3s;
}

* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Section */
header {
    position: relative;
    text-align: center;
}

.header-container {
    position: relative;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
}

.banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
}

.restaurant-name {
    font-size: 2.5em;
    margin-bottom: 5px;
    font-weight: bold;
}

.location, .contact {
    font-size: 1.1em;
    margin-top: 5px;
}
.banner {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.overlay h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.1em;
}
/* Availability Styling */
.availability.available {
    color: green;
    font-weight: bold;
}

.availability.not-available {
    color: red;
    font-weight: bold;
}
#menu-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
}

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.theme-toggle .toggle-icon {
    position: absolute;
    font-size: 1.5em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle .sun {
    opacity: 1;
}

body.theme-dark .theme-toggle {
    background-color: #333;
}

body.theme-dark .theme-toggle .sun {
    opacity: 0;
}

body.theme-dark .theme-toggle .moon {
    opacity: 1;
}

#sort-dropdowns {
    margin: 20px;
    font-family: Arial, sans-serif;
}

#sort-dropdowns label {
    font-size: 16px;
    margin-right: 10px;
}

#sort-dropdowns select {
    padding: 5px;
    font-size: 14px;
    margin: 10px 0;
}

#menu-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.menu-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.menu-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.menu-item p {
    margin: 5px 0;
}

.available {
    color: green;
}

.not-available {
    color: red;
}

/* Menu Item */
.menu-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s, color 0.3s;
    cursor: pointer;
    padding: 15px;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.menu-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.menu-item p {
    font-size: 0.9em;
}

/* Dark Theme */
.theme-dark {
    background: #121212;
    color: #f0f0f0;
}

.theme-dark .banner {
    filter: brightness(0.5);
}

.theme-dark .overlay {
    color: #f0f0f0;
}

.theme-dark #menu-section {
    background-color: #1e1e1e;
}

.theme-dark .menu-item {
    background: #333;
    color: #f0f0f0;
}

.theme-dark .menu-item h3 {
    color: #f0f0f0;
}


/* Ensure the page takes full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Footer styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dark grey background */
    color: white;
    padding: 15px 0; /* Padding for spacing */
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Container for footer content */
.footer-container {
    max-width: 1200px; /* Max width for the content */
    margin: 0 auto; /* Center the container */
}

/* Ensure the page takes full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Footer styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dark grey background */
    color: white;
    padding: 15px 0; /* Padding for spacing */
    text-align: center;
    font-family: Arial, sans-serif;
    border-top: 2px solid #000; /* Dark border at the top of the footer */
}

/* Container for footer content */
.footer-container {
    max-width: 1200px; /* Max width for the content */
    margin: 0 auto; /* Center the container */
}

/* Ensure the page takes full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Main content styling to push footer to bottom */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Footer styling */
footer {
    width: 100%;
    background-color: #333; /* Dark grey background */
    color: white;
    padding: 20px 0; /* Padding for spacing */
    text-align: center;
    font-family: Arial, sans-serif;
    border-top: 2px solid #000; /* Dark border at the top of the footer */
    position: relative;
}

/* Container for footer content */
.footer-container {
    max-width: 1200px; /* Max width for the content */
    margin: 0 auto; /* Center the container */
}

/* Style for footer text */
footer p {
    margin: 0;
    font-size: 14px;
}

/* Style for the footer links */
.footer-links {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.footer-links li {
    display: inline;
    margin: 0 15px;
}

.footer-links a {
    color: white; /* White links */
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}
