:root {
  --bg-color: #1e1e2e;
  --text-color: #cdd6f4;
  --accent-color: #89b4fa;
  --card-bg: #2a2a3a;
  --hover-color: #b4befe;
  --link-color: #89b4fa;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] {
  --bg-color: #f5f5f5;
  --text-color: #1e1e2e;
  --card-bg: #ffffff;
  --accent-color: #2563eb;
  --hover-color: #1e40af;
  --link-color: #2563eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, var(--card-bg), transparent);
}

.theme-toggle-label {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.theme-toggle-label:hover {
  color: var(--hover-color);
}

#theme-toggle {
  display: none;
}

#theme-toggle:checked + .theme-toggle-label .fa-sun {
  display: none;
}

#theme-toggle:not(:checked) + .theme-toggle-label .fa-moon {
  display: none;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--text-color);
}

h5 {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.experience, .current-projects {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.experience ul, .current-projects ul {
  list-style: none;
}

.experience li, .current-projects li {
  margin-bottom: 1.5rem;
}

.experience p, .current-projects p {
  margin-bottom: 0.5rem;
}

.experience a, .current-projects a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(45deg, var(--accent-color), var(--hover-color));
  color: var(--bg-color);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0.5rem 0;
}

.experience a:hover, .current-projects a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-media-links-resume {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: var(--bg-color);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.badge:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

footer {
  text-align: center;
  padding: 1rem;
  background: var(--card-bg);
  color: var(--text-color);
  width: 100%;
}

@media (max-width: 600px) {
  main {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }
}
