/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

/* Header Styling */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('restaurant-header.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}
h2 {
    margin: 20px 0;
}


/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

nav ul li a:hover {
    background-color: #ff6347;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    width: 120px;
    height: auto;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #ff6347;
}
/* Slider */
/* Slider Styling */
.slider {
    position: relative;
    max-width: 100%;
    height: 400px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: fadeIn 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Show the current slide */
.slide.current {
    display: block;
}

/* Caption Styling */
.caption {
    position: absolute;
    bottom: 30px;
    left: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Poppins', sans-serif;
}

.caption h2 {
    font-size: 2.5rem;
    margin: 0;
}

.caption p {
    font-size: 1.2rem;
    margin: 5px 0 0;
}

/* Animation for smooth fading */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Menu Section */
/* Menu Section */
#menu {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

#menu h2 {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 20px;
}

.menu-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    border: 1px solid #eee;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-item-details {
    text-align: center;
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 1.2rem;
    color: #ff6347;
    margin-bottom: 15px;
}

button.add-to-cart {
    background-color: #ff6347;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button.add-to-cart:hover {
    background-color: #e5533a;
}




/* About Us Section */
#about-us {
    padding: 50px 0;
}

#about-us h1 {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.about-text {
    max-width: 500px;
    text-align: left;
}

.about-text h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 10px 0;
}

.about-image img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-section {
    margin-top: 50px;
    padding: 20px;
}

.team-section h2 {
    font-size: 2rem;
    color: #ff6347;
    margin-bottom: 30px;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    max-width: 200px;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.team-member h3 {
    margin: 10px 0 5px;
    font-size: 1.4rem;
}

.team-member p {
    color: #666;
}


/* Contact Section */
#contact {
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #ff6347;
    margin-bottom: 30px;
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.info-item a {
    color: #ff6347;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Newsletter Section Styling */
.newsletter {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 500px;
}

.newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

.newsletter button:hover {
    background-color: #e5533a;
}


/* Cart Styling */
#cart {
    position: fixed;
    right: 20px;
    top: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 300px;
    z-index: 10;
}

#cart h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#cart-items {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

#cart-items li:last-child {
    border-bottom: none;
}

#checkout {
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#checkout:hover {
    background-color: #e5533a;
}


/* General Styles for the Page */
header {
    
    padding: 1rem 0;
    text-align: center;
    color: white;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    position: relative; /* Important for dropdown positioning */
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    font-size: 1.2rem;
}

nav ul li a:hover {
    background-color: #ff6347;
    border-radius: 5px;
}




#cart ul {
    list-style-type: none;
    padding: 0;
}

#cart ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* Quantity Input Styling */
input.quantity {
    width: 50px;
    padding: 5px;
    font-size: 1rem;
    margin-right: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Dropdown Button in the Navigation */
.dropdown .dropbtn {
    background-color: inherit;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

.dropdown:hover .dropbtn {
    background-color: #ff6347;
    border-radius: 5px;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    top: 100%; /* Position below the parent */
    left: 0;
    border-radius: 5px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}



/* Back to Top Button Styling */
#back-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #ff6347;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: #e5533a;
    transform: scale(1.1); /* Slight zoom on hover */
}



/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .menu-items {
        flex-direction: column;
        gap: 20px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .slider {
        height: 300px;
    }

    .slide {
        line-height: 300px;
        font-size: 1.8rem;
    }

    #cart {
        width: 100%;
        right: 0;
        border-radius: 0;
        box-shadow: none;
    }
    nav ul {
        flex-direction: column;
    }

    .dropdown-content {
        position: relative;
        min-width: 100%;
    }
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .info-item {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .newsletter {
        max-width: 100%;
    }

    .newsletter form {
        flex-direction: column;
        gap: 20px;
    }
    .menu-items {
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo img {
        width: 100px;
    }

    
}




