:root {
  --bg-color: #000;
  --text-color: #fff;
  --accent: #f39c12;
  --primary: #8e44ad;
  --secondary: #2980b9;
}

body.light-mode {
  --bg-color: #fff;
  --text-color: #000;
  --accent: #8e44ad;
  --primary: #f39c12;
  --secondary: #2980b9;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  line-height: 1.6;
  transition: all 0.4s ease;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.navbar {
  background: var(--primary);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a, .nav-links button {
  color: #fff;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 1em;
  cursor: pointer;
}

.hero h1 {
  font-size: 3.8rem;
  text-shadow: 2px 2px 10px #f39c12;
}

.hero p {
  font-size: 1.3rem;
  color: #ddd;
}


.cta {
  font-size: 1.2rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
}


.cta:hover {
  background: #fff;
  color: #000;
}

h2 {
  font-size: 2em;
  color: var(--primary);
  margin-bottom: 20px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background: #222;
  border-left: 5px solid var(--accent);
  padding: 15px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.contact a {
  color: var(--secondary);
  text-decoration: none;
}

footer {
  text-align: center;
  background: #111;
  padding: 20px;
  font-size: 0.9em;
  color: #888;
}
