
/* === COLOR THEORY ===
Primary Accent: #3ac9a8 (aqua green) — youthful, fresh, tech-oriented
Dark BG: #121212 — a true black for dark mode with less eye strain
Light BG: #f4f4f4 — soft off-white to prevent harsh glare
Highlight: #ffc857 — lemon-inspired yellow for warmth and CTA
*/

:root {
  --primary: #3ac9a8;
  --highlight: #ffc857;
  --light-bg: #f4f4f4;
  --dark-bg: #121212;
  --text-dark: #1c1c1c;
  --text-light: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.3s, color 0.3s;
}

body.light-mode {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

body.dark-mode {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#darkModeToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(to right, #3ac9a8, #00b89d);
  color: white;
  position: relative;
}

.hero-subtext {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-button {
  background-color: var(--highlight);
  color: black;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.community, footer {
  text-align: center;
}

footer {
  background-color: var(--primary);
  padding: 1rem;
  color: white;
}

footer .social-icons a {
  margin: 0 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
