body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: rgb(35, 35, 35);
  margin: 0;
  padding: 0;
  color: #f5f5f5;
}

.title-with-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

/* Title Section */
.page-title {
  text-align: center;
  padding: 2.5rem 1rem 0;
}

.page-title h1 {
  font-size: 2.2rem;
  color: #f5f5f5;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Section container */
.paths-section {
  text-align: center;
  padding: 3rem 1rem;
}

.paths-section span {
  color: #39c2c9;
  text-decoration: underline;
}

/* Card container */
.paths-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* Path cards */
.path-card {
  background-color: #1b1b1b;
  border-radius: 12px;
  width: 250px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  color: #eee;
}

.path-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Card images */
.path-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Profile pic override */
.path-card.about img.profile-pic {
  width: 85px !important;
  height: 85px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #333;
}

.path-card h3 {
  margin: 0.5rem 0;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.path-card p {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Buttons */
button {
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
}

/* Button colors */
.software button   { background-color: #b44b2d; }
.web button        { background-color: #3b8965; }
.java button       { background-color: #d4b22d; }
.functional button { background-color: #5a598a; }
.mobile button     { background-color: #5c6cb4; }

/* Button hover */
.software button:hover   { background-color: #8e3d23; }
.web button:hover        { background-color: #2f6b50; }
.java button:hover       { background-color: #b99b27; }
.functional button:hover { background-color: #444374; }
.mobile button:hover     { background-color: #4a568d; }

button:hover {
  transform: translateY(-2px);
}

/* Notion Embed */
#notion-container {
  margin-top: 2rem;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

#notion-container iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
}

/* Social links */
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* Code Samples section */
.code-samples {
  background-color: #1b1b1b;
  border-radius: 12px;
  width: 250px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s, box-shadow 0.4s;
}

.code-samples:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.code-samples img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Repo links */
.repo-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.repo-links a {
  background-color: #333;
  color: #f5f5f5;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}

.repo-links a:hover {
  background-color: rgb(35, 35, 35);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: #1b1b1b;
  color: #bbb;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-links {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: #39c2c9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: #ffffff;
}

.cv-button {
  display: inline-block;
  background-color: #39c2c9;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.cv-button:hover {
  background-color: #2f9aa0;
  transform: translateY(-2px);
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1.2rem 1rem;
}

/* Top right corner */
.social-and-toggle {
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-and-toggle img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: 0.3s ease;
}

.social-and-toggle img:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* Theme toggle */
#theme-toggle {
  background: #2a2a2a;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: white;
  transition: 0.3s ease;
}

#theme-toggle:hover {
  background: #444;
}

/* --- LIGHT MODE --- */
.light-mode {
  background-color: #fafafa;
  color: #222 !important;
}

.light-mode .path-card {
  background-color: white !important;
  border: 1px solid #ddd;
  color: #222;
}

.light-mode .path-card h3 {
  color: #111 !important;
  text-shadow: none;
}

.light-mode .path-card p {
  color: #333 !important;
}

.light-mode .path-card strong {
  color: #000 !important;
}

.light-mode .repo-links a {
  background-color: #f2f2f2;
  color: #222 !important;
}

.light-mode .path-card.about img.profile-pic {
  border: 3px solid #ccc;
}

.light-mode button {
  color: white;
}

.light-mode .site-footer {
  background-color: #eaeaea;
  color: #1a1a1a;
}

.light-mode .social-and-toggle img {
  filter: none;
}

/* Projects Card */
.projects img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.projects .repo-links a {
  background-color: #333;
  color: #f5f5f5;
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: 0.3s ease;
}

.projects .repo-links a:hover {
  background-color: rgb(35, 35, 35);
  transform: translateY(-2px);
}

/* Light mode fix */
.light-mode .projects .repo-links a {
  background-color: #f2f2f2;
  color: #222 !important;
}

/* Responsive */
@media (max-width: 700px) {

  .social-and-toggle {
    right: 0.8rem;
    top: 0.8rem;
    gap: 0.6rem;
  }

  .social-and-toggle img {
    width: 28px;
    height: 28px;
  }

  #theme-toggle {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .title-with-logo img.site-logo {
    width: 60px;
    height: 60px;
  }

  .title-with-logo h1 {
    font-size: 1.6rem;
  }
}
