body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #2b2b2b;
    color: white;
}

.menu {
    padding: 60px 20px;
    text-align: center;
}

.menu-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.menu-item {
    background-color: #444;
    padding: 20px;
    width: 200px;
    border-radius: 10px;
}

/* Cards */
.menu-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 25px;
    width: 200px;
    border-radius: 12px;
    transition: 0.3s;
}

.menu-card:hover {
    transform: translateY(-8px);
}
.menu-page {
    background-color: #2b2b2b; /*dark gray*/
 }
.gallery {
    text-align: center;
    padding: 50px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    background-color: #ccc;
    padding: 50px 0;
    border-radius: 5px;
}
.contact {
    text-align: center;
    padding: 50px 20px;
    font-size: 18px;
}

.contact a {
    text-decoration: none;
    color: brown;
    margin: 0 5px;
}
.login {
    text-align: center;
    padding: 50px 20px;
}

.login input {
    padding: 10px;
    width: 200px;
    margin-bottom: 10px;
}

.login button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
}
.delivery {
    text-align: center;
    padding: 50px 20px;
}

.delivery input {
    padding: 10px;
    width: 250px;
    margin-bottom: 10px;
}

.delivery button {
    padding: 10px 20px;
    background-color: brown;
    color: white;
    border: none;
    cursor: pointer;
}
.menu-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.hero-logo {
    width: 150px;
    margin-bottom: 20px;
}
.hero {
    height: 90vh;
    background: url('images/cafe-main.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Dark overlay for readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Text content */
.hero-content {
    position: relative;
    color: white;
    z-index: 1;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 25px;
}

.hero-content button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: brown;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-content button:hover {
    background-color: darkred;
    transform: scale(1.05);
}
.about-cafe,
.our-food {
    padding: 60px 20px;
    text-align: center;
    background-color: gray;
}

.about-cafe h2,
.our-food h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.image-grid img:hover {
    transform: scale(1.05);
}
.gallery {
    padding: 60px 20px;
    text-align: center;
}

.gallery h1 {
    margin-bottom: 30px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-container img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    color: #f39c12;
}
.login-container, .register-container {
    background-color: rgba(0, 0, 0, 0.6); /* dark semi-transparent */
    padding: 40px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
button {
    width: 95%;
    padding: 12px;
    background-color: #f39c12;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

button:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}
input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 14px;
}
.login-container, .register-container {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0,0,0,0.7);
    border-bottom: 2px solid #f9c74f;
}

nav .logo h2 {
    color: #f9c74f;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f9844a;
}
/* Add space above footer */
.footer-wrapper {
    margin-top: 80px; /* adjust spacing as needed */
}

/* Contact Section */
.contact-section {
    background-color: rgba(0,0,0,0.6);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 500px;
    width: 100%;
    background-color: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.contact-container h1 {
    color: #f9c74f;
    margin-bottom: 20px;
}

.contact-container input,
.contact-container textarea {
    width: 90%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 12px;
    border: none;
    outline: none;
}

.contact-container button {
    margin-top: 15px;
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(45deg,#f9c74f,#f9844a);
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* Footer Section */
footer {
    background-color: rgba(0,0,0,0.85);
    color: white;
    padding: 40px 50px;
    margin-top: 80px;  /* gives space between contact form and footer */
    border-top: 2px solid #f9c74f;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-left h3, .footer-right h3 {
    color: #f9c74f;
}

.footer-right a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.footer-right a:hover {
    transform: scale(1.2);
}

/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.delivery-option {
    margin-top: 20px;
    font-size: 16px;
    color: #f0f0f0;
}

.delivery-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}
