* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ccc;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 250px;
}

.logo-img {
  width: 100px;
  height: auto;
}

.tagline {
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.header-center {
  display: flex;
  gap: 1rem;
}

.header-center a {
  text-decoration: none;
  border: 1px solid #999;
  padding: 0.5rem 1.2rem;
  background-color: white;
  color: black;
}

.header-center a.active {
  background-color: #ddd;
}

.header-right {
  display: flex;
  gap: 0.5rem;
}

.button-outline {
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
  background-color: white;
}

.button-outline-active {
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
  background-color: #ddd;
}



.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.about-us {
  padding: 2rem;
  background-image: url('img/highresobgpic.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.about-us h1 {
  background-color: rgba(255, 255, 255, 0.9); 
  border: 1px solid #ccc;
  border-radius: 5px;
  color: black;
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 300px;
}

.about-us h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-us-cent-p {
  text-align: center;
  margin-bottom: 1.5rem;
}


.about-us-card {
  background-color: rgba(255, 255, 255, 0.9); 
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 5px;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.about-us-card table
{
  margin: auto;
}

.about-us-card th, td{
  border-style:groove;
  border-width: 5px;
  padding: 5px;  
  text-align: center;
}

.date {
  font-size: 0.9rem;
  color: #777;
}

details summary {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  margin: 1rem 0;
}

details[open] summary {
  color: #444;
}









.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}

.upload-form, .auth-form {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid #ccc;
  background-color: #fafafa;
  border-radius: 8px;
}

.upload-form h1, .auth-form h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.upload-form form,
.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upload-form label,
.auth-form label {
  font-weight: bold;
}

.upload-form input,
.upload-form textarea,
.auth-form input {
  padding: 0.5rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 1rem;
}

.upload-form button,
.auth-form button {
  align-self: flex-start;
  background-color: #222;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
}

.form-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.upload-form textarea {
  resize: none;
  max-width: 100%;
  min-height: 100px;
}







/*Carousel css*/

.carousel-fixed {
  width: 800px;
  height: 450px;
  overflow: hidden;
  margin: 0 auto;
  background-color: white;
  position: relative;
}


.carousel-fixed .carousel-item {
  width: 100%;
  height: 100%;
}

.carousel-fixed img,
.carousel-fixed iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-fixed .ratio {
  width: 100%;
  height: 100%;
}

.carousel-fixed iframe {
  border: none;
}

.carousel-section {
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}









.home-welcome h1{
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}









.popular-foods h2 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}









.food-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.food-card {
  flex: 1 1 300px;
  max-width: 320px;
  border: 1px solid #ccc;
  border-radius: 8px;
  /*overflow: hidden;*/
  background-color: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.food-card-header {
  background-color: #eee;
  padding: 0.75rem 1rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.food-card-body {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.food-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #ddd; /* Gray border */
  border-radius: 4px;  /* Rounded border */
}

.food-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.food-image img:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}





.food-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.food-description p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.food-rating {
  font-size: 1.2rem;
}

.star {
  color: #ccc;
}

.star.filled {
  color: #f39c12;
}














.food-layout {
  display: flex;
  gap: 1rem;
  padding: 2rem;
}

.side-nav {
  width: 180px;
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-nav li {
  margin-bottom: 1rem;
}

.side-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.side-nav a:hover {
  background-color: #ddd;
}

.side-nav a.active {
  background-color: #92979c;
  color: #53565a;
}


.divider {
  width: 2px;
  background-color: #ccc;
  height: auto;
}

.food-content {
  flex: 1;
}

.search-bar {
  margin-bottom: 1.5rem;
}

.search-bar input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}



@media (max-width: 1024px) {
  .carousel-fixed {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .food-layout {
    flex-direction: column;
  }

  .divider {
    display: none;
  }

  .side-nav {
    width: 100%;
    order: 1;
    margin-bottom: 1rem;
  }

  .food-content {
    order: 2;
  }
}

@media (max-width: 900px) {
  .food-card {
    max-width: 48%;
  }
}


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .header-center {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-right {
    align-self: flex-end;
  }

  .upload-form, .auth-form {
    width: 90%;
    padding: 1.5rem;
  }

  .form-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .food-card-container {
    flex-direction: column;
    align-items: center;
  }

  .food-card {
    max-width: 90%;
  }

  
}

@media (max-width: 480px) {

    .header nav a {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .side-nav {
    font-size: 0.95rem;
    padding: 0.5rem;
  }

  .search-bar input {
    font-size: 0.9rem;
  }

  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }
  .food-description p {
  font-size: 1.05rem;
  line-height: 1.6;
}
}



.video-description {
  font-size: 0.95rem;
  line-height: 1.4;
}

.video-description details {
  background-color: #f8f9fa;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}
