/* =========================================================================
   VARIABELEN & ALGEMENE STYLES
   ========================================================================= */

:root {
  --groen: #3d5d46;
  --groen-licht: #6a8a73;
  --wit: #ffffff;
  --zwart: #121212;
  --grijs: #f5f5f5;
  --grijs-donker: #777;
  --error: #d9534f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--wit);
}

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

/* =========================================================================
   NAVIGATIE STYLING
   ========================================================================= */

.navbar {
  background: var(--zwart);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
  max-width: 200px;
}

.logo:hover img {
  transform: scale(1.05);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--groen-licht);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--groen-licht);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--zwart);
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  .nav-links.active {
    max-height: 400px;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0;
    width: 100%;
  }

  .nav-wrapper {
    padding: 0.5rem 1rem;
  }

  .logo img {
    height: 42px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    padding: 0.4rem 0.8rem;
  }

  .logo img {
    height: 35px;
  }
}

/* =========================================================================
   FOOTER
   ========================================================================= */

footer {
  background: var(--zwart);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* =========================================================================
   HOMEPAGE - HERO & DIENSTEN
   ========================================================================= */

.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn {
  background: var(--groen);
  color: white !important;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  background: transparent;
  border-color: white;
  transform: translateY(-3px);
}

.diensten {
  background: var(--grijs);
  padding: 4rem 0;
}

.diensten h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--groen);
  margin-bottom: 3rem;
}

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

.dienst {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

.dienst h3 {
  color: var(--groen);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.dienst p {
  color: #555;
  line-height: 1.7;
}

/* =========================================================================
   HOMEPAGE - OVER MIJ
   ========================================================================= */

.over-mij {
  padding: 4rem 0;
}

.over-mij-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.over-mij-text {
  flex: 1;
}

.over-mij-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--groen);
  margin-bottom: 1.5rem;
}

.over-mij-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.over-mij-img {
  flex: 0 0 400px;
}

.over-mij-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .over-mij-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .over-mij-img {
    flex: 1;
  }
}

/* =========================================================================
   CATEGORIE NAVIGATIE – UNIFORM
   ========================================================================= */

.cat-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.cat-nav a {
  padding: 0.5rem 1.2rem;
  background: var(--grijs);
  border-radius: 25px;
  text-decoration: none;
  color: var(--groen);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.cat-nav a:hover,
.cat-nav a.active {
  background: var(--groen);
  color: white;
  border-color: var(--groen);
  transform: translateY(-2px);
}

/* =========================================================================
   PAKKETTEN PAGINA
   ========================================================================= */

.pakketten-section {
  padding: 2rem 0;
  min-height: 70vh;
  background: #fff;
}

.hoofdpakket {
  margin: 2rem 0;
}

.hoofdpakket h2 {
  font-family: 'Playfair Display', serif;
  color: var(--groen);
  border-bottom: 2px solid var(--groen);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.pakketten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pakket-professioneel {
  background: var(--wit);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pakket-professioneel:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pakket-header-professioneel {
  background: linear-gradient(135deg, var(--groen), var(--groen-licht));
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.pakket-header-professioneel h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: white !important;
}

.pakket-prijs-header {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pakket-body-professioneel {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pakket-beschrijving {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.pakket-features-professioneel {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.pakket-features-professioneel li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.5rem;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 1rem;
}

.pakket-features-professioneel li:last-child {
  border-bottom: none;
}

.pakket-features-professioneel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--groen);
  font-weight: bold;
  font-size: 1.4rem;
  width: 2rem;
  height: 2rem;
  background: rgba(61, 93, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pakket-extras-professioneel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-shrink: 0;
}

.extra-badge {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
  border: 1px solid #e9ecef;
}

.pakket-footer-professioneel {
  padding: 0 1.5rem 2rem 1.5rem;
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
}

.btn-aanvraag {
  background: linear-gradient(135deg, var(--groen), var(--groen-licht));
  color: white !important;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(61, 93, 70, 0.3);
}

.btn-aanvraag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(61, 93, 70, 0.4);
}

/* =========================================================================
   PORTFOLIO
   ========================================================================= */

.portfolio-section {
  padding: 2rem 0;
  min-height: 70vh;
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1400px) {
  .portfolio-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1399px) and (min-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1099px) and (min-width: 800px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 799px) and (min-width: 550px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 549px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--grijs);
  aspect-ratio: 3 / 4;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(61,93,70,0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.2rem;
}

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

.portfolio-overlay h3 {
  color: white;
  font-size: 1rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  transform: translateY(8px);
  transition: transform 0.3s ease;
  margin: 0;
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

/* =========================================================================
   CONTACT & OVERIGE PAGINA’S
   ========================================================================= */

.contact {
  padding: 4rem 0;
  min-height: 50vh;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--groen);
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact textarea {
  resize: vertical;
  min-height: 150px;
}

.contact button {
  width: 100%;
  padding: 1rem;
  background: var(--groen);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: var(--groen-licht);
}

.error {
  background: #fee;
  color: var(--error);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--error);
}