/* ===== Global ===== */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --border: #e2e8f0;
  --radius: 14px;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== Container ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== Header ===== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  height: 38px;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}
nav a:hover {
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--muted);
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  color: white;
  text-align: center;
  transition: background 0.2s ease;
}

.button.primary {
  background: var(--primary);
}
.button.primary:hover {
  background: #1e4bb8;
}

/* ===== Events Grid ===== */
.events-section {
  margin-top: 40px;
}
.events-section h2 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  text-align: center;
  color: var(--text);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 24px 0;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
