/* ===== Reset & Fonts ===== */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* ===== Layout ===== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 240px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #2c2c2c;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.sidebar h2 {
  font-size: 1.8rem;
  margin: 0 0 30px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sidebar nav a {
  text-decoration: none;
  margin: 8px 0;
  display: block;
  font-weight: 600;
  transition: color 0.2s;
}

/* ===== Main Content ===== */
.content-area {
  flex: 1;
  padding: 60px;
  overflow-y: auto;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

ul {
  padding-left: 1rem;
}

/* ===== Skills Grid ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.skills-grid li {
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  list-style: none;
}

/* ===== Buttons ===== */
.button {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s;
  border: none;
}

/* ===== Resume Form ===== */
.resume-request-form {
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.resume-request-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.resume-request-form input,
.resume-request-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  margin-top: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.resume-request-form textarea {
  resize: vertical;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* ===== Dark Mode ===== */
body.dark-mode {
  background-color: #111111;
  color: #f0f0f0;
}

body.dark-mode .content-area {
  background-color: #111111;
  color: #f0f0f0;
}

body.dark-mode .sidebar {
  background: #2c2c2c;
  color: #f0f0f0;
}

body.dark-mode .sidebar nav a {
  color: #f0f0f0;
}

body.dark-mode .sidebar nav a:hover {
  color: #ff7e29;
}

body.dark-mode .skills-grid li {
  background: #2c2c2c;
  color: #f0f0f0;
}

body.dark-mode .resume-request-form {
  background: #2c2c2c;
  color: #f0f0f0;
}

body.dark-mode .resume-request-form input,
body.dark-mode .resume-request-form textarea {
  background: #1e1e1e;
  color: #f0f0f0;
  border: 1px solid #444;
}

body.dark-mode footer {
  background: #2c2c2c;
  color: #f0f0f0;
}

body.dark-mode .button {
  background: #ff7e29;
  color: #ffffff;
}

body.dark-mode .button:hover {
  background: #ff944d;
}

body.dark-mode #darkModeToggle {
  background: #ff7e29;
  color: #ffffff;
}

/* ===== Light Mode ===== */
body.light-mode {
  background-color: #ffffff;
  color: #1a1a1a;
}

body.light-mode .content-area {
  background-color: #ffffff;
  color: #1a1a1a;
}

body.light-mode .sidebar {
  background: #ff7e29;
  color: #ffffff;
}

body.light-mode .sidebar nav a {
  color: #ffffff;
}

body.light-mode .sidebar nav a:hover {
  color: #1a1a1a;
}

body.light-mode .skills-grid li {
  background: #e6e6e6;
  color: #1a1a1a;
}

body.light-mode .resume-request-form {
  background: #f9f9f9;
  color: #1a1a1a;
}

body.light-mode .resume-request-form input,
body.light-mode .resume-request-form textarea {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

body.light-mode footer {
  background: #f0f0f0;
  color: #1a1a1a;
}

body.light-mode .button {
  background: #ff7e29;
  color: #ffffff;
}

body.light-mode .button:hover {
  background: #ff944d;
}

body.light-mode #darkModeToggle {
  background: #ff7e29;
  color: #ffffff;
}
