/* Base styling for the one-page website of Luc Deketele */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

/* Images: responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container for consistent horizontal spacing */
.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
}

/* Header */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.header-container {
  padding: 1.5rem 0;
}

/* Branding: logo and name layout */
.branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
}

.logo {
  /* Schaal dynamisch: min 64px, max 110px */
  height: clamp(64px, 10vw, 110px);
  width: auto;
}

.name-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-name {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
}

.tagline {
  font-size: 1rem;
  margin-top: 0.25rem;
  font-weight: 400;
  color: #555;
}

/* Hero section */
.hero {
  position: relative;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: #111;
  color: #fff;
}

.btn-primary:hover {
  background-color: #333;
}

/* Secondary buttons (hoog contrast) */
.btn-secondary {
  background-color: #111;
  color: #fff;
  margin: 0.25rem;
}

.btn-secondary:hover {
  background-color: #333;
}

.btn i {
  font-size: 1rem;
}

/* Section headings */
section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

/* About section */
.about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
}

/* Services */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.service-item {
  flex: 1 1 250px;
  background-color: #fafafa;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 4px;
  text-align: center;
}

/* Foto-tiles in Services: vaste aspect-ratio, geen vaste hoogte */
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: block;
}

/* Icon-tiles in Services */
.service-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.service-item h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.service-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* Specialties section */
.specialties .specialty-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.specialty-item {
  flex: 1 1 300px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: left;
}

/* Foto-tiles in Specialties: vaste aspect-ratio, geen vaste hoogte */
.specialty-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: block;
}

.specialty-item h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.specialty-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* Bio section */
.bio {
  background-color: #fafafa;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bio-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Bio-foto: vaste ratio, schaalbaar */
.bio-photo {
  flex: 0 0 40%;
  max-width: 400px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.bio-text {
  flex: 1 1 55%;
  min-width: 250px;
}

.bio-text h2 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact section */
.contact {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Intro-tekst in contact centreren */
.contact > .container > p {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-details {
  text-align: center;
  font-size: 0.95rem;
  color: #333;
}

.contact-details p {
  margin: 0.3rem 0;
}

.contact-details a {
  color: inherit;
  text-decoration: underline;
}

/* Klein logo boven contactgegevens */
.contact-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-small {
  height: clamp(40px, 8vw, 60px);
  width: auto;
}

/* Footer */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive adjustments (≤ 768px) */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 320px;
  }
  .hero h2 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .services .service-list {
    flex-direction: column;
    align-items: stretch;
  }
  .service-item {
    margin-bottom: 1rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Specialiteiten onder elkaar op smalle schermen */
  .specialties .specialty-list {
    flex-direction: column;
    align-items: stretch;
  }
  .specialty-item {
    margin-bottom: 1rem;
  }

  /* Bio-stack */
  .bio-content {
    flex-direction: column;
    align-items: center;
  }
  .bio-text h2, .bio-text p {
    text-align: center;
  }
}
