*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
}

header{
    background-color: aliceblue;
    padding: 10 0;
}

nav{
    display: flex;
    text-align: center;
    gap: 2.5rem;
    margin-left: 30rem;
    font-weight: 700;
    padding: 0.6rem 0;
    font-size: 1.2rem;

}

nav a{
    text-decoration: none;
    font-size: 1rem;
    color: black;
    margin-top: 1rem;
}

a:hover{
    text-decoration: underline;
    color: blue;
}

.copyright{
    position: fixed;
    bottom: 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    margin-left: 10rem;
}

footer{
     /* position: absolute; */
    /* bottom: 0;  */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15rem;
    width: 100%;
    min-height: 20vh;
    padding:2vh 8vw ;
    /* border: 1psx solid black; */
    background-color: #1f1f1f;
;
}

footer h3{
    font-size: 1.3rem;
    color: orange;
    margin-bottom: 0.5rem;
    font-weight: 700; 
}


footer p{
  color: #fff;
  font-weight: 400;

}





/* Contact-Us page */

.contact-us {
  height: 30vh;
  background: url('https://images.unsplash.com/photo-1504199364132-20d4b06f07b3') no-repeat center center/cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12rem;
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 320px;
  text-align: center;
}

.contact-form h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1e1e1e;
}

.contact-form p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  height: 100px;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #0d1b2a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #1a2c3d;
}


/* About Us page */

.about-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('image2.jpg') no-repeat center center/cover;
  color: #333;
}

.product-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #4d87c0, #e9ecef);
  color: #333;
}

.order-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to left, #185738, #e9ecef);
  color: #333;
}

.reservation-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('image2.jpg') no-repeat center center/cover;
  color: #333;
}

.contact-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('image2.jpg') no-repeat center center/cover;
  color: #333;
}

/* .review-body { */
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  /* background: url('image2.jpg') no-repeat center center/cover; */
  /* color: #333; */
/* } */

.about-section {
  max-width: 800px;
  margin: 8rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c1e12;
  text-align: center;
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #444;
}

/* Make Reservations */

.resevation {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url('resstaurant.jpg') no-repeat center center/cover;
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.reservation-container {
  background-color: rgba(255, 255, 255, 0.97);
  padding: 2.5rem;
  border-radius: 1rem;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
   /* margin-left: 25rem; */
   margin: 2rem 43rem;
}

.reservation-form h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2c1e12;
  text-align: center;
}

.reservation-form p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #555;
  text-align: center;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.reservation-form textarea {
  resize: vertical;
  height: 80px;
}

.reservation-form button {
  width: 100%;
  padding: 0.8rem;
  background-color: #2c1e12;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reservation-form button:hover {
  background-color: #3d2a17;
}

/* Review page */


.review {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to top, #107c8a, #ffffff);
  color: #333;
}

.review-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.review-section h1 {
  font-size: 2.5rem;
  color: #2c1e12;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.review-card h3 {
  margin-bottom: 0.8rem;
  color: #2c1e12;
}

.review-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Menu page */

Product CSS

.product {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fffaf5;
  color: #333;
}

.products-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.products-section h1 {
  font-size: 2.5rem;
  color: #2c1e12;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  color: #2c1e12;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.price {
  font-weight: bold;
  color: #d35400;
  font-size: 1.1rem;
}

/* order-online page */

ORDER CSS

.order {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* background-color: #fffaf5; */
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  
}

.order-section {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin: 3rem 40rem;
  
}

.order-section h1 {
  text-align: center;
  font-size: 2rem;
  color: #2c1e12;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2rem;
}

.order-form input,
.order-form select,
.order-form textarea,
.order-form button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.order-form textarea {
  resize: vertical;
  height: 100px;
}

.order-form button {
  background-color: #2c1e12;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-form button:hover {
  background-color: #3e2a17;
}

/* homepage */
.home-top{
    margin: 1rem 20rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.37);
    padding: 1rem 5px;
}

.company-name{
    font-size: 3rem;
    font-weight: 800;
}


.company-history{
    margin-top: 1rem;
    font-size: 1rem;
}

.home-image{
    height: 30%;
    width: 100%;
    
}

body{
    height: 100vh;
}

.dishes {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 5rem;
  background-color: #fffaf5;
  color: #333;
  padding: 2rem;
  text-align: center;
}

.food-list {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #fffaf5;
}

.egusi {
  background-color: #ffffff;
  padding: 1rem;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.egusi h3 {
  margin-bottom: 0.5rem;
  color: #2c1e12;
  font-size: 1rem;
}

.egusi img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/*added CSS*/


/* --- Large desktops (above 1440px) --- */
@media (min-width: 1441px) {
  nav {
    margin-left: 35rem;
  }

  .reservation-container,
  .order-section {
    margin: 2rem auto;
  }
}

/* --- Laptops (1025px - 1440px) --- */
/*@media (min-width: 1025px) and (max-width: 1440px) {*/
/*  nav {*/
/*    margin-left: 25rem;*/
/*  }*/

/*  .reservation-container,*/
/*  .order-section {*/
/*    margin: 2rem 20rem;*/
/*  }*/
/*}*/

/* --- Tablets (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
  nav {
    flex-direction: column;
    margin-left: 0;
    align-items: center;
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .reservation-container,
  .order-section {
    margin: 2rem auto;
    width: 80%;
  }

  .home-top {
    margin: 1rem 3rem;
  }

  .food-list {
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .copyright {
    margin-left: 2rem;
    font-size: 0.8rem;
  }
}

/* --- Mobile devices (up to 767px) --- */
@media (max-width: 767px) {
  nav {
    flex-direction: column;
    margin-left: 0;
    font-size: 1rem;
    gap: 1rem;
    align-items: center;
  }

  .reservation-container,
  .order-section,
  .form-container {
    width: 90%;
    margin: 2rem auto;
    padding: 1.5rem;
  }

  .about-section,
  .review-section,
  .products-section {
    padding: 1rem;
    margin: 2rem auto;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2vh 5vw;
  }

  .home-top {
    margin: 1rem;
    padding: 1rem;
  }

  .company-name {
    font-size: 2rem;
  }

  .food-list {
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .copyright {
    font-size: 0.75rem;
    margin-left: 1rem;
  }
}
