body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
}

/* Navbar */
.navbar {
  background-color: transparent;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.navbar ul li {
  display: inline-block;
}

.navbar ul li a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: black;
  text-align: center;
}

.navbar ul li a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 15px;
}

/* Particles */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: rgba(101, 82, 152, 0.644);
  pointer-events: none;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 20px;
  gap: 0;
  margin: 0 auto;
}

.about .card {
  background-color: rgba(79, 61, 128, 0.7);
  border-radius: 12px;
  padding: 25px;
  max-width: 800px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 196, 255, 0.2);
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px;
}

.about-grid .card {
  background-color: rgba(79, 61, 128, 0.7);
  border-radius: 12px;
  padding: 25px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 196, 255, 0.2);
}

/* Projecten */
.projecten {
  background-color: rgba(101, 82, 152, 0.644);
  padding: 20px;
  border-radius: 10px;
  margin: 40px auto;
  color: #fff;
  width: 75%;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 196, 255, 0.2);
}

.projecten .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 25px;
}

.projecten .projects-grid .project-card {
  background-color: rgba(79, 61, 128, 0.7);
  padding: 18px;
  border-radius: 12px;
  color: #e6e6e6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 196, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.projecten .projects-grid .project-card:hover {
  transform: translateY(-5px);
  border: 1px solid #a33aff;
}

.projecten .projects-grid .project-card img {
  width: 100%;
  border: 1px solid #6b5b78;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* =========================
   SKILLS
========================= */
.category {
  padding: 40px 20px;
  margin: 60px auto;
  max-width: 1200px;
}

.category h2 {
  margin-bottom: 40px;
  font-size: 2rem;
  border-left: 4px solid #00ffae;
  padding-left: 15px;
}

/* Responsive Grid */
.category .skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
}

/* Skill Card */
.skills-card {
  perspective: 1000px;
  width: 100%;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

/* Inner flip */
.skill-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.skills-card:hover .skill-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.skill-front,
.skill-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.skill-front {
  background: #79689a;
  backdrop-filter: blur(6px);
  border: 1px solid #27272a;
}

.skill-front img {
  max-width: 80px;
  height: auto;
}

.skill-back {
  background: #345148;
  color: #0e0e11;
  transform: rotateY(180deg);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}


/* Footer */
.footer {
  background-color: rgba(79, 61, 128, 0.7);
  padding: 20px;
  text-align: center;
  color: #fff;
  margin-top: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(58, 196, 255, 0.2);
}

/* Media Queries */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Algemene styling ===== */
.portfolio {
  padding: 80px 10%;
}




/* ===== Grid ===== */
.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* ===== Card ===== */
.project-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s ease;
  transform: translateY(40px);
  opacity: 0;
}

.project-card.show {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 255, 200, 0.3);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 22px;
}

.project-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ddd;
}

/* ===== Button ===== */
.project-content a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  background: linear-gradient(90deg, #00f5ff, #00ff94);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.project-content a:hover {
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.8);
  transform: scale(1.05);
}