/* Reset default margins, paddings, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

/* Full-Screen Header */
header {
    background-color: black;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark Overlay for Readability */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust transparency */
}

/* Navigation Bar */
nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 2;
}

nav .logo img {
    height: 70px;
    border-radius: 50%;
}

nav .name h3 {
    color: red;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: -130%;
    margin-top: 18%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
    transition: 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

header .Welcome {
    color: white;
    font-size: 30px;
    position: relative;
    z-index: 2;
    margin-right: 1%;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

.wlc {
    color: red;
    font-size: 40px;
    position: relative;
    z-index: 2;
    margin-right: 10%;
    margin-top: 5%;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.8s;
}

.hm {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.hm img {
    margin-top: 10%;
    width: 60%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.hm img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Optional: Fade-in effect when the page loads */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hm img {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

/* General styling for the menu */
#Menu {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    margin-top: 5%;
}

/* Styling for the main title */
#Menu h1 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

/* Styling for each menu section */
.menu-section {
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

/* Delay animations for each section */
.menu-section:nth-child(1) {
    animation-delay: 0.5s;
}
.menu-section:nth-child(2) {
    animation-delay: 0.8s;
}
.menu-section:nth-child(3) {
    animation-delay: 1.1s;
}

/* Styling for section titles */
.menu-section h2 {
    color: #444;
    font-size: 28px;
    border-bottom: 2px solid;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Styling for the unordered list */
ul {
    list-style-type: none;
    padding: 0;
}

/* Styling for each list item */
.menu-section li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Delay animations for each list item */
.menu-section li:nth-child(1) {
    animation-delay: 0.5s;
}
.menu-section li:nth-child(2) {
    animation-delay: 0.7s;
}
.menu-section li:nth-child(3) {
    animation-delay: 0.9s;
}
.menu-section li:nth-child(4) {
    animation-delay: 1.1s;
}

/* Styling for dish names */
.dish-name {
    font-weight: bold;
    color: #333;
    flex: 1;
}

/* Styling for dish descriptions */
.dish-description {
    color: #666;
    flex: 2;
    margin-left: 20px;
}

/* Styling for dish prices */
.dish-price {
    color: #000;
    font-weight: bold;
}

/* Styling for the image containers */
.choila, .momo {
    display: inline-block;
    width: 100px;
    height: auto;
    margin: 0 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Delay animations for images */
.choila {
    animation-delay: 1.3s;
}
.momo {
    animation-delay: 1.5s;
}

/* Styling for the images */
.choila img, .momo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for images */
.choila img:hover, .momo img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Styling for the Appetizers section */
.menu-section.appetizers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling for the Appetizers section title */
.menu-section.appetizers h2 {
    flex: 1;
    text-align: center;
}

/* General Form Styles */
#Table {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

#Table h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Hover and Focus Effects */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #b5651d;
    box-shadow: 0 0 5px rgba(181, 101, 29, 0.5);
    outline: none;
}

/* Submit Button Styles */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #b5651d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #8b4513;
    transform: translateY(-2px);
}

.btn:active {
    background-color: #8b4513;
    transform: translateY(0);
}

#Contact-us {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5%;
}

.Contactus h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info div {
    margin-bottom: 10px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
}

.social-media {
    text-align: center;
    margin-bottom: 20px;
}

.social-media a {
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.contact-form {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #218838;
}

.map {
    text-align: center;
    margin-bottom: 5%;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* General Footer Styling */
.footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

/* Logo Styling */
.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 50%;
    margin-left: -90%;
}

/* Footer Text Styling */
.footer-text h3 {
    font-size: 24px;
    color: #343a40;
    margin-bottom: 5px;
    margin-top: -10%;
}

.footer-text p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Location and Hours Styling */
.footer-location p {
    font-size: 14px;
    color: #6c757d;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust header and navigation for smaller screens */
    header {
        height: auto;
        padding: 20px;
    }

    nav {
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    nav .name h3 {
        margin-left: 0;
        margin-top: 10px;
        font-size: 24px;
        opacity: 0%;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    header .Welcome {
        font-size: 24px;
        margin-right: 0;
    }

    .wlc {
        font-size: 30px;
        margin-right: 0;
        margin-top: 10%;
    }

    .hm img {
        width: 80%;
        max-width: 300px;
    }

    /* Adjust contact section */
    #Contact-us {
        padding: 15px;
    }

    .Contactus h2 {
        font-size: 28px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        padding: 8px;
    }

    /* Adjust footer */
    .footer-logo img {
        margin-left: 0;
    }

    .footer-text h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .footer-text p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    nav .logo img {
        height: 50px;
    }

    nav .name h3 {
        font-size: 20px;
    }

    header .Welcome {
        font-size: 20px;
    }

    .wlc {
        font-size: 24px;
    }

    .hm img {
        width: 90%;
        max-width: 250px;
    }

    .Contactus h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 6px;
    }

    .contact-form button {
        padding: 6px;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-text h3 {
        font-size: 18px;
    }

    .footer-text p {
        font-size: 10px;
    }
}


/* Burger Icon Styles */
.burger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    position: absolute; /* Position the burger icon */
    top: 20px; /* Adjust based on your header padding */
    right: 20px; /* Position in the top-right corner */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Navigation Links Styles */
.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Show Burger Icon */
    .burger {
        display: flex; /* Show burger icon on smaller screens */
    }

    /* Hide Navigation Links by Default */
    .nav-links {
        position: fixed; /* Fixed position for full-screen overlay */
        top: 0;
        right: -100%; /* Start off-screen to the right */
        height: 100vh; /* Full height */
        width: 70%; /* Width of the sliding menu */
        max-width: 300px; /* Maximum width for smaller screens */
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease-in-out; /* Slide in from the right */
    }

    /* Active Class for Toggling Navigation */
    .nav-links.active {
        right: 0; /* Bring back on-screen */
    }

    /* Animate Burger Icon to X */
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}