/* Color Palette Custom Properties */
:root[data-theme="light"] {
  --bg-color: #ffffff;
  --text-color: #333333;
  --nav-bg: #f8f9fa;
  --nav-link: #555555;
  --nav-link-hover: #000000;
  --toggle-bg: #ccc;
}

:root[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --nav-bg: #1f1f1f;
  --nav-link: #aaaaaa;
  --nav-link-hover: #ffffff;
  --toggle-bg: #2196F3;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--nav-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--nav-link);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--nav-link-hover);
}

/* Toggle Switch Styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-label {
  font-size: 0.85rem;
}

.theme-switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 50px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: var(--toggle-bg);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 18px;
}

/* Checkbox Action Configuration */
input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Dummy Content Placement */
.content {
  padding: 3rem 2rem;
  text-align: center;
}
