/* Algemene reset en basisstijl */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigatiebalk */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #222;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  user-select: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 600;
}

.nav-links a:hover:not(.active) {
  background-color: #ffd700;
  color: #222;
}

.nav-links a.active {
  background-color: #ffd700;
  color: #222;
}

/* Dropdown menu */
.dropdown {
  position: relative;
  z-index: 1001;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  flex-direction: column;
  border-radius: 5px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dropdown-content.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
}

.dropdown-content li {
  width: 100%;
  border-bottom: 1px solid #444;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  color: white;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #ffd700;
  color: #222;
}

/* Hoofdinhoud */
main {
  flex-grow: 1;
  padding-top: 0;
}

/* Aparte Titelbalk voor de hero-sectie */
.hero-titel-container {
  width: 100%;
  padding: 120px 20px 20px;
  background-color: #1a1a1a;
  text-align: center;
  color: white;
}

.hero-titel-container h1 {
  font-size: 3rem;
  font-weight: 700;
}

/* Hero-sectie - Strak en leesbaar */
.hero-split-section {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* Rechthoekige omkadering voor de hero */
.hero-split-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 5px solid #ffd700;
  z-index: 10;
  pointer-events: none;
}

.hero-split-content {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
  background-image: url('./images/hero-foto.jpg');
  background-size: cover;
  background-position: center;
}

.hero-split-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  background-color: #ffd700;
  transform: translateX(-50%) rotate(5deg);
  z-index: 5;
}

.hero-box {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Achtergrondafbeeldingen */
.hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
  opacity: 0;
}

.hero-elektriciteit::before {
  /* background-image: url('./images/hero-foto.jpg'); */
}

.hero-verwarming::before {
  /* background-image: url('https://images.unsplash.com/photo-1579624584281-224424754546?q=80&w=2832&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); */
}

.hero-box:hover::before {
  transform: scale(1.05);
  opacity: 0.7;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 450px;
}

.hero-overlay h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffd700;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Knop styling */
.hero-btn {
  background-color: #ffd700;
  color: #222;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 35px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.05em;
}

.hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(230, 194, 0, 0.7);
}

/* Diensten sectie */
.diensten {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.dienst {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.dienst:nth-child(even) {
  flex-direction: row-reverse;
}

.dienst-tekst {
  flex: 1;
  padding: 20px;
}

.dienst-tekst h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1rem;
  font-weight: 700;
}

.dienst-tekst p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.dienst-foto {
  flex: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dienst-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dienst-foto:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Ervaring sectie */
.ervaring {
  background-color: #ffd700;
  padding: 60px 20px;
  text-align: center;
  color: #222;
  margin-top: 60px;
}

.ervaring h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ervaring p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* FOOTER - DEFINITIEVE STIJLEN (2 Kolommen) */
footer {
  background-color: #222;
  color: #fff;
  padding: 3rem 2rem;
  text-align: left;
  font-size: 0.95rem;
  user-select: none;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.4);
  margin-top: auto;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-column p {
  margin: 0.5rem 0;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.footer-column a:hover {
  color: #ffd700;
  text-decoration: none;
}

/* Stijl voor sociale media links (verticaal met iconen) */
.social-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column; /* Verticaal onder elkaar */
    gap: 10px;
}

.social-links a {
    color: #fff;
    font-size: 1rem;
    padding: 5px 0;
    font-weight: 500;
    display: flex; /* Voor icoon en tekst naast elkaar */
    align-items: center;
}

.social-links a i {
    font-size: 1.2rem;
    margin-right: 10px;
    width: 20px; /* Vaste breedte voor uitlijning */
    text-align: center;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #999;
}


/* Nieuwe stijlen voor de dienstpagina's */
.page-header {
  padding: 120px 20px 60px;
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  margin-top: 0;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  font-weight: 300;
}

.content-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.content-section h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.content-section li {
  background-color: #fff;
  border-left: 5px solid #ffd700;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.content-section li:hover {
  transform: translateX(5px);
}

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.dienst-item {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.dienst-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dienst-item h3 {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.dienst-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Afbeeldingengalerij */
.image-gallery-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.image-gallery-container h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 30px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.image-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Call-to-action sectie */
.contact-cta {
  background-color: #ffd700;
  color: #222;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
}

.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Offerte formulier sectie */
.offerte-formulier-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offerte-formulier-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.offerte-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23222" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.293 12.95l-.707.707L5 10.707l-.707.707L0 16.414l1.414 1.414L5 13.586l4.293 4.293L10 16.414l-4.293-4.293z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1em top 50%;
  background-size: 1.5em;
  padding-right: 2.5em;
}

.form-group textarea {
  resize: vertical;
}

.offerte-form button[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #ffd700;
  color: #222;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

.offerte-form button[type="submit"]:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Styling voor de Over ons pagina */
.about-content-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.about-text-container {
  flex: 1;
}

.about-text-container h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-image-container {
  flex: 1;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.about-cta-button {
  margin-top: 30px;
}

/* Nieuwe stijlen voor de contactpagina */
.contact-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-details {
  background-color: #ffffff;
  padding: 30px;
  border-left: 5px solid #ffd700;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.contact-details li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.contact-details li a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-details li a:hover {
  color: #0056b3;
}

.whatsapp-section {
  text-align: left;
  background-color: #e3f5e9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-section h3 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1rem;
}

.whatsapp-section .hero-btn {
  background-color: #25d366; /* WhatsApp groene kleur */
  color: white;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 35px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-section .hero-btn:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(18, 140, 126, 0.7);
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
}

/* De page-header die was verborgen op de vorige versie is nu zichtbaar */
.page-header {
  display: block;
}

/* Responsive aanpassingen */
@media (max-width: 992px) {
  .hero-titel-container h1 {
    font-size: 2.8rem;
    white-space: normal;
  }
  .hero-overlay h2 {
    font-size: 2rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  .nav-links {
    margin-top: 10px;
    gap: 1rem;
  }
  .hero-titel-container {
    padding-top: 100px;
  }
  .hero-titel-container h1 {
    font-size: 2rem;
  }
  .hero-split-section {
    height: auto;
  }
  .hero-split-section::before {
    display: none;
  }
  .hero-split-content {
    flex-direction: column;
  }
  .hero-split-content::after {
    display: none;
  }
  .hero-box {
    margin-bottom: 20px;
    height: 60vh;
  }
  .hero-box:last-child {
    margin-bottom: 0;
  }
  .hero-overlay {
    padding: 25px;
    max-width: 90%;
  }
  .hero-overlay h2 {
    font-size: 1.8rem;
  }
  .hero-overlay p {
    font-size: 0.95rem;
  }
  .diensten {
    margin: 60px auto;
  }
  .dienst {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .dienst:nth-child(even) {
    flex-direction: column;
  }
  .page-header {
    padding-top: 100px;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
  .about-content-section {
    flex-direction: column;
    text-align: center;
  }
  .about-text-container h2 {
    font-size: 2rem;
  }
  .about-image-container {
    margin-top: 30px;
  }
  /* Responsiviteit voor het formulier */
  .offerte-form {
    flex-direction: column;
  }
  .form-group {
    flex: 1 1 100%;
  }
  /* Footer responsive aanpassing */
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .footer-column {
    text-align: center;
  }
  .footer-column h3 {
    text-align: center;
  }
  /* Social media links centreren op mobiel */
  .social-links {
      justify-content: center;
      align-items: center;
  }
  .social-links a {
      justify-content: center;
  }
}