/* Base Styles */
body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  transition: background 0.3s, color 0.3s;
}

.hero {
  background: url('https://images.unsplash.com/photo-1581320541856-b573b16dd947') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  text-align: center;
}

.container h1 {
  font-size: 3rem;
  margin: 0;
}

.container h2 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.container p {
  font-size: 1rem;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0ff;
  color: #000;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0cf;
}

section {
  padding: 50px 20px;
  text-align: center;
}

.skills ul, .achievements ul {
  list-style: none;
  padding: 0;
}

.skills li, .achievements li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact a {
  color: inherit;
  text-decoration: underline;
}

/* Theme Styles */
.dark {
  background-color: #000;
  color: #fff;
}

.light {
  background-color: #f4f4f4;
  color: #111;
}

.light .overlay {
  background: rgba(255, 255, 255, 0.7);
}

.light .btn {
  background: #111;
  color: #fff;
}

.light .btn:hover {
  background: #444;
}

/* Toggle Switch */
.toggle-container {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}
