
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
}

/* 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;
}

.muted {
    opacity: 0.4; /* Adjust the opacity as needed, 0 is fully transparent, 1 is fully opaque */
    color: gray;  /* Optional: Set a muted color like gray */
}

/* Decrease the size of the info icon and text */
.small-size {
    font-size: 0.8rem;  /* You can adjust this value to make the text smaller */
    /* Optionally, you can change the icon size as well */
}

.info-icon {
    font-size: 0.8rem;  /* Decrease the font size of the info icon */
}

/* Optional: If you want to reduce the size of the car icon as well */
.close-icon .fa-car {
    font-size: 1rem;  /* Adjust the size of the car icon */
}

.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);
}

.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-score {
  font-weight: bold;
}

.info-button {
  color: #3498db;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
   text-decoration: none !important;
}

.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; /* Align items to the top */
}

.categories-sidebar {
  width: 21%;
  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;
}

.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-top: 30px;
  background-color: white;
  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;
}

.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;
  margin: 15px;
}

.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-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: 1600px;
  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;
}

input[type="radio"] {
transform: scale(1.5); 
margin-right: 10px;  
color:green;
}

.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;
}

/* 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;
  }
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f8f9fa;
padding: 20px;
}

/* Top section */
.reviews-header {
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
padding: 20px;
border-radius: 8px 8px 0 0;
border-bottom: 1px solid #ccc;
}

.reviews-header h2 {
font-size: 22px;
}

.order-btn {
background: #f44336;
color: #fff;
border: none;
padding: 12px 20px;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
}

.order-btn:hover {
background: #d32f2f;
}

/* Main content */
.reviews-section {
background: #fff;
border-radius: 8px;
overflow: hidden;
}

/* Reviews content (left + right) */
.reviews-content {
display: flex;
gap: 20px;
padding: 20px;
flex-wrap: wrap;
}
.reviews-left {
flex: 2; 
min-width: 280px;
border-left: 15px solid #ddd; 
border-right: 15px solid #ddd; 
border-top: 25px solid #ddd;
border-bottom: 25px solid #ddd;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
padding: 20px; 
background-color: #fff; 
border-radius: 8px; 
overflow-y: scroll;
max-height: 900px;
scrollbar-width: thin; /* Optional, makes it thinner */
scrollbar-color: transparent transparent; /* Hide the scrollbar */
}

.reviews-left::-webkit-scrollbar {
    width: 0px;  /* Hide the scrollbar width */
    height: 0px; /* Hide the scrollbar height */
}

.reviews-right {
flex: 1; 
min-width: 200px;
border: 15px solid #ddd; 
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
padding: 20px; 
background-color: #fff; 
border-radius: 8px; 
height: 700px;

}


.reviews-left h3 {
margin-bottom: 15px;
}

.review-card {
background: #f1f1f1;
margin-bottom: 10px;
padding: 15px;
border-radius: 6px;
}

.review-card h4 {
font-size: 18px;
margin-bottom: 5px;
}

.stars {
color: gold;
font-size: 18px;
}

.star{
    font-size: 28px;
    color:gray;
}

.review-text {
margin-top: 8px;
color: #555;
font-size: 14px;
}

/* Rating box */
.rating-box {
background: #f1f1f1;
text-align: center;
padding: 20px;
border-radius: 8px;
}

.rating-box h1 {
font-size: 48px;
color: #28a745;
}

.highlight {
color: #28a745;
font-weight: bold;
margin-top: 5px;
}


.sort-section {
margin-top: 20px;
}

.sort-section h4 {
margin-bottom: 10px;
}

.sort-section label {
display: block;
margin-bottom: 8px;
cursor: pointer;
font-size: 16px;
}

input[type="radio"] {
margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
.reviews-content {
flex-direction: column;
}
}

input[type="radio"]:checked {
background-color: green;
border-color: green;
}

/* Optional: To style the radio button itself (cross-browser compatibility) */
input[type="radio"] {
appearance: none;  /* Remove default styling */
-webkit-appearance: none;
-moz-appearance: none;
width: 14px;  /* Size of the radio button */
height: 14px;  /* Size of the radio button */
border-radius: 50%;  /* Make it circular */
border: 2px solid green;  /* Border color when not checked */
background-color: white;  /* Background color when not checked */
position: relative;
}

/* When the radio button is checked, change the color */
input[type="radio"]:checked::before {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 5px;
height: 5px;
border-radius: 50%;
background-color: green;  
}


  .reviews-right button {
    display: block;
    margin: 20px auto;
    background-color: white;
    border: 2px solid green;
    color: green;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
  }

  .reviews-right button:hover {
    background-color: green;
    color: white;
  }


  /* Popup styles */
  .popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with transparency */
    overflow: auto; /* Enable scroll if needed */
    padding-top: 60px;
  }

  .popup-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }

  .popup-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* Title text area - Smaller size */
  #reviewTitle {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }

  /* Message text area styles */
  #reviewMessage {
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }

  /* Rating stars - Centered and increased size */
  .rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }


  

  .Reviewbutton {
    background-color: green;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    display: block; /* Make the button block level */
    margin: 20px auto 0; /* Center the button */
  }

  .Reviewbutton:hover {
    background-color: darkgreen;
  }

  .review-response-title {
    color: green;
    
}



.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.modal {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 1300px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.modal-title {
  text-align: center;
  color: #ff5a5f;
  font-size: 20px;
  margin-bottom: 20px;
}

.modal-text {
  text-align: center;
  margin-bottom: 25px;
  font-size: 16px;
}

.modal-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.modal-button {
  width: 100%;
  padding: 15px;
  background-color: #2e8b01;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

.modal-button:hover {
  background-color: #247201;
}







