/* Algemeen */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #007bff, #00c2ff);
  color: white;
  padding: 30px 20px;
  text-align: center;
}
.header-content h1 {
  margin: 0;
  font-weight: 700;
  font-size: 2em;
}
#dateTime {
  margin-top: 10px;
  font-weight: 300;
}

/* Main */
main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}
section {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
section:hover {
  transform: scale(1.01);
}

/* Profielafbeelding */
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Projectenlijst */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 0;
  margin-top: 20px;
}
.project-list li {
  list-style: none;
}
.project-list a {
  font-weight: 500;
  color: #007bff;
  text-decoration: none;
}

/* Project card */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  overflow: visible;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card .project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(1.05);
  border-radius: 16px;
}
.project-card:hover .project-image {
  opacity: 0.45;
  transform: scale(1.1);
}
.project-card h3,
.project-card p,
.project-card .status,
.project-card .btn-info,
.project-card .tooltip,
.project-card .progress-bar,
.project-card .new-badge,
.project-card .update-badge,
.project-card .promo-badge {
  z-index: 2;
}
.project-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #007bff;
  margin: 15px 0 10px;
}
.project-description {
  font-size: 0.95em;
  color: #444;
  margin-bottom: auto;
}
.project-card .tooltip {
  margin-top: 15px;
  margin-bottom: 10px;
}
.project-card .card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  gap: 10px;
}

/* CTA-button */
.project-card .btn-info {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-bottom: 10px;
}
.project-card .btn-info:hover {
  background: #8c38d9;
}

/* Progress-bar */
.progress-bar {
  position: relative;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  transition: width 0.3s ease;
  position: relative;
  z-index: 1;
}
.progress-text {
  display: block;
  text-align: center;
  font-size: 0.9em;
  font-weight: 600;
  color: #444;
  margin-top: 6px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}
.progress-label {
  font-size: 0.8em;
  color: #777;
  margin-top: 4px;
}

/* Badges */
.new-badge,
.update-badge,
.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.75em;
  padding: 5px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: white;
  z-index: 5;
}
.new-badge {
  background: #e84393;
}
.update-badge {
  background: #a643e8;
}
.promo-badge {
  background: #f50606;
  animation: pulseBadge 1.5s infinite ease-in-out;
}

/* Status badges */
.status {
  font-weight: 500;
  font-size: 0.9em;
  border-radius: 12px;
  padding: 4px 10px;
  background-color: #e0e0e0;
  color: #333;
}
.status.online { background-color: #d4edda; color: #155724; }
.status.offline { background-color: #f8d7da; color: #721c24; }
.status.dev { background-color: #fff3cd; color: #856404; }
.status.done { background-color: #cce5ff; color: #004085; }
.status.review { background-color: #e2e3e5; color: #383d41; }
.status.maintenance { background-color: #ffeeba; color: #856404; }

.status.review::after {
  content: '';
  margin-left: 5px;
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #856404;
  border-radius: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: default;
}
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.75em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}
.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
@media (hover: none) {
  .tooltip::after { display: none; }
}

/* Responsive */
@media (max-width: 600px) {
  .header-content h1 {
    font-size: 1.5em;
  }
  .special-button-group {
    gap: 10px;
  }
  .project-button {
    font-size: 1em;
    padding: 12px;
  }
  .project-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Snelle links - button groep */
.special-button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.project-button {
  display: block;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Individuele knoppen met eigen gradient kleur */
.project-button.wirwar {
  background: linear-gradient(135deg, #e84393, #fd79a8);
}
.project-button.legal {
  background: linear-gradient(135deg, #0984e3, #74b9ff);
}
.project-button.budget {
  background: linear-gradient(135deg, #00b894, #55efc4);
}
.project-button.kimenoli {
  background: linear-gradient(135deg, #81b800, #bff541);
}
.project-button.template {
  background: linear-gradient(135deg, #f57b47, #de6b3a);
}

.project-button:hover {
  transform: translateY(-3px) scale(1.02);
}


/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  margin-top: 40px;
}

/* Powered by */
.powered-by {
  text-align: center;
  font-size: 0.85em;
  padding: 12px;
  background: #f1f1f1;
  color: #555;
  border-top: 1px solid #ddd;
}
.powered-by a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}
.powered-by a:hover {
  text-decoration: underline;
}
