/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #212529;
  background-color: #ffffff;
}

/* Layout */
.main-layout {
  display: flex;
  min-height: 100vh;
}

.side-panel {
  background-color: #1f1f2e;
  color: white;
  padding: 2rem 1.5rem;
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ccc;
  margin-bottom: 1rem;
}

.side-panel h1 {
  font-size: 1.6rem;
  margin: 0.5rem 0;
}

.subtitle {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 2px 0;
}

.button-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.button {
  display: block;
  background-color: #ffffff;
  color: #1f1f2e;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s, border 0.2s, transform 0.1s;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.button:hover {
  background-color: #f1f1f1;
  border: 2px solid #cccccc;
  transform: translateY(-1px);
}

/* Main Content */
.content {
  flex-grow: 1;
  padding: 2rem;
}

.content h2 {
  color: #004080;
  margin-bottom: 0.5rem;
}

.projects ul {
  list-style: none;
  padding-left: 0;
}

.projects li {
  background: #e9ecef;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #004080;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .side-panel {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
  }

  .button-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .button {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .content {
    padding: 1rem;
  }
}
