body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #333;
}
.login-container {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}
.login-box {
  background: rgba(0,0,0,0.65);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  width: 320px;
}
.login-box input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
}
.login-box button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #ff9800;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
.login-box button:hover {
  background: #e68900;
}
.search-container {
  display: none;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
  position: relative;
  padding: 0;
  color: white;
}
.search-container.active {
  display: block;
}
.overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.search-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  text-align: center;
}
.search-bar {
  margin: 25px 0;
}
.search-bar input {
  padding: 12px;
  width: 280px;
  border-radius: 8px;
  border: none;
  outline: none;
}
.search-bar button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  margin-left: 10px;
  background: #007bff;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
.search-bar button:hover {
  background: #0056b3;
}
.favorites-btn-container {
  margin-bottom: 20px;
  text-align: center;
}
.favorites-btn-container button {
  background: #ff4081;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}
.favorites-btn-container button:hover {
  background: #e03370;
}
#searchResults {
  margin-top: 20px;
}
.place-card {
  position: relative;
  background-size: cover;
  background-position: center;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 15px;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.place-card-overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 15px;
}
.place-card h2 button {
  background: #ff4081;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  margin-left: 10px;
  cursor: pointer;
  color: white;
}
.place-card h2 button:hover {
  background: #e03370;
}
.place-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  gap: 15px;
  margin-top: 15px;
}
.place-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.place-images img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

#favoritesSection {
  display: none;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#favoritesList li {
  list-style: disc;
  margin: 5px 0;
}
#favoritesList button {
  background: #ff4081;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 2px 6px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
}
#favoritesList button:hover {
  background: #e03370;
}
