/* ================================
   DEFERRED.CSS – VISVAKANTIE TEMPLATE
   Alles wat niet per se voor first paint nodig is
   ================================ */

/* ---- Design tokens ---- */
:root {
  --ae-primary: #35666f;
  --ae-accent: #ff7900;
  --ae-bg-soft: #f7f2ea;
  --ae-border: #dddddd;
  --ae-radius-sm: 4px;
  --ae-radius-md: 8px;
}

/* ---- Typografie fijnafstelling (optioneel Muli, als je die elders laadt) ---- */
body {
  font-family: "Muli", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Buttons & links ---- */
button,
input[type="button"],
input[type="submit"],
.button {
  -webkit-appearance: none;
  border-radius: var(--ae-radius-sm);
  border: 1px solid transparent;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  background-color: var(--ae-accent);
  color: #000;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover {
  background-color: transparent;
  color: var(--ae-accent);
  border-color: var(--ae-accent);
  text-decoration: none;
}

/* ---- Icon font (Icomoon) ---- */

@font-face {
  font-family: 'icomoon';
  src: url('../icons/icomoon.eot?jn9iha');
  src: url('../icons/icomoon.eot?jn9iha#iefix') format('embedded-opentype'),
       url('../icons/icomoon.ttf?jn9iha') format('truetype'),
       url('../icons/icomoon.woff?jn9iha') format('woff'),
       url('../icons/icomoon.svg?jn9iha#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="icon-"],
[class*=" icon-"],
.fa {
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Alleen de iconen die je in deze template gebruikt zijn echt nodig */
.icon-arrow-left:before { content: "\e90e"; }
.icon-share_1:before { content: "\e907"; }
.icon-facebook:before { content: "\ea90"; }
.icon-linkedin2:before { content: "\eaca"; }
.icon-whatsapp:before { content: "\ea93"; }

/* ---- Share icons styling ---- */

.share-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #121212;
}

.share-mobile a:hover {
  background: #e2e2e2;
  text-decoration: none;
}

/* ---- Vacation data kolommen / layout ---- */

.vacation-data .row {
  row-gap: 1.5rem;
}

@media (min-width: 992px) {
  .vacation-data .col8 {
    width: 66.666%;
  }

  .vacation-data .col4,
  .vacation-data .col3,
  .vacation-data .col2 {
    width: 33.333%;
  }
}

/* ---- Accordion advanced behaviour (matching jouw JS) ---- */

.accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion-header {
  background: #f7f7f7;
}

.accordion-button {
  position: relative;
}

.accordion-button.active {
  background: #ffffff;
}

.accordion-body > .row {
  align-items: flex-start;
}

/* Sticky header effect tijdens scroll (JS zet inline, CSS fallback hier) */
@media (min-width: 768px) {
  .accordion-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
}

/* ---- Tekstblokken, limited text etc. ---- */

.box.about-vacation {
  position: relative;
}

.limited-text {
  max-height: none; /* placeholder – als je ‘lees meer’ wilt, kun je hier clampen */
}

/* ---- Gallery thumbs (fancybox) – niet kritisch ---- */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0 0;
}

.gallery-images a {
  display: block;
  flex: 0 0 auto;
  width: 20%;
}

/* ---- ACF Map styling ---- */

.acf-map {
  width: 100%;
  min-height: 260px;
  border-radius: var(--ae-radius-md);
  overflow: hidden;
  position: relative;
}

.acf-map img {
  max-width: none;
}

.marker {
  display: none;
}

.infobox {
  max-width: 260px;
  background: #ffffff;
  border-radius: var(--ae-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
  font-size: 0.85rem;
}

.infobox .img-panel {
  position: relative;
}

.infobox .img-panel img {
  width: 100%;
  display: block;
}

.infobox .img-panel-text {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 0.8rem;
}

/* ---- Breadcrumb fine tuning ---- */

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- “Waarom hier boeken” / feature lists (algemeen) ---- */

.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.icon-list i {
  margin-top: 0.15rem;
}

/* ---- Prijstabel / booking blok (basis) ---- */

.booking-wrap {
  border-radius: var(--ae-radius-md);
  border: 1px solid var(--ae-border);
  padding: 1rem;
  background: #fafafa;
}

.booking-wrap .submit-btn-wrap {
  margin-top: 1rem;
  text-align: right;
}

/* ---- Dropdown refinements ---- */

.dropdown-menu li + li {
  border-top: 1px solid #f0f0f0;
}

/* ---- Responsiveness / layout vanaf desktop ---- */

@media (min-width: 768px) {
  .vacationbanner-imagesd-flex {
    gap: 1rem;
  }

  .video-orimg,
  .show-all-img {
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .vaction-text {
    padding-bottom: 0;
  }

  .vacation-menu {
    margin-top: 0.5rem;
  }
}

@media (min-width: 992px) {
  .vacation-menu .container {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .share-mobile {
    display: flex;
  }
}

/* ---- Kleine tweaks voor mobiel ---- */

@media (max-width: 767px) {
  .vacationbanner-imagesd-flex {
    margin-top: 0.75rem;
  }

  .share-mobile {
    font-size: 0.9rem;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    right: auto;
    left: 0;
    width: 100%;
  }
}
