/* Achtergrond foto styling */
.image-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

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

.image-container:hover .main-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 15px;
    text-align: center;
}

.image-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
}

/* Thumbnail styling */
.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: flex-start;
}

.thumbnail {
    width: 110px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    border-color: #2d8c80;
    box-shadow: 0 0 0 2px rgba(45, 140, 128, 0.3);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.3s ease;
}

.thumbnail:hover .thumbnail-img {
    filter: brightness(1.05);
}

/* Prijzentabel styling */
.price-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-content-desktop {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 472px;
    box-sizing: border-box;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.prices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.price-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.price-section-title {
    color: #3e7f60 ;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9ecef;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f4;
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 0.9rem;
}

.pets-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.booking-section {
    text-align: center;
    padding-top: 2px;
    border-top: 1px solid #e9ecef;
}

/* Modal styling */
.modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100vh;
}

.modal-content {
    height: 100vh;
    border: none;
    border-radius: 0;
}

.modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 60% 60%;
}


/* Kaart styling */
#map-container {
    width: 100%;
    height: 300px;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.checkbox-label {
    margin-right: 10px;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #3e7f60 ;
}

/* Info icons styling */
.info-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #3e7f60 ;
    white-space: nowrap;
    flex-shrink: 0;
}

.info-item i {
    font-size: 18px;
}

.page-header {
    border-bottom: 2px solid #2d8c80;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Mobiele prijzen balk styling */
.price-toggle-bar {
    background: linear-gradient(135deg, #3e7f60, #256f66);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(45, 140, 128, 0.3);
    margin-bottom: 8px;
}

.price-content {
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border: 1px solid #e9ecef;
    border-top: none;
}

.price-content.open {
    max-height: 1000px;
    padding: 15px;
}

.toggle-arrow {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.toggle-arrow.open {
    transform: rotate(180deg);
}

/* MOBIELE AANPASSINGEN - COMPACTE VERSIE */
@media (max-width: 768px) {
  /* Compactere header met icons */
  .page-header .row {
    margin: 0;
  }
  
  .page-header .d-flex.align-items-center.gap-3 {
    gap: 0.5rem !important;
  }
  
  .animal-emoji {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    padding: 4px;
  }
  
  h2.chalet-name-color {
    font-size: 1.4rem;
    margin-bottom: 0;
  }
  
  .page-header p[style*="color: #3e7f60"] {
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }
  
  /* Info icons rij - compacter */
  .info-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0.5rem 0;
  }
  
  .info-item {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 20px;
  }
  
  .info-item i {
    font-size: 0.9rem;
    color: #3e7f60;
  }
  
  .info-item span {
    font-size: 0.75rem;
  }
  
/* Compactere beschrijving voor alle chalets */
.page-header p.mb-0[data-i18n^="descriptions."] {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}
  
  /* Tabs compacter */
  .nav-pills .nav-link {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-right: 4px;
    margin-bottom: 4px;
  }
  
  /* Tab content compacter */
  .tab-content {
    padding: 12px;
    margin-top: 10px;
  }
  
  /* Voorzieningen tab compacter */
  #voorzieningen .p-3 {
    padding: 0.75rem !important;
  }
  
  #voorzieningen .row > div {
    margin-bottom: 0.5rem;
  }
  
  #voorzieningen .d-flex.align-items-start.gap-3 {
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  #voorzieningen .flex-shrink-0 i {
    font-size: 1rem !important;
  }
  
  #voorzieningen h6 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem !important;
  }
  
  #voorzieningen ul li {
    font-size: 0.8rem;
    margin-bottom: 0.15rem !important;
  }
  
  #voorzieningen .text-muted {
    font-size: 0.8rem;
  }
  
  /* Slaapkamer sectie compacter */
  #voorzieningen .mb-3 {
    margin-bottom: 0.5rem !important;
  }
  
  #voorzieningen h6.text-muted {
    font-size: 0.8rem !important;
    margin-bottom: 0.15rem;
  }
  
  /* Extra info tab compacter */
  #extra-informatie .p-3 {
    padding: 0.75rem !important;
  }
  
  #extra-informatie .d-flex.align-items-start.gap-3 {
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0.25rem !important;
  }
  
  #extra-informatie i {
    font-size: 1rem !important;
  }
  
  #extra-informatie p {
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.3;
  }
  
  #extra-informatie strong {
    font-size: 0.8rem;
  }
  
  /* Kalender compacter */
  #beschikbaarheid .p-4 {
    padding: 0.75rem !important;
  }
  
  .legenda {
    margin-bottom: 0.75rem !important;
  }
  
  .legenda-item {
    font-size: 0.75rem;
    margin-right: 0.75rem !important;
  }
  
  .kleur-vak {
    width: 14px;
    height: 14px;
    margin-right: 4px;
  }
  
  .maand-navigatie {
    margin-bottom: 0.75rem !important;
  }
  
  .maand-naam {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .kalender-nav .btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  .weekday {
    font-size: 0.75rem;
    padding: 4px 0;
  }
  
  /* Adres tab compacter */
  #adres .p-4 {
    padding: 0.75rem !important;
  }
  
  #adres p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  
  #adres .btn-groen {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  #adres .d-flex.flex-wrap.gap-3 {
    gap: 0.5rem !important;
    margin-bottom: 0.75rem;
  }
  
  #adres .checkbox-label {
    font-size: 0.8rem;
  }
  
  #map-container {
    height: 200px;
  }
}

/* Extra kleine schermen */
@media (max-width: 576px) {
  .info-icons {
    gap: 6px;
  }
  
  .info-item {
    padding: 3px 6px;
  }
  
  .info-item i {
    font-size: 0.8rem;
  }
  
  .info-item span {
    font-size: 0.7rem;
  }
  
  .page-header p.mb-0{
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .nav-pills .nav-link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  /* Voorzieningen verder comprimeren op kleine schermen */
  #voorzieningen .col-lg-4 {
    padding: 0 5px;
  }
  
  #voorzieningen ul {
    padding-left: 0;
  }
  
  #voorzieningen ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


@media (max-width: 768px) {
    
    /* Fix voor thumbnails op alle mobiele schermen */
    .thumbnail-container {
        gap: 5px;
        overflow-x: auto;
        padding-bottom: 5px;
        justify-content: flex-start;
    }
    
    .thumbnail {
        width: 70px !important;
        height: 52px !important;
        flex-shrink: 0;
    }
    
    /* Toon de verborgen desktop thumbnails op mobiel */
    .thumbnail.d-none.d-md-block {
        display: block !important;
    }
}

/* Voor hele kleine schermen nog wat kleiner */
@media (max-width: 480px) {
    .thumbnail {
        width: 60px !important;
        height: 45px !important;
    }
}

.animal-emoji {
  font-size: 1.8rem;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid #d4edda; 
  background: rgba(212, 237, 218, 0.2); /* heel licht groen */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  transition: all 0.3s ease;
}

.animal-emoji:hover {
  border-color: #3e7f60;
  background: rgba(62, 127, 96, 0.1);
}