* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
  min-height: 100vh;
  color: #333;
}

header {
  background: #2e7d32;
  color: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header p {
  margin-top: 10px;
  font-weight: 300;
  opacity: 0.9;
}

main {
  padding: 30px 20px;
  max-width: 1100px;
  margin: auto;
  animation: fadeIn 0.6s ease-in;
}

.about-section, .support-section {
  background: white;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: #2e7d32;
  text-align: center;
}

/* --- GRID LAYOUT FOR CARDS --- */
.hike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.hike-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.hike-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hike-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #eee;
}

.hike-info {
  padding: 20px;
}

.hike-info h3 {
  color: #1e88e5;
  margin-bottom: 10px;
}

.hike-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  background: #e3f2fd;
  color: #0d47a1;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- FULLSCREEN DETAILS --- */
.hidden {
  display: none !important;
}

#hike-details {
  background: white;
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  animation: slideUp 0.5s ease;
}

#hike-details h1 {
  color: #2e7d32;
  margin: 20px 0;
}

#hike-details h3 {
  margin: 25px 0 10px;
  color: #333;
}

.budget-list {
  background: #f1f8e9;
  padding: 15px 30px;
  border-radius: 8px;
  display: inline-block;
}

.budget-list li {
  margin-bottom: 5px;
}

#hike-details button {
  background: #1e88e5;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

#hike-details button:hover {
  background: #0d47a1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #2e7d32;
  color: white;
  margin-top: 40px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
