* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  /* background-image:url('img/webbg.jpg'); */
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  background-color: #000;
 
  margin: 0;
  overflow-x: hidden;



}



/* Black navbar for logo and menu */
.navbar {
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  margin-left: 30px;
}

.nav-links {
  display: flex;
  gap: 25px;
  margin-right: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* Separate food background header */
.header {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
}

.white-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64%; 
  background: linear-gradient(
    to bottom,
    white 0px,
    white 200px,
    rgba(255, 255, 255, 0.8) 230px,
    rgba(255, 255, 255, 0.5) 450px,
    rgba(255, 255, 255, 0) 600px
  );
  pointer-events: none; /* So that search and banner still clickable */
}


.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.pre-order-banner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.restaurant-card {
  background-color: white;
  margin: -50px auto 30px;
  width: 100%;
  max-width: 1100px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  position: relative;
}

.restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.restaurant-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.categories {
  color: #666;
  margin-bottom: 10px;
}

.address {
  display: flex;
  align-items: center;
  color: #666;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.star {
  color: #ffd700;
}

.rating-score {
  font-weight: bold;
}

.info-button {
  color: #3498db;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.schedule-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  border: 1px solid #e74c3c;
  border-radius: 30px;
  color: #e74c3c;
  background: none;
  cursor: pointer;
  font-size: 15px;
}

.order-options {
  display: flex;
  gap: 10px;
  background-color: #f5f5f5;
  border-radius: 30px;
  padding: 5px;
}

.order-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
}

.order-option.active {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pre-order-text {
  font-size: 12px;
  color: #666;
}

/* .menu-container {
  display: flex;
  gap: 20px;
  margin: 30px auto;
  width: 100%;
  max-width: 1450px;
  align-items: flex-start;  
} */

.menu-container {
  display: grid;
  grid-template-columns: 1fr 3fr; /* Sidebar 1 part, Content 3 parts */
  gap: 20px;
  margin: 30px auto;
  width: 100%;
  max-width: 1450px;
  align-items: flex-start;
}

.categories-sidebar {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0; /* Remove the padding */
  height: fit-content; /* Make height fit the content */
  position: sticky; /* Make sidebar sticky */
  top: 20px; /* Distance from top when sticky */
}

.category {
  padding: 12px 15px; /* Adjust padding to be more compact */
  border-left: 6px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px; /* Slightly smaller font */
  transition: all 0.2s ease; /* Smooth transition */
}

.category:hover {
  background-color: #f7f7f7; /* Add hover effect */
}

.category.active {
  border-left-color: #e74c3c;
  color: #e74c3c;
  background-color: #fff0f0; /* Light background for active item */
}

.category-hr {
  margin: 0; /* Remove margin from dividers */
  border: 0;
  height: 1px;
  background-color: #eee;
}

.menu-items {
  flex: 1;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.section-title i {
  margin-right: 10px;
  color: #666;
  font-size: 25px;
}

.recommended-section {
  background-color: #e6f7f2;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.menu-item {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-item-title {
  font-weight: 500;
  margin-bottom: 10px;
}

.menu-item-price {
  color: #333;
  font-weight: bold;
}




.search-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10; 
}

.download-banner {
  width: 100%;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-icon {
  position: relative;
  font-size: 3rem;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 100px;
}

.download-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.download-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.download-subtitle {
  font-size: 1rem;
  color: #333;
}

.download-buttons {
  display: flex;
  gap: 15px;
}

.store-button {
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s;
}

.store-button:hover {
  transform: scale(1.05);
}

/* App Store button */
.app-store {
  background-color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  height: 40px;
}

.app-store-icon {
  font-size: 24px;
  color: white;
  margin-right: 5px;
}

.app-store-text {
  color: white;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

.app-store-small {
  font-size: 8px;
}

/* Google Play button */
.google-play {
  background-color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  height: 40px;
}

.google-play-icon {
  font-size: 22px;
  color: white;
  margin-right: 5px;
}

.google-play-text {
  color: white;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

.google-play-small {
  font-size: 8px;
}
.container {
  margin-bottom: 30px;
  background-color: #F7F7F7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.head {
  padding: 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.head h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.pizza-item {
  display: flex;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
  /* background-color: #f7f7f7; */
  background-color:#EDEDED;
}

.pizza-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pizza-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.pizza-description {
  color: #666;
  padding-left: 25px;
}

.pizza-image {
  width: 40%;
  min-height: 80px;
  background-size: cover;
  background-position: center;
}

.sizes-container {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
}

.size-option {
  flex: 1;
  margin: 10px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  min-width: 150px;
}

.size-option:hover
{
  transform: scale(1.01);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.size-row {
    display: flex;
    width: 100%;
}

.size-name {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.size-price {
  color: #333;
  font-size: 16px;
}

.scroll-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.arrow-up {
  width: 20px;
  height: 20px;
  border-left: 3px solid white;
  border-top: 3px solid white;
  transform: rotate(45deg);
  margin-top: 5px;
}






.footer {
  background-color: #f9f9f9;
  padding: 20px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.customer-service {
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 300px;
}

.customer-service h3 {
  color: #e75757;
  margin-bottom: 15px;
}

.customer-service ul {
  list-style: none;
}

.customer-service li {
  margin-bottom: 10px;
  color: #555;
}

.customer-service li a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

.customer-service li a:hover {
  color: #e75757;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 20px;
}

/* Side borders in footer-bottom */
/*.footer-section {*/
/*  position: relative;*/
/*  padding: 0 20px;*/
/*}*/

/*.footer-section:not(:last-child):after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  right: 0;*/
/*  top: 10%;*/
/*  height: 80%;*/
/*  width: 1px;*/
/*  background-color: #e0e0e0;*/
/*}*/

/*.footer-section:first-child {*/
/*  padding-left: 0;*/
/*}*/

/*.footer-section:last-child {*/
/*  padding-right: 0;*/
/*}*/

.app-download {
  display: flex;
  flex-direction: column;
}

.app-download p {
  font-weight: bold;
  margin-bottom: 10px;
}

.app-links {
  display: flex;
  gap: 10px;
}

.app-links img {
  height: 40px;
}

/* New middle section with language selector and food hygiene */
.middle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.language-selector {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.language-selector span {
  margin-right: 5px;
}

.food-hygiene {
  background-color: #f0e68c;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
}

.food-hygiene p {
  margin-bottom: 5px;
  font-weight: bold;
}

.hygiene-date {
  font-size: 14px;
  margin-bottom: 10px;
}

.rating-circles {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}

.circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.circle-1 {
  background-color: #ccc;
}

.circle-2 {
  background-color: #ccc;
}

.circle-3 {
  background-color: #333;
}

.circle-4,
.circle-5 {
  background-color: #ccc;
}

.payment-methods {
  display: flex;
  align-items: center;
}

.payment-methods span {
  margin-right: 10px;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons img {
  height: 30px;
}





.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable overall scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh; /* Prevent going beyond screen */
  overflow-y: auto; /* Scroll inside if content is long */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.popup-row-1 {
  max-height: 60vh; /* Limit height for modifier content */
  overflow-y: auto;
  padding-right: 10px;
}

.popup-row-2 {
  margin-top: 10px;
}


/* Adjust spacing and stacking on small screens */
.popup-it {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.incre-decre {
  height: 40px;
  width: 40px;
  border: 1px solid black;
  border-radius: 50%;
  background-color: white;
  margin-left: 10px;
}

/* Make the "ADD" button responsive */
.add {
  background-color: #ED515B;
  flex: 1;
  border-radius: 10px;
  border: none;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  font-size: 18px;
  color: white;
  margin-left: auto;
  margin-right: 10px;
}

/* Responsive media query for mobile */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    margin: 10px auto;
  }

  .popup h2 {
  font-size: clamp(18px, 4vw, 24px);
}

  .popup-it h2 {
    font-size: 18px;
  }

  .popup-modifier {
    font-size: 18px;
  }

  .popup-row-2 {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .add {
    width: 100%;
    margin-top: 10px;
  }

  .msg {
    font-size: 14px;
    padding: 10px;
  }

  .incre-decre {
    width: 36px;
    height: 36px;
  }
}



.addTocardPopup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
pointer-events: none;
}

.addTocard-popcontent {
cursor: pointer;
position: absolute;
bottom: 20px;
right: 7%;
background-color: #ED515B;
padding: 20px;
border-radius: 10px;
width: 350px;
height: 100px;
color: white;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
pointer-events:all;

display: flex;
gap: 20px;
justify-content: space-between;

}

.first-div {
display: flex;
flex-direction: column; 
align-items: left;
font-size: 20px;
text-align: left;
}

.second-div {
display: flex;
flex-direction: row;  
align-items: center;
gap: 10px;  
font-size: 20px;
text-align: right;

}

















/* RESPONSIVE DESIGN */

/* Tablets */
@media (max-width: 992px) {
  .menu-container {
    flex-direction: column;
    align-items: center;
  }

  .categories-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }

  .download-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .download-buttons {
    justify-content: center;
  }

  .pizza-item {
    flex-direction: column;
  }

  .pizza-image {
    width: 100%;
    height: 200px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-container {
    margin: 20px;
  }

  .restaurant-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
    gap: 15px;
  }

  .order-options {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .download-banner {
    padding: 20px;
  }

  .download-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .payment-methods {
    flex-direction: column;
    gap: 10px;
  }

  .middle-section {
    width: 100%;
  }
}

/* Very Small Devices */
@media (max-width: 480px) {
  .header {
    height: 180px;
  }

  .pre-order-banner {
    font-size: 16px;
  }

  .restaurant-info h1 {
    font-size: 22px;
  }

  .section-title i {
    font-size: 20px;
  }

  .size-option {
    min-width: 120px;
    padding: 15px;
  }
}


.popup-modifier label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 6px 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
  }

  .popup-modifier .option-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
  }

  .popup-modifier .price {
    white-space: nowrap;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
  }
  
  
  

.addtocard-popupAlso {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}



.addtocard-popup-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh; /* Prevent going beyond screen */
  overflow-y: auto; /* Scroll inside if content is long */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* Adjust spacing and stacking on small screens */
.addtocard-popup-it {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.addtocard-incre-decre {
  height: 40px;
  width: 40px;
  border: 1px solid black;
  border-radius: 50%;
  background-color: white;
  margin-left: 10px;
}

/* Make the "ADD" button responsive */
.addtocard-add {
  background-color: #ED515B;
  flex: 1;
  border-radius: 10px;
  border: none;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  font-size: 18px;
  color: white;
  margin-left: auto;
  margin-right: 10px;
}

  

