:root {
  --card-width: 300px;
  --card-height: 400px;
}

.main-nav{
  background-color: rgb(0, 0, 0);
  height: 20px;
}

.travel-hero {
  background: linear-gradient(rgba(12, 0, 173, 0.941), rgba(0, 0, 0, 1)),
    url("../images/travel/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.travel-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.search-container {
  max-width: 900px;
  margin: 2rem auto;
display: flex;
justify-content: center;
align-items: center;
  gap: 1rem;
}
.search-container input,
.search-container select {
  padding: 0.8rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
}
.search-box {
  position: relative;
  border-radius: 30px;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}
.search-icon {
  color: #666;
  margin-right: 1rem;
}
#location-search {
  flex: 1;
  border-radius: 30px;
  border: none;
  background: none;
  padding: 0.5rem;
  font-size: 1.1rem;
  color: #333;
  font-family: "Nunito", sans-serif;
}
#location-search:focus {
  outline: none;
}
.search-clear {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
  display: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.search-clear:hover {
  opacity: 1;
}
.card-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-clear.visible {
    display: block;
}

.map-btn {
    background: #2c3e50;
    color: white;
}

.book-btn {
    background: #34495e;
    color: white;
}

.review-btn {
    background: #445566;
    color: white;
}

.info-btn {
    background: #556677;
    color: white;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-width), 1fr));
  gap: 2rem;
padding: 2rem;
border: 1px solid rgba(0, 0, 0, 0.1);
color: black;
  max-width: 1200px;
  margin: 0 auto;
}

.location-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: var(--card-height);
  display: flex;
  flex-direction: column;
}
.location-image {
  height: 200px;
  overflow: hidden;
}
.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.location-card:hover .location-image img {
  transform: scale(1.05);
}
.location-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.location-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.location-region {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.button-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: auto;
}
.card-btn {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.map-btn {
  background: #4caf50;
  color: white;
}
.book-btn {
  background: #2196f3;
  color: white;
}
.review-btn {
  background: #ff9800;
  color: white;
}
.info-btn {
  background: #9c27b0;
  color: white;
}
@media (max-width: 768px) {
  :root {
    --card-width: 280px;
    --card-height: 380px;
  }
  .search-container {
    flex-direction: column;
  }
  .locations-grid {
    padding: 1rem;
  }
}
