header {
  margin-left: 220px;
  width: calc(100% - 220px);
  height: 200px;
  background-image: url('../../afbeeldingen/La-Coccinelle/IMG-20260225-WA0020.jpg');
  background-size: cover;
  background-position: center;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  top: 0;
  transition: margin-left 0.3s ease;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.4), 
              0 6px 15px rgba(0,0,0,0.2);
}

.awesome-icon {
  color: #3e7f60;
  font-size: 1.3rem;
}

.feature-icon {
  color: #3e7f60;
  font-size: 0.9rem;
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.price-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.tax-text {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

h1, h2, h3, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

p {
  font-family: 'Open Sans', sans-serif;
}

.text-bruin {
  color: #3e7f60;
}

/* Titel container */
.title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chalet-name-color {
  color: #8b7355;
}

h5.text-center {
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  line-height: 1.4;
}

/* HR styling voor cards */
.card-body hr {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Extra kleine schermen - basis */
@media (max-width: 600px) {
  main {
    margin-left: 0;
    padding: 1rem;
  }
  
  header {
    margin-left: 0;
    width: 100%;
    min-height: 100px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    justify-content: center;
    padding: 20px;
  }
}

/* Mobiele optimalisaties voor cards */
@media (max-width: 768px) {
  /* Compactere icons bovenaan */
  .awesome-icon {
    font-size: 1rem !important;
  }
  
  .d-flex.flex-column.align-items-center div[style*="height: 40px"] {
    height: 24px !important;
  }
  
  .d-flex.flex-column.align-items-center .small {
    font-size: 0.7rem !important;
    line-height: 1.1;
  }
  
  /* Titel layout */
  .title-container {
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
  }
  
  .title-container p {
    margin-bottom: 0;
    margin-right: 0.5rem;
    font-size: 0.9rem;
  }
  
  .title-container h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
  }
  
  /* Icons container volledige breedte */
  .d-flex.flex-grow-1.justify-content-evenly {
    width: 100%;
    margin-top: 0.25rem;
  }
  
  /* Card padding compacter */
  .card-body {
    padding: 0.75rem !important;
  }
  
  /* Compactere feature lijst */
  .row.mb-3 {
    margin-bottom: 0.25rem !important;
  }
  
  .col-md-6 ul {
    margin-bottom: 0;
  }
  
  .col-md-6 ul li {
    margin-bottom: 0.15rem !important;
    font-size: 0.8rem;
  }
  
  .feature-icon {
    font-size: 0.8rem;
    width: 18px;
    margin-right: 4px;
  }
  
  .feature-text {
    font-size: 0.8rem;
  }
  
  /* Compactere beschrijving */
  .col-md-6 p.text-muted {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
  }
  
  /* Compactere prijs sectie */
  .border-top.pt-3 {
    padding-top: 0.5rem !important;
  }
  
  .price-container {
    margin-bottom: 0.25rem;
  }
  
  .price-container h4 {
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .price-container p.small {
    font-size: 0.65rem;
    margin-bottom: 0;
    line-height: 1.2;
  }
  
  /* Knop compacter */
  .btn-bruin {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 200px;
  }
  
  /* Minder ruimte tussen prijs en knop */
  .d-flex.flex-column.flex-md-row.justify-content-between.align-items-center {
    gap: 0.5rem !important;
  }
  
  /* Optioneel: kleinere afbeelding voor nog compactere cards */
  .card-img-top {
    height: 180px !important;
  }
  
  /* HR compacter */
  .card-body hr {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }
}

/* Desktop layout */
@media (min-width: 769px) {
  .title-container {
    display: contents;
  }
}