:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #1e293b;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  padding: 2rem 1rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.5rem;
}

#weather-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weather-info {
  flex-grow: 1;
}

.weather-data {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.temp {
  font-size: 2.5rem;
  font-weight: 700;
}

.condition {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.recommendations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.recommendation {
  display: flex;
  flex-direction: column;
}

.outfit-display {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.outfit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #f1f5f9;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.outfit-item .category {
  font-weight: 600;
  color: var(--secondary-color);
  min-width: 60px;
}

.btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn.primary {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
}

.btn.secondary {
  background-color: #f1f5f9;
  color: var(--text-color);
}

footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  #weather-section {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}
