/* CSS For Weekly Tiffin Menu Page */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #E9ECEF;
  color: white;
}

.logo img {
  height: 130px;
  width: 180px;
}

.nav {
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  font-size: 25px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #555;
  padding: 8px 15px;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: #acacac6e;
  color: black;
}

.login-button {
  font-size: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 15px 30px;
  border: none;
  border-radius: 15px;
  background-color: #F95D04;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: white;
  color: black;
}


.main-container{
    max-width: 40%;
    margin: auto;
    margin-top: 50px;
    height: auto;
}

/* Footer Styles */
.footer {
  height: 400px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #333;
  color: white;
  padding: 20px;
  border-top: 2px solid #ccc;
  margin-top: 50px;
}

.footer-column {
  flex: 1;
  padding: 0 20px;
  text-align: center;
  position: relative;
  height: 100%;
}

.footer-column:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background-color: #ccc; /* Light vertical line */
}

.footer-logo {
  max-width: 60%;
}
.footer-logo img{
    margin-top: 80px;
    width: 100%;
}
.footer h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 30px;
  font-size: 25px;
  color: #f1f1f1;
}
.footer ul {
  font-size: 18px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.footer ul li {
  margin-bottom: 5px;
  margin-top: 30px;
}

.footer ul li a {
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-decoration: none;
  color: #bbb;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: white;
}

.footer p {
  font-family: Georgia, 'Times New Roman', Times, serif; 
  font-size: 18px;
  margin-top: 30px;
  color: #bbb;
}


/* Responsive Styling For Weekly Tiffin Meal Menu*/
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    justify-content: center;
    gap: 10px;
  }

  .main-container {
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    flex: none;
    width: 100%; /* Full-width columns on small screens */
    background-color: #333;
  }

  .footer-column:not(:last-child)::after {
    display: none; /* Hide separators */
  }
}

@media (max-width: 480px) {
  .nav-link {
    font-size: 18px;
  }

  .login-button {
    font-size: 16px;
    padding: 8px 15px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer ul li a {
    font-size: 14px;
  }

  .footer p {
    font-size: 14px;
  }
}

/* Styling For Product Gallery*/
.product_main_container {
  max-width: 70%;
  margin: 50px auto;
  padding: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns of equal width */
  gap: 30px; /* Equal spacing between columns */
  position: relative;
}

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Equal spacing between rows in each column */
}

.middle-column {
  align-items: center; /* Center images in the middle column */
  margin-top: 55px;
}

.gallery img {
  width: 100%; /* Make images responsive to the column width */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease; /* Smooth hover effect */
}
/* Hover effect for images */
.gallery img:hover {
  transform: scale(1.1); /* Pop-up effect */
  z-index: 10; /* Bring hovered image to the front */
  filter: none; /* Remove blur on hovered image */
}

/* Blur other images when one is hovered */
.gallery img:hover ~ img {
  filter: blur(3px); /* Apply blur to other images */
}

/* Container hover to blur sibling images */
.gallery:hover img {
  filter: blur(3px); /* Blur all images initially */
}

.gallery img:hover {
  filter: none; /* Remove blur from hovered image */
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr; /* Stack all images in a single column */
    gap: 15px;
  }

  .gallery img {
    width: 100%; /* Ensure full width on small screens */
  }
}
