:root {
  --primary-color: #3968B0;
  --secondary-color: #f8b500;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --max-width: 1200px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s ease-in;
}

.btn:hover {
  opacity: 0.9;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

#logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section */
#hero {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), url('assets/lamp-plafond-4.jpg') no-repeat center center/cover;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.icon {
  color: transparent;
  text-shadow: 0 0 0 var(--primary-color);
}

/* Sections */
.section {
  padding: 5rem 0 0;
}
.section#contact {
  padding-bottom: 5rem;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.bg-light {
  background: var(--light-color);
}

/* Wie zijn wij */
.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.text {
  flex: 1;
}

.image {
  flex: 1;
}

.image-placeholder {
  background-color: #ddd;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #666;
  border-radius: 5px;
}

/* Diensten */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem; /* Ensures spacing at the bottom */
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .icon {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

/* Waarom ons */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Foto's */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

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

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 101;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  width: auto;
}

.lightbox:target {
  display: flex;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Klanten */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-bottom: 2rem; /* Ensures spacing at the bottom */
}

.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Prevents content from overflowing */
  margin-bottom: 1rem; /* Ensures spacing between testimonials */
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.client {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  text-align: center;
}

.contact-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.contact-form h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-group textarea {
  resize: vertical;
}

/* Bedankt */
.bedankt-bericht {
  display: none;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  margin-top: 20px;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

/* Media Queries */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav ul li {
    margin: 0 0.5rem;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1.2rem;
  }

  .content {
    flex-direction: column;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

