/* Root theme variables */
:root {
    --bg: #0d1117;
    --bg-alt: #161b22;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --border: #30363d;
}

/* Light mode overrides */
.light-mode {
    --bg: #f5f5f5;
    --bg-alt: #ffffff;
    --text: #111;
    --text-muted: #444;
    --accent: #0066cc;
    --border: #ccc;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

header {
    background: var(--bg-alt);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header img.logo {
    height: 60px;
    margin-bottom: 10px;
}

nav a {
    color: var(--accent);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
}

nav a:hover {
    text-decoration: underline;
}

.section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

h2 {
    color: var(--accent);
}

.profile-photo {
    display: block;
    margin: 0 auto 20px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: var(--text-muted);
}

.toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--accent);
}

/* Navbar container */
.navbar {
  width: 100%;
  background: #111;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Layout */
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* Links */
.nav-links a {
  color: #ccc;
  margin-left: 25px;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover effect */
.nav-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 700px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    margin-top: 10px;
  }

  .nav-links a {
    margin: 10px;
    display: inline-block;
  }
}
