* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  height: 100%;
  width: 100%;
}

/* For Chrome, Safari, Edge */
body::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
/* body {
    scrollbar-width: none;
} */

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  border-bottom: 1px solid #ddd;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  /* border: 2px solid red; */
  margin-bottom: 10px;
  margin-top: 5px;
}

.logo {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: 50px;
  right: 10px;
  background: #333;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  min-width: 120px;
  z-index: 2000;
}

.dropdown a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #444;
}

.dropdown a:hover {
  background: #555;
}

.dropdown a:last-child {
  border-bottom: none;
}

.img img {
  margin: 5px 0px 0px 5px;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ff5722;
}

@media (max-width: 400px) {
  nav#header {
    display: flex;
    justify-content: space-between;
    /* pushes logo left, links right */
    align-items: center;
    padding: 0.5rem 0;
    background: white;
    border-bottom: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
  }

  .hero {
    width: 99%;
  }
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1rem;
  color: #eb8d19;
}

.header p {
  font-family: "Arial Narrow Bold", sans-serif;
  font-size: 1.3rem;
}

@media (max-width: 500px) {
  .header p {
    font-size: 1rem;
    margin-left: 0;
    margin-right: 0;
  }
}

.nav-links button {
  padding: 0.5rem 1rem;
  border: none;
  background: #ff5722;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 500px) {
  .nav-links {
    gap: 0.7rem;
    /* tighter gap */
  }

  .nav-links button {
    padding: 0.2rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* centers text/buttons inside */
  margin: 0 auto;
  /* centers the whole hero block on the page */
  width: 100%;
  min-height: 450px;
  /* gives it enough height for the image */
  text-align: center;
  background: url("images/streetfood1.webp") no-repeat center center;
  background-size: cover;
  position: relative;
}

@media (max-width: 500px) {
  .hero {
    min-height: 500px;
    background: url("images/streetfood2.webp") no-repeat center center;
    background-size: cover;
    position: relative;
  }
}

/* Optional: add a semi-transparent overlay for better text readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* dark overlay */
  z-index: 0;
}

.hero h1,
h2,
p,
.hero-buttons {
  position: relative;
  z-index: 1;
  margin: 0px 10px;
  /* keep text above overlay */
}

.hero-buttons a.btn {
  background: transparent;
  border: 2px solid #f9b233;
  color: #f9b233;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s ease-out;
  text-decoration: none;
}

.hero-buttons a:hover {
  background-color: #e8760b;
  color: white;
  transform: scale(1.1);
}

.hero-buttons a.btn:hover {
  background: #ff9c4d;
}

.hero p {
  font-size: 1.2rem;
  color: white;
  font-style: italic;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin: 10px 0 20px;
}

@media (max-width: 500px) {
  .hero p {
    font-size: 1rem;
  }
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #e8760b;
}

.hero-buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-buttons button {
  background: transparent;
  border: 2px solid #f9b233;
  color: #f9b233;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

/* Hover effect */
.hero-buttons button:hover {
  background-color: #e8760b;
  color: white;
  transform: scale(1.1);
}

@media (max-width: 500px) {
  .hero-buttons button {
    /* height: 50px;
    width: 100px; */
    padding: 5px;
  }
}


/* Login-Form */
.login-container {
  background-color: #fff;
  padding: 35px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-form h2 {
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

/* Style all inputs inside login-form, including password wrapper */
.login-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #453f3f;
  /* Red border */
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  color: #000;
}

/* Focus style */
.login-form input:focus {
  border-color: #4f46e5;
  /* Purple on focus */
  outline: none;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

#togglePassword {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #4f46e5;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #4338ca;
}

.extra-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.extra-links a {
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.3s;
}

.extra-links a:hover {
  color: #3730a3;
}


/* review section */
/* Add the new CSS class to handle hiding elements */
.hidden {
  display: none !important;
}

/* Rest of your CSS */
.getInput {
  display: flex;
  flex-direction: row;
  /* Ensure horizontal layout */
  gap: 30px;
  padding: 20px;
  background: linear-gradient(to right, rgb(146, 118, 118), rgb(122, 154, 173));
  color: #f1c13b;
  font-family: 'Times New Roman', Times, serif;
  width: 100%;
  box-sizing: border-box;
}


app-content button {
  background: #ff751a;
  color: black;
  border: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
}

app-content button:hover {
  background: #ff9c4d;
}


.getInput form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.getInput #app-content #review-form input[type="text"],
.getInput #app-content #review-form input[type="email"],
.getInput #app-content #review-form input[type="password"],
.getInput #app-content #review-form input[type="number"],
.getInput #app-content #review-form input[type="tel"],
.getInput #app-content #review-form textarea,
.getInput #app-content #review-form select {
  color: black;
  border: none;
  border-radius: 10px;
  padding: 10px;
}


/* Shared styles to help layout */
#app-content,
#img-content {
  flex: 1;
  box-sizing: border-box;
}

/* Review section */
#app-content {
  padding: 8px;
  width: 50%;
  /* Not strictly necessary if flex: 1 is used */
}

/* Image section */
#img-content {
  width: 50%;
  border: 2px solid green;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#img-content img {
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#img-content p {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
}

.desc1,
.desc2 {
  height: 90%;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.desc1 p,
.desc2 p {
  text-align: center;
  font-weight: 700;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.gradient-text {
  background: linear-gradient(to right, rgb(253, 253, 253), rgb(233, 163, 13));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Responsive layout for mobile */
@media (max-width: 900px) {
  /* .getInput {
    display: flex;
    flex-direction: row !important;
  } */

  #img-content {
    display: none;
  }

  #app-content {
    width: 100%;
  }
}


#value-section {
  border: 1px solid wheat;
  border-radius: 10px;
  background-color: #707070;
  padding: 10px 0px;

  height: 150px;
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  justify-content: center;
  align-items: center;
}

.photo-btn {
  background-color: #303030;
  color: #ffffff;
  height: 3em;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  cursor: pointer;
}

.photo-btn:hover {
  background-color: #505050;
}

#review-photo,
#photo-file {
  color: #ffffff;
  margin-top: 6px;
}

#upload-photo {
  /* margin: 10px; */
  padding: 15px 0px 0px 0px;
  border: 1px solid wheat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  background-color: #707070;
}

.submit-btn {
  background-color: #ef860e;
  color: #ffffff;
  margin: 10px;
  padding: 10px;
  height: 3em;
  width: 10rem;
  /* border: none; */
  border-radius: 6px;
  display: block;
  margin: 10px auto;
  text-align: center;
}

#photo-preview-container {
  width: 100%;
  margin-top: 10px;
}


.review-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.review-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-width: 100%;
  margin: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.review-card:hover {
  transform: translateY(-5px);
}

.user-review-grid {
  display: flex;
}

.vendor-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.vendor-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 15px 0 0px;
  color: #333;
}

.review-card p {
  margin: 6px 15px;
  font-size: 0.95rem;
  color: #555;
}

.review-card p strong {
  color: #000;
}

@media (max-width: 600px) {
  .vendor-name {
    font-size: 1rem;
  }

  .review-card p {
    font-size: 0.9rem;
  }
}


#photo-preview-container img {
  width: 100%;
  max-height: 350px;
  /* or any height you want */
  object-fit: cover;
  border-radius: 8px;
}

.vendor-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.review-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Search Section */
.search-section {
  text-align: center;
  height: 360px;
  /* border: 2px solid red; */
  padding: 1.5rem;
  background: linear-gradient(to right, rgb(229, 229, 229), rgb(173, 217, 229));
  margin: 1rem auto;
  max-width: 100%;
  /* border-radius: 20px; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-section input,
.search-section button {
  padding: 0.6rem;
  margin: 0.3rem 0;
  border: 1px solid white;
  border-radius: 10px;
}

.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.filters button {
  background: #ffffff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  /* Smooth transition */
}

.filters button:hover,
.search:hover {
  cursor: pointer;
  transform: scale(1.1);
  background-color: #e6a23c;
  color: white;
}

.filters button:active,
.search:active {
  transform: scale(1.2);
  background-color: #ff9800;
  color: white;
}

.popular-tags {
  /* border: 2px solid; */
  border-radius: 10px;
  padding: 1rem;
  /* background:linear-gradient(to right,rgb(94, 138, 189),rgb(166, 185, 196)) ; */
  background-color: #d5d5d5;
  margin-top: 1rem;
  margin: 0px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.popular-tags span {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 600;
  background: #ffbf00;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Aligns vertically if needed */
  text-align: center;
}

.popular-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center everything horizontally */
  justify-content: center;
  /* Center vertically if section has height */
  margin-top: 2rem;
}

.popular-tags span:active {
  transform: scale(1.2);
  background-color: #ff9800;
  color: white;
}

/* finding review: */
#event-vendor-section {
  padding: 2rem;
  background-color: #f2f2f2;
}

#event-vendor-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #333;
}

.event-vendor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.event-vendor-card {
  background: white;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.event-vendor-card:hover {
  transform: translateY(-5px);
}

.event-vendor-card h3 {
  margin: 0 0 0.5rem;
  color: #333;
}

.event-vendor-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #555;
}

.back-btn {
  margin-bottom: 1rem;
  padding: 8px 16px;
  background-color: #ddd;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.back-btn:hover {
  background-color: #ccc;
}


/* Vendor Cards */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 1rem;
  padding: 1rem;
  max-width: 100%;
  margin: auto;
  /* <— enable horizontal scrolling */
  /* optional: makes scroll snap to cards */
}

.user-review-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  /* Optional: makes snapping work */
}


.vendor-grid::-webkit-scrollbar,
.user-review-grid ::-webkit-scrollbar {
  display: none;
  /* optional: hide scrollbar */
}

.vendor-card {
  scroll-snap-align: start;
  /* optional: for smooth snap */
}

.vendor-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
}

.vendor-card p {
  margin-left: 0px;
}

.vendor-photo {
  height: 170px;
  background: #ddd;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  /* ensures image stays inside rounded corners */
}

.vendor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop without stretching */
  display: block;
}

.vendor-name {
  font-weight: bold;
}

.vendor-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

/* Map Section */
.map-section {
  max-width: 1200px;
  margin: 1rem auto;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.map-placeholder {
  height: 250px;
  background: #ddd;
  border-radius: 8px;
}

/* Why Choose Us */
.features {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.feature {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

/* Join Community */
.join {
  text-align: center;
  padding: 2rem;
}

.join button {
  padding: 0.8rem 1.5rem;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Vendor Registration */
.vendor-registration {
  display: none;
  justify-content: center;
  align-items: center;
}

.container {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.container label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #555;
}

.container input,
.container select,
.container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.container textarea {
  resize: vertical;
}

.container button {
  width: 100%;
  padding: 12px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}



.success {
  text-align: center;
  color: green;
  font-weight: bold;
  margin-top: 15px;
}

/* Map section */
.map-container {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  margin: 20px auto;
  width: 100%;
}

.map-container iframe {
  width: 90%;
  /* 90% of page width */
  height: 250px;
  /* you can adjust height */
  border: 0;
  border-radius: 10px;
  /* optional rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* optional shadow */
}


/* back Button */
.back-btn {
  position: fixed;
  top: 70px;
  /* adjust so it doesn’t overlap navbar */
  left: 15px;
  background: #ff9100;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.back-btn:hover {
  background: #e67e22;
}