/* Overrides and additions for custom sections */

/* Particles canvas */
#particles-js {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

/* Replace red background with dark */
body {
  background: #0f0f0f !important;
  background-image: none !important;
}

/* Show containers when JS toggles 'active' */
.container.active { display: block; }

/* Make overlays dark instead of red */
.container { background: rgba(10,10,10,0.96) !important; }

/* Loading and intro boxes to dark shades */
#loading { background: #0f0f0f !important; }
.box1 { background: #121212 !important; }
.box2 { background: #151515 !important; }

/* Hero title color back to white */
#middle h1 { color: #ffffff !important; text-decoration: none !important; }

/* Corner button hover to subtle white, not red */
#about:hover, #work:hover, #contact:hover {
  background: rgba(255,255,255,0.12) !important;
}

/* Contact links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.contact-links a:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.contact-links i { width: 18px; text-align: center; }

/* About photo */
.about-photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.6);
  margin: 8px 0 14px;
}
@media (max-width: 720px) {
  .about-photo { width: 130px; height: 130px; }
}

/* Experiences */
.exp { margin: 16px auto 22px; max-width: 960px; }
.exp-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.exp-header::after { content: '▸'; opacity: 0.7; font-size: 14px; margin-left: auto; transition: transform 0.2s ease; }
.exp.open .exp-header::after { transform: rotate(90deg); }
.exp-title { margin: 0; font-size: 18px; }
.exp-dates { color: #fff; opacity: 0.8; font-size: 14px; white-space: nowrap; }
.exp ul { margin: 10px 0 0 18px; }
.exp li { margin: 6px 0; }

.exp ul { display: none; }
.exp.open ul { display: block; }

.tab { display: block; }
.hidden { display: none; }
.tab-buttons { display: flex; gap: 10px; margin: 6px 0 16px; }

