/* =========================
   THEME VARIABLES
   ========================= */

:root {
  --bg-main: #ffffff;
  --bg-card: #f6f7f9;
  --text-main: #111111;
  --text-muted: #666666;
  --accent: #c62828;
  --border: #dddddd;
}

[data-theme="dark"] {
  --bg-main: #0f1115;
  --bg-card: #1a1d23;
  --text-main: #f2f2f2;
  --text-muted: #aaaaaa;
  --accent: #ff3b3b;
  --border: #2a2e36;
}

/* =========================
   GLOBAL
   ========================= */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  transition: background 0.3s ease, color 0.3s ease;
}

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

a:hover {
  opacity: 0.85;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem;
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .site-header {
  
  } 

.site-header.small {
  flex-direction: column;
  text-align: center;
  gap: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand img {
  height: 110px;
}

#theme-toggle {
  background: none;
  border: 0px solid var(--border);
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 2rem;
}

#theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  margin-top: 10px;
  padding: 1rem 1rem 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer-container {
  /*max-width: 1200px;*/
  justify-items: center;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}