:root {
  --bg: #f6f5f2;
  --text: #2b2b2b;
  --accent: #6A6468;
  --light: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

header {
  background: var(--accent);
  color: var(--light);
  padding: 2rem 1rem 2.5rem;
  text-align: center;
}

.logo {
  max-width: 300px;
  margin: 0 auto 1rem;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}

header p {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

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

.card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

footer {
  background: #e3e1dc;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.hero-image {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* ===== Toetajad ja partnerid ===== */
.supporters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.supporter-logo {
  height: 100px;
  width: 160px;
  background: var(--light);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supporter-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.supporter-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
