/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav-button {
  background: none;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

.nav-button:hover {
  background-color: #f0f0f0;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 1rem;
  font-size: 1.125rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Tours Grid */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* Tour Card */
.tour-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.tour-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tour-image {
  width: 100%;
  height: auto;
}

.tour-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tour-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.tour-dates,
.tour-description,
.tour-price {
  font-size: 0.95rem;
  color: #555;
}

.details-button {
  margin-top: auto;
  align-self: start;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background-color: #eee;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.details-button:hover {
  background-color: #ddd;
}

/* Responsive */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .search-input {
    font-size: 1rem;
  }
}
