/* CSS from the inline style and Explore-specific styles */

.restaurants-grid a {
  text-decoration: none;
  color: inherit; /* Inherit the text color from the parent element */
}

/* Ensure that link hover state also doesn't change text decoration */
.restaurants-grid a:hover {
  text-decoration: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Align items vertically */
  padding: 10px 20px;
  background-color: white;
}

.logo {
  width: 100px; /* Adjust as needed */
  height: auto;
}



.banner {
  height: 70vh; /* 30% of screen height */
  background-image: url('Resources/e1.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}



.collections {
  height: 40vh; /* 10% of screen height */
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.collection-item img {
  width: 150px; /* Adjust width as needed */
  height: auto;
}

.label {
  text-align: center;
  margin-top: 5px; /* Adjust spacing as needed */
  font-weight: bold;
  font-size: 14px; /* Adjust font size as needed */
  color: #333; /* Adjust color as needed */
}

.location-form {
  background-color: white;
  border-radius: 10px; /* Adjust border radius as needed */
  padding: 10px;
  display: flex; /* Add this line */
  max-width: 600px;
  min-width: 350px;
  /* Remove the centering */
  position: relative;
  left: 0; /* Move to the left */
  transform: none; /* Remove centering transform */
  width: fit-content; /* Adjust width according to the content */
}



.location-input {
  position: relative;
  flex: 1; /* Add this line */
  margin-right: 10px; /* Add this line for spacing between input and button */
}

.location-input input {
  padding-left: 30px; /* Space for the icon */
  border: none;
  border-radius: 5px; /* Adjust border radius as needed */
  width: 300px; /* Adjust width as needed */
  height: 40px; /* Adjust height as needed */
}

.location-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px; /* Adjust icon position as needed */
  width: 20px; /* Adjust icon size as needed */
  height: auto;
}

.search-button {
  background-color: #4CBB17;
  color: white;
  border: none;
  border-radius: 5px; /* Adjust border radius as needed */
  padding: 10px 20px; /* Adjust padding as needed */
  cursor: pointer;
}

.menu-bar {
  display: flex;
}

.signup-button {
  color: white;
  background-color: #4CBB17; /* Same color as specified for buttons */
  border: 1px solid #4CBB17; /* Same color as specified for buttons */
  border-radius: 5px;
  padding: 10px 20px;
  margin-left: 10px; /* Adjust spacing between buttons */
  cursor: pointer;
}

.login-button {
  background-color: white;
  color: #4CBB17; /* Same color as specified for buttons */
  border: 1px solid #4CBB17; /* Same color as specified for buttons */
  border-radius: 5px;
  padding: 10px 20px;
  margin-left: 10px; /* Adjust spacing between buttons */
  cursor: pointer;
}

.login-button:hover,
.signup-button:ho er {
  background-color: #2cda60; /* Change color on hover */
}

.discover-title {
  display: block; /* Ensure the element is displayed */
}



.restaurant-image img {
  width: 100%; /* Adjust width as needed */
  height: auto;
  margin-bottom: 10px;
}

.restaurant {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.restaurant-details {
  display: flex;
  align-items: center;
}

.restaurant-icon img {
  width: 50px; /* Adjust width as needed */
  height: auto;
  margin-right: 10px;
}

.restaurant-name,
.restaurant-type,
.restaurant-rating {
  margin: 0;

}

.restaurant-info {
  display: flex;
  align-items: center;
}


 /* Suggestions */
#suggestions {
  margin-top: 140px;
  background-color: white;
  width: 100%; /* Make the suggestion box as wide as the input */
  max-height: 200px; /* Limit the height and add scroll if needed */
  overflow-y: auto;
  position: absolute; /* Position it right under the search input */
  z-index: 999; /* Ensure it stays above other elements */
  color: black;
  border-radius: 10px;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
  color: green; /* Change text to green on hover */
}

.no-results {
  padding: 10px;
  color: #888;
}

/* Location Input Autocomplete Styles */
#location-input,
#restaurant-input1 {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#latitude-input,
#longitude-input {
  display: none;
}

/* Google Maps Geolocation Styles */
#map {
  width: 100%;
  height: 400px;
}

/* General Utility */
input[type="text"],
textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
}

button {
  padding: 10px 15px;
  border: none;
  background-color: #4cbb17;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #3aa50f;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  #location-input,
  #restaurant-input1 {
    font-size: 14px;
  }

  button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .restaurants-grid {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
}

.header-buttons {
  display: flex;
  gap: 12px;
}

/* Base button styles */
.header-btn {
  padding: 10px 20px;
  width: 120px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-family: Arial, sans-serif;
  text-decoration: none;
  text-align: center;
  position: relative;
}

/* Show text by default (web view) */
.btn-text {
  display: inline-block !important;
}

/* Hide icons by default (web view) */
.mobile-icon {
  display: none !important;
}

/* Button specific styles */
.login-btn {
  background: white;
  color: black;
}

.signup-btn {
  background: #4cbb17;
  color: white;
  border-color: #4cbb17;
}

/* Mobile styles */
@media (max-width: 768px) {
  .header-buttons {
    gap: 8px;
  }
  
  .header-btn {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  /* Hide text and show icon on mobile */
  .btn-text {
    display: none !important;
  }
  
  .mobile-icon {
    display: block !important;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}


.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #4cbb17;
  border-radius: 20px;
  background-color: white;
  color: #4cbb17;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.see-all-btn i {
  font-size: 18px;
}

/* Hover effect */
.see-all-btn:hover {
  background-color: #4cbb17;
  color: white;
}
