body {
  font-family: 'Segoe UI', sans-serif;
  background-color: lightgray;
  margin: 0;
  padding: 0;
}

header {
  background: #2c3e50;
  color: white;
  padding: 30px 10px;
  text-align: center;
}

.wonders-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

.wonder-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s;
}

.wonder-card:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

details {
  cursor: pointer;
}

summary {
  font-weight: bold;
  padding: 5px 0;
}

footer {
  text-align: center;
  padding: 20px;
  background: #2c3e50;
  color: white;
}

form {
  margin-top: 15px;
}

form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #4dd0e1;
  font-size: 16px;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form textarea:focus {
  border-color: #00acc1;
  box-shadow: 0 0 8px rgba(0,172,193,0.5);
  outline: none;
}

form button {
  background: #00acc1;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

form button:hover {
  background: #007c91;
  transform: scale(1.05);
}
