/* hippocampus.be - aanvullingen op de originele template (style.css) */

/* Galerij: geen isotope-loader meer, verborgen items echt weg */
[data-isotope-layout] [class*="col-"] { opacity: 1; }
[data-isotope-layout]:after { display: none; }
.isotope.row { display: flex; flex-wrap: wrap; align-items: flex-start; height: auto !important; }
.isotope-item { position: relative !important; left: auto !important; top: auto !important; margin-bottom: 30px; }
.isotope-item[hidden] { display: none !important; }
.isotope-filters-list a { cursor: pointer; }

/* Submenu-knop op mobiel */
.rd-navbar-submenu-toggle { cursor: pointer; }
.rd-navbar-fixed .rd-navbar-submenu > .rd-menu { display: none; }
.rd-navbar-fixed .rd-navbar-submenu.opened > .rd-menu { display: block; }

/* Popups (menu's, kamers) */
dialog.hp-dialog {
  width: min(720px, calc(100% - 30px));
  max-height: calc(100% - 40px);
  padding: 0;
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  color: #151515;
}
dialog.hp-dialog:not([open]) { display: none; }
dialog.hp-dialog[open] { display: block; position: fixed; margin: auto; inset: 0; }
dialog.hp-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.hp-dialog-close {
  position: absolute; top: 8px; right: 12px;
  border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #555;
}
.hp-dialog-body { padding: 40px 30px 10px; overflow-x: auto; }
.hp-dialog-body h1 { font-size: 30px; margin-bottom: 20px; }
.hp-dialog-footer { padding: 10px 30px 25px; text-align: right; }

/* Video: pas laden na klik */
.js-video button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer;
  background: #151515 center / cover no-repeat;
}
.js-video button::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(193, 155, 118, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 44px no-repeat;
}
.js-video button span {
  position: absolute; left: 0; right: 0; bottom: 18px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px #000;
}

/* Contactformulier */
.hp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 20px; min-height: 65px; }
.hp-form-status { margin-top: 15px; min-height: 1.5em; }
.hp-form-status.is-error { color: #b00020; }
.hp-form-status.is-ok { color: #2e7d32; }

/* Taalvlaggen in de menubalk (zoals op de oude site) */
.hp-lang img { display: inline-block; vertical-align: middle; padding-bottom: 6px; }
.hp-lang + .hp-lang { padding-left: 12px; }

/* WOW-animaties: elementen zijn verborgen tot ze in beeld komen (alleen als JavaScript draait) */

/* Galerijfilter: getoonde foto's komen zacht in beeld */
.isotope-item.hp-reveal { animation: fadeIn .45s ease both; }

/* Naar boven-knop */
.ui-to-top { transform: translate3d(0, 100px, 0); transition: transform .3s ease, background .3s ease; }
.ui-to-top.active { transform: translate3d(0, 0, 0); }

/* Menu-popups (content/<taal>/popups/*.html, class "hp-menu") */
.hp-menu { max-width: 560px; margin: 0 auto; text-align: center; color: #151515; }
.hp-menu h1 { font-size: 30px; line-height: 1.2; margin-bottom: 8px; }
.hp-menu-intro { font-family: 'Old Standard TT', serif; font-style: italic; font-size: 18px; color: #74757f; margin-top: 8px; }
.hp-menu-note { font-size: 14px; color: #74757f; margin-top: 10px; }
.hp-menu-note::before { content: ''; display: block; width: 40px; height: 1px; background: #c19b76; margin: 14px auto; }
.hp-courses { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: none; }
.hp-courses li { font-size: 16px; line-height: 1.6; margin: 0; }
.hp-courses li + li::before { content: '~'; display: block; color: #c19b76; font-size: 18px; line-height: 1; margin: 14px 0; }
.hp-courses sup { color: #74757f; font-size: 11px; }
.hp-course-extra { font-style: italic; color: #74757f; }
.hp-extra-price { white-space: nowrap; font-style: normal; color: #151515; margin-left: 4px; }
.hp-prices { list-style: none; padding: 0; margin: 28px auto 0; max-width: 420px; text-align: left; }
.hp-prices li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; margin: 0; }
.hp-prices li span:first-child { flex: 1; display: flex; align-items: baseline; }
.hp-prices li span:first-child::after { content: ''; flex: 1; border-bottom: 1px dotted #c5c6cc; margin-left: 8px; transform: translateY(-4px); }
.hp-prices li span:last-child { white-space: nowrap; font-weight: 600; }
.hp-carte { max-width: 100%; }
@media (max-width: 575px) {
  .hp-dialog-body { padding: 36px 18px 6px; }
  .hp-menu h1 { font-size: 24px; }
  .hp-prices li span:first-child::after { display: none; }
}

/* Reservatieformulier */
.hp-res-notice { border-left: 3px solid #c19b76; background: #fff; padding: 16px 20px; margin: 30px 0; text-align: left; }
.hp-res-notice p { margin: 0; }
.hp-res-notice p + p { margin-top: 8px; }
.hp-res-type { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hp-res-type legend { width: 100%; margin-bottom: 6px; }
.hp-res-type label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; }
.hp-res-type input { accent-color: #c19b76; width: 18px; height: 18px; }
.js-reservationform select.form-input { appearance: auto; cursor: pointer; }
.js-reservationform input[type="date"].form-input { min-height: 50px; }
.js-group-only[hidden] { display: none !important; }
.hp-res-privacy { font-size: 13px; color: #74757f; margin-top: 14px; }
.hp-res-sep { height: 1px; background: #e1e1e6; margin: 18px 15px 4px; padding: 0; max-width: calc(100% - 30px); }
.js-reservationform .form-label-outside { white-space: nowrap; max-width: none; }

/* Reserveerknop in de kopbalk, links van het telefoonnummer */
.list-inline-bordered > .hp-res-li { padding-right: 6px; }
.rd-navbar .hp-res-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 4px;
  background: darkred; border: 2px solid #fff; color: #fff;
  font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s;
}
.rd-navbar .hp-res-btn .mdi { font-size: 17px; line-height: 1; color: inherit; }
.rd-navbar .hp-res-btn:hover, .rd-navbar .hp-res-btn:focus-visible { background: #fff; border-color: #fff; color: darkred; }
@media (max-width: 575.98px) {
  .list-inline-bordered > .hp-res-li { padding-right: 0; }
  .rd-navbar .hp-res-btn { padding: 6px 11px; font-size: 11px; letter-spacing: .05em; gap: 5px; }
  .rd-navbar .hp-res-btn .mdi { font-size: 15px; }
}

/* Twee knoppen naast elkaar (home): even breed, op één lijn, onder elkaar op smalle schermen */
.hp-buttons-wrap { text-align: center; }
.button-outer.hp-buttons { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
.button-outer.hp-buttons > .button { margin: 0; display: flex; align-items: center; justify-content: center; border-width: 2px; border-radius: 4px; }
@media (max-width: 767.98px) {
  .button-outer.hp-buttons { grid-auto-flow: row; gap: 16px; width: 100%; max-width: 340px; }
  .button-outer.hp-buttons > .button { padding-left: 20px; padding-right: 20px; }
}
