/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: #121212; /* Dark mode default */
  color: #eee;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: #1de9b6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 1rem;
}

/* Card styling */
.card {
  background: #1e1e1e;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Header styles */
header {
  text-align: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.subtitle {
  color: #aaa;
}

/* Navigation styles */
.nav-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-bar a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #004d40;
  color: #1de9b6;
  transition: background 0.2s ease;
}

.nav-bar a:hover {
  background: #00695c;
}

/* Footer */
footer {
  text-align: center;
}

button {
  background: #1de9b6;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #00bfa5;
}

/* Light mode overrides */
body.light {
  background-color: #f4f4f4;
  color: #222;
}

body.light .card {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

body.light .nav-bar a {
  background: #e0f2f1;
  color: #004d40;
}

body.light .nav-bar a:hover {
  background: #b2dfdb;
}

body.light button {
  background: #00695c;
  color: #fff;
}

body.light button:hover {
  background: #004d40;
}
