/* Base */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
.dark-mode {
  background: #111;
  color: #f9f9f9;
}

/* Header */
.site-header {
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0;
}
.dark-mode .site-header {
  background: #222;
  border-color: #444;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.logo {
  height: 40px;
  width: auto;
}
.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: inherit;
}
.nav a.active {
  font-weight: bold;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  background: #111;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 0.5rem;
}
.dark-mode .btn {
  background: #f9f9f9;
  color: #111;
}
.btn-rgb {
  background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
  background-size: 400% 400%;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  animation: rgbGradient 8s ease infinite;
  display: inline-block;
  border: none;
}
@keyframes rgbGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  margin-top: 2rem;
}
.dark-mode .site-footer {
  border-color: #444;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
}
.social-links img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}
.social-links img:hover {
  transform: scale(1.2);
}

/* Theme toggle button */
.theme-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Make icons white in dark mode */
.dark-mode .social-links img {
  filter: invert(1);
}
