/* ===== ALGEMENE STIJLEN ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAVIGATIE ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e74c3c;
}

/* ===== HERO SECTIES ===== */
.hero {
  text-align: center;
  padding: 4rem 0;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
  color: hsl(236, 15%, 77%);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-about {
  text-align: center;
  padding: 3rem 0;
  color: white;
}

.hero-about h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-about p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  margin: 0 0.5rem;
}

.cta-button-article {
  display: inline-block;
  background: #2c3e50;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 6, 104, 0.4);
  margin: 0 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
  background: #c0392b;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ===== ALGEMENE SECTIES ===== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

/* ===== FEATURES SECTIE - MET AFBEELDINGEN ===== */
.features {
  background: white;
  padding: 4rem 0;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Feature afbeelding over volledige breedte */
.feature-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

/* Content onder de afbeelding */
.feature-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  color: #333;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Optionele overlay op afbeelding */
.feature-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.1),
    rgba(52, 73, 94, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-image::after {
  opacity: 1;
}

/* ===== PORTFOLIO SECTIE ===== */
.portfolio {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 4rem 0;
  color: white;
}

.portfolio .section-title {
  color: white;
}

.portfolio-categories {
  text-align: center;
  margin-bottom: 3rem;
}

/* ===== FILTER BUTTONS ===== */
/* Algemene filter button styling */
.filter-btn {
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
  outline: none;
}

/* Portfolio specifieke styling (donkere achtergrond) */
.portfolio .filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.portfolio .filter-btn:hover,
.portfolio .filter-btn.active {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
  transform: translateY(-2px);
}

/* Artikelen specifieke styling (lichte achtergrond) */
.articles-filter .filter-btn {
  background: #f8fafc;
  color: #475569;
  border: 2px solid #e2e8f0;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.articles-filter .filter-btn:hover {
  background: #e2e8f0;
  color: #334155;
}

.articles-filter .filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 350px;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.8),
    rgba(52, 73, 94, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-text {
  text-align: center;
  color: white;
}

.portfolio-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-text p {
  font-size: 1rem;
}

.expand-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.portfolio-item:hover .expand-icon {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 1rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-info {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 5px;
}

.lightbox-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ===== BLOG POSTS ===== */
.recent-posts {
  background: white;
  padding: 4rem 0;
}

/* 🚀 UPDATED POSTS GRID MET GELIJKE HOOGTES */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: stretch; /* Zorgt dat alle items dezelfde hoogte krijgen */
}

/* 🚀 KLIKBARE POST CARDS MET GELIJKE HOOGTES */
.post-card-link {
  text-decoration: none;
  color: inherit;
  display: flex; /* Maak de link een flex container */
  height: 100%; /* Vul de volledige hoogte */
  transition: transform 0.3s ease;
}

.post-card-link:hover {
  transform: translateY(-5px);
  text-decoration: none !important;
}

.post-card-link:hover .post-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Vul de volledige hoogte van de link */
  width: 100%;
}

.post-card:hover {
  transform: translateY(-3px);
}

/* Zorg dat tekst styling behouden blijft */
.post-card-link .post-title,
.post-card-link .post-excerpt,
.post-card-link .post-category {
  color: inherit;
  text-decoration: none;
}

.post-card-link:hover .post-title {
  color: #4f9cf9; /* Lichte kleurverandering op hover */
}

.post-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* Image houdt vaste hoogte */
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

/* 🚀 UPDATED POST CONTENT VOOR GELIJKE HOOGTES */
.post-content {
  padding: 1.5rem;
  flex-grow: 1; /* Laat de content groeien om ruimte te vullen */
  display: flex;
  flex-direction: column;
}

.post-category {
  background: #2c3e50;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  flex-shrink: 0; /* Category neemt alleen benodigde ruimte */
  align-self: flex-start; /* 🎯 NIEUWE REGEL: Voorkom uitrekking */
  width: fit-content; /* 🎯 NIEUWE REGEL: Alleen benodigde breedte */
}

.post-title {
  margin-bottom: 0.5rem;
  color: #333;
  flex-grow: 0; /* Titel krijgt alleen benodigde ruimte */
}

.post-excerpt {
  color: #666;
  font-size: 0.9rem;
  flex-grow: 1; /* Excerpt vult resterende ruimte */
  margin-bottom: 0;
}

/* ===== OVER MIJ PAGINA SPECIFIEK ===== */
.about-content {
  background: white;
  margin: 4rem auto 0;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.intro-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.intro-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.1),
    rgba(52, 73, 94, 0.1)
  );
}

/* ===== SKILLS SECTIE ===== */
.skills-section {
  background: #f8f9fa;
  padding: 4rem 3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category-icon {
  font-size: 1.8rem;
}

.skill-list {
  list-style: none;
}

.skill-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  sse-between;
  align-items: center;
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-level {
  width: 100px;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ===== TIMELINE SECTIE ===== */
.journey-section {
  padding: 4rem 3rem;
  background: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.timeline-content {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 15px;
  width: 45%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline-year {
  color: #2c3e50;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.timeline-description {
  color: #666;
  font-size: 0.95rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== PASSIE SECTIE ===== */
.passion-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 4rem 3rem;
}

.passion-section .section-title {
  color: white;
}

.passion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.passion-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.passion-card:hover {
  transform: translateY(-5px);
}

.passion-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.passion-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: white;
  padding: 4rem 3rem;
  text-align: center;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f9fa;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #2c3e50;
  color: white;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

footer .social-links {
  margin-top: 1rem;
}

footer .social-links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #e74c3c;
}

/* ========================================
   ARTIKELEN PAGINA SPECIFIEK - NORMALE STYLING
======================================== */

.articles-intro {
  background: white;
  padding-top: 4rem;
}

.articles-filter {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 2rem 0;
  text-align: center;
}

.articles-filter .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.articles-grid-section {
  background: white;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

/* NORMALE ARTIKEL KAARTEN (NIET PHOTO-BACKGROUND) */
.articles-grid-section:not(.photo-background) .article-card {
  background: white !important;
  color: #333 !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.articles-grid-section:not(.photo-background) .article-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px) !important;
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.articles-grid-section:not(.photo-background)
  .article-card:hover
  .article-image
  img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.article-category {
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category specific colors */
.article-category.dotnet {
  background: #3b82f6 !important;
  color: white !important;
}

.article-category.fotografie {
  background: #ec4899 !important;
  color: white !important;
}

.article-category.workflow {
  background: #10b981 !important;
  color: white !important;
}

.articles-grid-section:not(.photo-background) .article-date {
  color: #6b7280 !important;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Article content text voor normale pagina */
.articles-grid-section:not(.photo-background) .article-title {
  color: #1f2937 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 1rem 0 !important;
  text-shadow: none !important;
}

.articles-grid-section:not(.photo-background) .article-excerpt {
  color: #4b5563 !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: none !important;
  font-size: 0.95rem;
}

/* Article actions & tags voor normale pagina */
.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.read-more-btn {
  background: #3b82f6;
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.read-more-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.articles-grid-section:not(.photo-background) .article-tags .tag {
  background: #f3f4f6 !important;
  color: #374151 !important;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}

.articles-grid-section:not(.photo-background) .article-tags .tag:hover {
  background: #e5e7eb !important;
}

/* Article counter styling */
.article-counter {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================
   SOFTWARE PAGINA ARTIKELEN - PHOTO BACKGROUND STYLING
======================================== */

/* Software pagina artikelen MOETEN glass-morphism styling behouden */
.articles-section.photo-background .article-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  color: white !important;
  display: flex;
  flex-direction: column;
}

.articles-section.photo-background .article-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

/* Article Header op photo background */
.articles-section.photo-background .article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 1rem;
}

.articles-section.photo-background .article-category {
  background: rgba(59, 130, 246, 0.8) !important;
  color: white !important;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.articles-section.photo-background .article-date {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Article Content op photo background */
.articles-section.photo-background .article-content {
  padding: 0 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.articles-section.photo-background .article-title {
  color: white !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.articles-section.photo-background .article-excerpt {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
  font-size: 0.95rem;
}

/* Article Tags op photo background */
.articles-section.photo-background .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.articles-section.photo-background .article-tags .tag {
  background: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Article Footer op photo background */
.articles-section.photo-background .article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.articles-section.photo-background .read-time {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem;
}

.articles-section.photo-background .read-more {
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.articles-section.photo-background .read-more:hover {
  color: #93c5fd !important;
}

/* Articles CTA op photo background */
.articles-section.photo-background .articles-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.articles-section.photo-background .articles-cta p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== CONTACT PAGINA SPECIFIEK ===== */
.contact-intro {
  background: white;
  padding-top: 4rem;
}

.contact-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  color: #333;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-method p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-method a {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #333;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c3e50;
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.checkbox-group {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
}

.submit-btn {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
  margin-top: 0.5rem;
  width: 100%;
  max-width: 300px;
  align-self: center;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.6);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #c3e6cb;
  text-align: left;
}

.success-message a {
  color: #155724;
  font-weight: bold;
}

/* Success sectie styling */
.success-section {
  background: white;
}

.success-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
}

.success-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.success-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.success-content p {
  line-height: 1.5;
  margin: 0;
}

/* FAQ Sectie */
.faq-section {
  background: #f8f9fa;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
  color: #333;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: #666;
  line-height: 1.5;
}

/* Response Info */
.response-info {
  background: white;
}

.response-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  padding: 2rem;
  border-radius: 20px;
  color: white;
}

.response-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.response-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.response-content p {
  opacity: 0.9;
  line-height: 1.5;
}

/* ========================================
   GEDEELDE PHOTO BACKGROUND STYLING - GEFIXTE VERSIE
======================================== */

.photo-background {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  position: relative;
  padding: 6rem 0;
  min-height: 600px;
  width: 100%;
}

.photo-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.photo-background .container {
  position: relative;
  z-index: 2;
}

.photo-background .section-title {
  color: white !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: bold;
}

/* SPECIFIEKE ACHTERGROND AFBEELDINGEN - GEFIXTE VERSIE */
.features.photo-background {
  background-image: linear-gradient(
      135deg,
      rgba(236, 72, 153, 0.1),
      rgba(59, 130, 246, 0.1)
    ),
    url("images/backgrounds/features-bg.jpg") !important;
}

/* SPECIFIEKE KLASSE VOOR SOFTWARE FEATURES ACHTERGROND */
.features.software-photo-background {
  background-image: linear-gradient(
      135deg,
      rgba(236, 72, 153, 0.1),
      rgba(59, 130, 246, 0.1)
    ),
    url("images/backgrounds/software-bg.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.recent-posts.photo-background {
  background-image: linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.1),
      rgba(236, 72, 153, 0.1)
    ),
    url("images/backgrounds/articles-bg.jpg") !important;
}

.articles-section.photo-background {
  background-image: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.1),
      rgba(79, 70, 229, 0.1)
    ),
    url("images/backgrounds/software-bg.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* PHOTO BACKGROUND FEATURE CARDS MET AFBEELDINGEN */
.photo-background .feature-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
  color: white;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.photo-background .feature-card:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

.photo-background .feature-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.photo-background .feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-background .feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.photo-background .feature-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(44, 62, 80, 0.2),
    rgba(52, 73, 94, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-background .feature-card:hover .feature-image::after {
  opacity: 1;
}

.photo-background .feature-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.photo-background .feature-card h3 {
  color: white !important;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-background .feature-card p {
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  margin: 0;
  flex: 1;
}

/* GLASS-MORPHISM KAARTEN OP PHOTO BACKGROUND - POST CARDS */
.photo-background .post-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
  color: white;
}

.photo-background .post-card:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

.photo-background .post-content {
  padding: 1.5rem;
  color: white;
}

.photo-background .post-title {
  color: white !important;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-background .post-excerpt {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.photo-background .post-category {
  background: rgba(59, 130, 246, 0.8) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SOFTWARE DEVELOPMENT PAGE STYLING
======================================== */

.tech-stack {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
}

.tech-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-tag {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* SOFTWARE PAGINA - SPECIFIEKE 6-GRID LAYOUT MET AFBEELDINGEN */
.features.photo-background.expertise-features .features-grid,
.features.software-photo-background.expertise-features .features-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem;
  margin-top: 2rem;
}

.features.photo-background.expertise-features .feature-card,
.features.software-photo-background.expertise-features .feature-card {
  display: flex !important;
  flex-direction: column !important;
  text-align: center !important;
  min-height: auto !important;
  padding: 0 !important;
}

.features.photo-background.expertise-features .feature-image,
.features.software-photo-background.expertise-features .feature-image {
  width: 100%;
  height: 120px;
  margin: 0 !important;
}

.features.photo-background.expertise-features .feature-content,
.features.software-photo-background.expertise-features .feature-content {
  flex: 1;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h3 {
    font-size: 1.5rem;
  }

  .hero-about h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .portfolio-grid,
  .skills-grid,
  .passion-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    height: 300px;
  }

  .about-content {
    margin: 2rem auto 0;
  }

  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .intro-photo {
    order: -1;
    max-width: 250px;
    margin: 0 auto;
  }

  .intro-photo img {
    height: 300px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-content {
    width: 100%;
    margin-left: 40px !important;
    text-align: left !important;
  }

  .timeline-dot {
    left: 20px;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-info {
    position: static;
    margin-top: 1rem;
  }

  .filter-btn {
    margin: 0.25rem;
    padding: 0.4rem 1rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .articles-intro {
    padding-top: 2rem;
  }

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

  .article-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .article-tags {
    width: 100%;
  }

  .contact-intro {
    padding-top: 2rem;
  }

  .contact-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .response-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .success-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

  .contact-form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem;
    font-size: 16px;
  }

  .submit-btn {
    max-width: none;
  }

  .checkbox-group {
    align-items: center !important;
  }

  /* MOBILE BACKGROUND FIX */
  .photo-background {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 4rem 0;
  }

  .photo-background .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .articles-filter .container {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    min-width: 200px;
  }

  .articles-section.photo-background .article-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .articles-section.photo-background .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* RESPONSIVE VOOR FEATURE CARDS - MET AFBEELDINGEN */
  .features-grid {
    gap: 1.5rem;
  }

  .feature-image {
    height: 120px;
  }

  .photo-background .feature-image {
    height: 120px;
  }

  /* 🚀 MOBILE FIX VOOR GELIJKE HOOGTES POST CARDS */
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .photo-background {
    padding: 3rem 0;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .photo-background .features-grid,
  .photo-background .posts-grid {
    gap: 1.5rem;
  }

  .articles-section.photo-background .article-card {
    margin: 0 -1rem;
  }

  .feature-card {
    min-height: auto;
  }

  .photo-background .feature-card {
    min-height: auto;
  }

  .feature-image {
    height: 100px;
  }

  .photo-background .feature-image {
    height: 100px;
  }

  .feature-content {
    padding: 1rem 1.5rem 1.5rem;
  }

  .photo-background .feature-content {
    padding: 1rem 1.5rem 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .photo-background .feature-card h3 {
    font-size: 1.3rem;
  }
}

/* ===== ANIMATIES VOOR AFBEELDING LAYOUT ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.photo-background .feature-card,
.photo-background .post-card,
.articles-section.photo-background .article-card {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1),
.photo-background .feature-card:nth-child(1),
.photo-background .post-card:nth-child(1),
.articles-section.photo-background .article-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2),
.photo-background .feature-card:nth-child(2),
.photo-background .post-card:nth-child(2),
.articles-section.photo-background .article-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3),
.photo-background .feature-card:nth-child(3),
.photo-background .post-card:nth-child(3),
.articles-section.photo-background .article-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4),
.photo-background .feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5),
.photo-background .feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6),
.photo-background .feature-card:nth-child(6) {
  animation-delay: 0.6s;
}