:root {
    --kleur1: #f0e2d3;
    --kleur2: #4f6a8f;
    --kleur3: #88888;
}

/* ======== STANDAARD STYLING ======== */

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    text-decoration: none;
}

p {
    color: #221E1F;
    font-size: clamp(1rem, 1.1rem + 0.25vw, 1.1875rem);
    line-height: 35px;
    font-family: "auto-pro-new", sans-serif;
}

input:focus,
textarea {
    outline: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "ff-scala", sans-serif;
    font-style: italic;
}



/* ======== MENU ======== */

.menu-balk {
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999;
    -webkit-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
}

.innermenu-wrap {
    display: flex;
    justify-content: space-between;
}

ul.menu-inner {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-bottom: 0;
    align-items: center;
    font-family: "auto-pro-new", sans-serif;
}

ul.menu-inner a {
    font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.5rem);
    color: #000;
}

ul.menu-inner a:hover {
     color: var(--kleur2);
}

.current-menu-item a {
    color: var(--kleur2)!important;
    font-weight: 700;
}

.innermenu-wrap h1 {
    color: #000;
    font-size: 35px;
}

/* ======== TOP BLOK ======== */

.top-blok h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    color: #4f6a8f;
    line-height: 47px;
}

.top-blok {
    padding-top: 65px;
}

/* ======== HEADER ======== */

.header-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, calc((800px - 10px) / 2));
    gap: 10px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.item-main {
  grid-row: span 2; 
}

@media (max-width: 768px) {
  .header-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 250px); 
  }
  .item-main {
    grid-row: span 1;
  }
}

/* ======== CONTENT ======== */

.innermenu-wrap h2 {
    font-weight: 700;
}

.introblok {
    padding-top: 40px;
    padding-bottom: 70px;
}

.introblok h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 2.9375rem);
    color: #4f6a8f;
    line-height: 47px;
}

.padding-right {
    padding-right: 60px;
}

.innerinfo-blok {
    background: var(--kleur1);
    padding: 32px;
}

.innerinfo-blok h3 {
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
}

p.vraagprijs {
    font-family: "ff-scala", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
}

/* ======== INNER INFO ======== */

.innerinfo {
    font-family: "auto-pro-new", sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
    margin-top: 30px;
}

.blok-info {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 0;
    padding-left: 0;
    font-size: 17px;
}

/* Zorgt dat automatische iOS links dezelfde stijl houden als de tekst */
a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

span.kleinetwee {
    font-size: 1.0625rem;
    position: relative;
    top: -5px;
}

.links, .rechts {
    width: 50%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
}

img.icoon {
    width: 50px;
    margin-right: 15px;
    flex-shrink: 0; 
}

.links br, .rechts br {
    content: '';
    width: 100%;
}

/* ======== CONTACT FORMULIER ======== */

input, textarea {
    font-size: 16px;
    border: none;
    padding: 7px 5px;
    background: #fff;
    width: 100%;
}

label {
    font-weight: 500;
    font-size:18px;
    margin-bottom: 10px;
    width: 100%;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: auto;
    font-size: 22px;
    height: auto !important;
    padding: 13px;
    font-weight: 600;
    -webkit-box-shadow: 0 0 20px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 20px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, .1);
    color: #fff !important;
    background-color: #4f6a8f;
    margin-top: 20px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background: #ffb900;
    border: none;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: "auto-pro-new", sans-serif;
    font-size: 17px;
}

.wpcf7-not-valid-tip {
    color: #ea4335 !important;
    font-size: 16px !important;
    margin-top: 5px !important;
    font-weight: 700 !important;
}

.wpcf7-mail-sent-ok {
    background-color: #e6f4ea !important;
    border: 1px solid #34a853 !important;
    border-left: 5px solid #34a853 !important;
    color: #137333 !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #fce8e6 !important;
    border: 1px solid #ea4335 !important;
    border-left: 5px solid #ea4335 !important;
    color: #c5221f !important;
}

.wpcf7-spam-blocked,
.wpcf7-aborted {
    background-color: #fef7e0 !important;
    border: 1px solid #fbbc04 !important;
    border-left: 5px solid #fbbc04 !important;
    color: #b06000 !important;
}

.wpcf7-not-valid-tip {
    color: #ea4335 !important;
    font-size: 13px !important;
    margin-top: 5px !important;
    font-weight: 500 !important;
}


body.mobiel-menu-open {
    overflow: hidden !important;
}

.mobiel-menu-toggle {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.mobiel-menu-bar {
    width: 32px;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6), 
                opacity 0.4s ease, 
                background-color 0.3s ease;
    transform-origin: center;
}


.mobiel-menu-toggle.is-active .mobiel-menu-bar.top {
    transform: translateY(9px) rotate(135deg);
}

.mobiel-menu-toggle.is-active .mobiel-menu-bar.middle {
    opacity: 0;
    transform: scaleX(0);
}

.mobiel-menu-toggle.is-active .mobiel-menu-bar.bottom {
    transform: translateY(-9px) rotate(-135deg);
}

.mobiel-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}



.mobiel-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.innerinfo-blok {
    padding: 20px;
}

.mobiel-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
     max-width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 9998;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transform: translateX(110%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

ul#menu-hoofdmenu-1 {
    list-style: none;
    padding-left: 10px;
    font-family: "auto-pro-new", sans-serif;
    font-size: 30px;
    margin-bottom: 0;
}

.mobiel-menu-panel.is-active {
    transform: translateX(0);
}

.mobiel-menu-nav {
    width: 100%;
}

.menu-inner {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobiel-menu-panel.is-active .menu-inner li {
    opacity: 1;
    transform: translateX(0);
}

.mobiel-menu-panel.is-active .menu-inner li:nth-child(1) { transition-delay: 0.2s; }
.mobiel-menu-panel.is-active .menu-inner li:nth-child(2) { transition-delay: 0.3s; }
.mobiel-menu-panel.is-active .menu-inner li:nth-child(3) { transition-delay: 0.4s; }
.mobiel-menu-panel.is-active .menu-inner li:nth-child(4) { transition-delay: 0.5s; }
.mobiel-menu-panel.is-active .menu-inner li:nth-child(5) { transition-delay: 0.6s; }


div#cf7SuccessModal .modal-content {
    -webkit-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    border: none!Important;
}

.schaduw {
    -webkit-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 60px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 0 40px 1px rgba(0, 0, 0, .1);
}

.test {
    padding-left: 40px;
    padding-right: 40px;
}

.content-blok {
    width: 70%;
    text-align: center;
    margin: 30px auto;
}

/* --- Caption Overlay Styling --- */
.gallery-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Donkere overlay voor leesbaarheid */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
  font-family: "auto-pro-new", sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-caption span {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* Hover-toestand activeert de Fade-In */
.gallery-item:hover .gallery-caption {
  opacity: 1;
  visibility: visible;
}

.gallery-item:hover .gallery-caption span {
  transform: translateY(0);
}

ul#menu-hoofdmenu-1 a {
    color: #5f5f5f;
}


.introblok a {
    color: #000;
    text-decoration: none!important;
}

.header-gallery {
    position: relative;
}

.open-huis-badge {
    position: absolute;
    top: 90px;
    left: 50px;
    z-index: 10;
    background-color: #e63946;
    color: #ffffff;
    padding: 45px 30px 25px 30px;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-family: "auto-pro-new", sans-serif;
    text-align: center;
}

span.titel-openhuis {
    font-weight: 800;
}

.openhuis{
    display:none;
}
.open-huis-badge .datum {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0;
    opacity: 1;
}

.open-huis-badge .titel {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.open-huis-badge .tijd {
    font-size: 1.20rem;
}

.header-gallery {
  position: relative;
}

.sold-badge {
    background-color: #e60000;
    color: #ffffff;
    font-size: 45px;
    text-align: center;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 20px;
    position: fixed;
    width: 100%;
    z-index: 99;
}

/* Voor kleinere schermen (mobiel) */
@media (max-width: 768px) {
  .sold-badge {
    font-size: 2rem;
    padding: 10px 0;
  }
}