/* Header Styles */
header {
    background-color: #ffffff; /* White header for a clean appearance */
    color: #333333; /* Dark gray text for better contrast */
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #cccccc; /* Light gray border for definition */
    transition: transform 0.3s ease; /* Smooth transition for hiding/showing */
}

/* Hide the header when scrolling down */
header.hidden {
    transform: translateY(-100%);
}/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Light gray background for a clean look */
    color: #333333; /* Dark gray text color for readability */
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #ffffff; /* White header for a clean appearance */
    color: #333333; /* Dark gray text for better contrast */
    padding: 10px 0;
    position: static; /* Remove fixed positioning */
    width: 100%;
    border-bottom: 1px solid #cccccc; /* Light gray border for definition */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav h1 {
    font-size: 28px;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333333; /* Dark gray text for links */
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #000000; /* Black text for hover effect */
}

/* Section Styles */
section {
    padding: 100px 20px;
    text-align: center;
}



/* Menu Section */
#menu {
    background-color: #ffffff; /* White background for a clean look */
}

#menu h2, #about h2, #contact h2 {
 /* Home Section Styles */
#home {
    background: url('restaurant.jpg') no-repeat center center/cover;
    color: #ffffff; /* White text for high contrast */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; /* Ensure the overlay is correctly positioned */
}

/* Add a semi-transparent overlay for better text visibility */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Black overlay with 40% opacity */
    z-index: -1; /* Place the overlay behind the text */
}

/* Home Heading Styles */
#home h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: #f2b5d4; /* Pastel pink for a pleasant accent */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add a shadow for better readability */
}

/* Home Paragraph Styles */
#home p {
    font-size: 24px;
    max-width: 600px;
    margin: 0 auto;
    color: #ffffff; /* White text for better contrast */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Add a shadow for better readability */
}
   font-size: 36px;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    color: #555555; /* Medium gray for headings */
}

#menu .menu-item {
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    border: 1px solid #cccccc; /* Light gray border for definition */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff; /* White background for menu items */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#menu .menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#menu .menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

#menu h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    color: #333333; /* Dark gray for item titles */
}

#menu p {
    font-size: 18px;
    color: #666666; /* Medium gray for item descriptions */
}

/* About Section */
#about {
    background-color: #f0f0f0; /* Light gray background for consistency */
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #333333; /* Dark gray text for readability */
}

/* Contact Section */
#contact {
    background-color: #ffffff; /* White background for a clean look */
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333333; /* Dark gray for form labels */
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #cccccc; /* Light gray border for form fields */
    border-radius: 8px;
    font-size: 16px;
    background-color: #ffffff; /* White background for form fields */
}

form button {
    padding: 15px 30px;
    background-color: #333333; /* Dark gray button background */
    color: #ffffff; /* White text for button */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #000000; /* Black button background on hover */
}

/* Footer Styles */
footer {
    background-color: #ffffff; /* White footer for a clean look */
    color: #333333; /* Dark gray text for consistency */
    text-align: center;
    padding: 20px 0;
    position: static; /* Remove fixed positioning */
    width: 100%;
    border-top: 1px solid #cccccc; /* Light gray border for definition */
}

footer p {
    margin: 0;
    font-size: 16px;
}

/* Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333333; /* Dark gray background for button */
    color: #ffffff; /* White text for button */
    border: none;
    border-radius: 50%;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #000000; /* Black button background on hover */
    transform: scale(1.1);
}

.scroll-to-top:focus {
    outline: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    nav {
        flex-direction: column;
    }

    nav h1 {
        font-size: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 16px;
    }

    section {
        padding: 80px 10px;
    }

    #home h2 {
        font-size: 36px;
    }

    #home p {
        font-size: 18px;
    }

    #menu h2, #about h2, #contact h2 {
        font-size: 28px;
    }

    #menu h3 {
        font-size: 24px;
    }

    #menu p {
        font-size: 16px;
    }

    form {
        padding: 0 10px;
    }

    form input, form textarea {
        padding: 10px;
    }

    form button {
        width: 100%;
        padding: 10px;
    }

    footer {
        padding: 10px 0;
    }

    .scroll-to-top {
        padding: 10px 15px;
        font-size: 16px;
    }
}


