:root {
    --dark-blue: #14203D;
    --light-blue: #3BA6F6;
    --check-green: #00FF00;
    --red: #FF2C2C;
    --beige: #EBD3B0;
    --background-color: #f0f6fa;
    --text-dark: #2d3748;
    --text-light: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Roboto', sans-serif;
}

/* --- Globale Instellingen --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); line-height: 1.6; color: var(--text-dark); background-color: var(--background-color); }
body:has(.available-container) {background-color: white;}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.section-padding-bottom { padding-bottom: 100px; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--dark-blue); }
h1 { font-size: 4rem; color: var(--text-light); text-transform: lowercase; font-weight: 500;}
h1::first-line { text-transform: capitalize; }
h2 { font-size: 2.5rem; margin-bottom: 60px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: var(--beige); }
p { color: #718096; margin-bottom: 1rem; }
a { text-decoration: none; transition: all 0.3s ease; color: #718096; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; background-color: var(--light-blue); color: var(--text-light); font-weight: 500; text-align: center; border: 2px solid var(--light-blue); font-size: 1.1em; cursor: pointer;}
.btn:hover { background-color: #1e87d9; border-color: #1e87d9; color: var(--text-light); }
.btn-daypart { display: inline-block; outline: none; cursor: pointer; padding: 12px 28px; border-radius: 8px; background-color: var(--text-light); color: var(--text-dark); font-weight: 500; text-align: center; border: 2px solid var(--border-color); }
.btn-daypart[data-selected='1'] { background-color: var(--light-blue); color: var(--text-light); border: 2px solid var(--light-blue);}
.btn-daypart[disabled] { background-color: #EEE; color: var(--text-dark); text-decoration: line-through;}
.btn-daypart:hover { border-color: var(--light-blue) }
.btn-full { width: 100%; padding: 15px; }
.btn-dark { background-color: var(--dark-blue); border-color: var(--dark-blue); display: flex; align-items: center; justify-content: center; gap: 10px;}
.btn-dark:hover { background-color: #0d1525; }

/* --- Header --- */
.fixed-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
#usp-bar { background-color: var(--dark-blue); padding: 12px 0; }
.usp-container { max-width: 1400px; display: flex; justify-content: space-evenly; align-items: center; gap: 40px; }
.usp-item { color: #FFFFFF; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.usp-item i { color: var(--check-green); }
#main-nav { background: white; color: var(--dark-blue); padding: 15px 0; transition: all 200ms ease-in-out; }
.scrolled-nav{background-color: #FFFF !important; color: var(--dark-blue); transition: all 200ms ease-in-out;}
.nav-container { max-width: 1400px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.scrolled-nav .logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { color: var(--text-dark); font-weight: 500; }
.nav-links a:hover { color: var(--beige); }
.scrolled-nav .nav-links { display: flex; gap: 35px; list-style: none; }
.scrolled-nav .nav-links a { color: var(--text-dark); font-weight: 500; }
.scrolled-nav .nav-links a:hover { color: var(--beige); }
.res-nav-links { display: flex; gap: 35px; list-style: none; flex-direction: column; }
.res-nav-links a { color: var(--text-light); font-weight: 500; }
.res-nav-links a:hover { color: var(--beige); }
.hamburger { display: none; background: none; border: none; color: var(--dark-blue); font-size: 1.8rem; cursor: pointer; }
#res_menu{
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-blue);
    top: 0;
    z-index: 9999;
}
.res-nav-container { 
    max-width: 1400px;
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 2em; 
    align-items: center; 
    flex-direction: column;

}
#res_menu .hamburger{
    position: absolute;
    top: 15px;
    right: 20px;
}
/* --- Hero Sectie --- */
#hero { padding: 60px 0; padding-top: 120px; position: relative; background: url('https://ecorecreatie.com/wp-content/uploads/2022/05/20220501104237_IMG_1402-1-scaled.jpg') no-repeat center center/cover; height: 100vh;}
#hero-small { padding: 60px 0; position: relative; background: url('https://ecorecreatie.com/wp-content/uploads/2022/05/20220501104237_IMG_1402-1-scaled.jpg') no-repeat center center/cover; height: 50vh;}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 100%; }
.hero-container-def-page { position: relative; z-index: 2; display: flex; justify-content: center; text-align: center; align-items: center; height: 100%; }
.hero-text { flex-basis: 50%; }
.hero-text-def-page{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.hero-text-def-page .hero-buttons a{
    margin: 0 auto;
}
.hero-text h1::after { content: ''; display: block; width: 150px; height: 4px; background-color: var(--beige); margin-top: 20px; }
.hero-text-def-page h1::after { content: ''; margin: 0 auto; display: block; width: 150px; height: 4px; background-color: var(--beige); margin-top: 20px; }
.hero-buttons { margin-top: 30px; display: flex; align-items: center; gap: 20px; }
.link-secondary { color: var(--text-light); font-weight: 500; }
.reservation-module { background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; max-width: 400px; }
.reservation-module h3 { text-align: center; margin-bottom: 25px; }
.reservation-module .form-group { margin-bottom: 20px; }
.reservation-module label { display: block; font-weight: 500; margin-bottom: 8px; }
.reservation-module input, .reservation-module select { width: 100%; padding: 12px; border: none; border-bottom: 2px solid var(--border-color); background-color: transparent; font-size: 1rem; }
.reservation-module input:focus, .reservation-module select:focus { outline: none; border-bottom-color: var(--light-blue); }

/* --- Aanbod Sectie --- */
#aanbod { background-color: #fff; position: relative; overflow: hidden; }
#aanbod::after { content: ''; position: absolute; bottom: -150px; right: -200px; width: 600px; height: 600px; background-color: var(--background-color); border-radius: 45%; transform: rotate(45deg); z-index: 1; }
#aanbod .container { position: relative; z-index: 2; }
#aanbod h2 { text-align: center; }
.sloepen-grid { display: flex; justify-content: center; gap: 2em; flex-wrap: wrap; }
.sloep-card { min-width: 330px; background-color: #fff; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); overflow: hidden; }
.sloep-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px 12px 0 0; }
.card-content { padding: 25px; }
.card-content ul { list-style: none; margin: 15px 0; }
.card-content li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #718096; }
.card-content li i { color: #48bb78; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.price { font-weight: 700; font-size: 1.2rem; color: var(--dark-blue); margin: 0; }

/* --- Omgeving Sectie --- */
#omgeving { background-color: var(--dark-blue); }
.omgeving-container { display: flex; gap: 60px; align-items: center; }
.omgeving-text { flex: 1; color: var(--text-light); }
.omgeving-text h2 { color: var(--text-light); text-align: left; }
.omgeving-text h2::after { content: ''; display: block; width: 80px; height: 3px; background-color: var(--beige); margin-top: 15px; }
.omgeving-text p { color: #a0aec0; }
.omgeving-buttons { margin-top: 30px; display: flex; align-items: center; gap: 20px; }
.link-secondary-dark { color: #fff; font-weight: 500; }
.image-collage > .swiper-wrapper { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.image-collage img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
#omgeving-slider{
    max-width: 620px;
}
/* --- Quote Sectie --- */
#quote { padding: 80px 0; background: url('https://ecorecreatie.com/wp-content/uploads/2022/05/20220501104237_IMG_1402-1-scaled.jpg') no-repeat center center/cover; position: relative; }
.quote-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
#quote blockquote { position: relative; z-index: 2; text-align: center; color: #fff; font-size: 2.5rem; font-weight: 700; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }
#quote span { display: block; font-size: 1rem; font-weight: 400; margin-top: 15px; }

/* --- Over Ons Sectie --- */
#over { background-color: var(--background-color); position: relative; overflow: hidden; }
.over-container { display: flex; align-items: center; gap: 80px; }
.over-image { flex: 1; height: 500px; }
.over-image img{
    max-width: 500px;
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
    border-radius: 9999px;
}
.over-text { flex: 1; position: relative; }
.stuurwiel-svg { position: absolute; width: 500px; top: 100%; right: -50%; transform: translateY(-50%); z-index: 0; opacity: 0.2; }
.over-text h2, .over-text p, .over-text .btn { position: relative; z-index: 1; }

/* --- Contact & Reservering Sectie --- */
#contact { background-color: #fff; }
.reservation-container h2 { text-align: center; }
.reservation-wrapper {
    display: flex;
    gap: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.calendar-container {
    flex: 1.5;
}
.booking-details-container {
    flex: 1;
    border-left: 1px solid var(--border-color);
    padding-left: 60px;
}
.booking-details-container h3 {
    text-align: left;
    margin-bottom: 20px;
}

/* Kalender Styling */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-header h4 {
    margin: 0;
    font-size: 1.5rem;
}
.month-nav {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
    padding: 10px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.weekday, .day, .empty-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    text-align: center;
}
.weekday {
    font-weight: 700;
    color: #a0aec0;
}
.day {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.day:not(.past-day, .unavailable):hover {
    background-color: var(--background-color);
    border-color: var(--light-blue);
}
.day.past-day {
    color: #cbd5e0;
    cursor: not-allowed;
    border: 2px solid transparent;
}
.day.unavailable {
    background-color: #f1f5f9;
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: transparent;
}
.day.selected {
    background-color: var(--light-blue);
    color: var(--text-light);
    border-color: var(--light-blue);
    font-weight: 700;
    transform: scale(1.05);
}
.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}
.color-box.available {
    border: 2px solid var(--border-color);
}
.color-box.unavailable {
    background-color: #f1f5f9;
}

/* Boekingsformulier Styling */
.booking-details-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.booking-details-container .form-group {
    width: 100%;
}
.booking-details-container .form-group input[type="text"],
.booking-details-container .form-group input[type="email"],
.booking-details-container .form-group input[type="tel"],
.booking-details-container .form-group input[type="date"],
.booking-details-container .form-group textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
}
.booking-details-container .form-group input:focus, 
.booking-details-container .form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 166, 246, 0.2);
}
#selected-date {
    background-color: var(--background-color);
    font-weight: 700;
    color: var(--dark-blue);
}
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 5px; }
.radio-group label, .checkbox-group label { display: flex; align-items: center; gap: 8px; font-weight: 400; }

/* --- FAQ Sectie --- */
#faq { 
    background-color: var(--dark-blue);
    background-image: url('data:image/svg+xml;utf8,<svg width="403" height="403" viewBox="0 0 403 403" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M243.335 16.6939C223.661 16.3995 203.902 28.0503 192.9 66.7627C182.87 102.054 189.313 150.918 204.313 191.9C211.187 188.998 219.069 188.396 226.704 190.765C234.649 193.231 240.992 198.499 244.996 205.147C271.571 191.886 300.703 182.039 314.73 164.758C351.926 118.933 318.028 55.7739 287.037 33.4278C275.879 25.3828 259.637 16.9379 243.335 16.6939ZM106.826 163.587C54.6411 162.757 21.2378 218.544 17.6218 254.18C14.5568 284.38 22.1949 337.007 93.5589 319.036C128.975 310.118 167.877 280.339 195.841 247.043C186.148 238.788 181.71 225.214 185.705 212.344C186.438 209.991 187.436 207.728 188.68 205.6C163.405 189.074 139.881 168.1 117.511 164.53C113.976 163.963 110.406 163.648 106.826 163.587ZM216.949 203.438C209.004 203.419 201.728 208.509 199.235 216.543C196.167 226.431 201.596 236.744 211.484 239.813C221.372 242.882 231.685 237.454 234.753 227.566C237.822 217.678 232.393 207.363 222.506 204.295C220.707 203.734 218.834 203.445 216.949 203.439V203.438ZM249.435 226.562C249.194 228.324 248.808 230.065 248.283 231.764C243.823 246.133 230.206 255.271 215.816 254.78C214.019 284.45 207.965 314.637 215.923 335.443C237.01 390.568 308.658 392.789 343.506 377.124C371.192 364.677 412.951 331.75 361.704 278.932C336.514 252.97 291.889 234.27 249.435 226.562Z" fill="%23FFFFFF" fill-opacity="0.05"/></svg>');
    background-repeat: no-repeat;
    background-position: top 50% left -150px;
}
.faq-wrapper { background-color: #fff; max-width: 800px; margin: 0 auto; padding: 50px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.faq-wrapper h2 { text-align: center; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 1.1rem; font-weight: 500; }
.faq-question i { transition: transform 0.3s ease; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 20px; color: #718096; }
.faq-answer p { margin-bottom: 0; }

/* --- Footer --- */
#footer { background-color: var(--dark-blue); }
.footer-main { background-color: #fff; padding: 60px 0; border-top-left-radius: 20px; border-top-right-radius: 20px; }
.footer-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--dark-blue); }
.footer-col p { margin-bottom: 10px; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-container { display: flex; justify-content: space-between; align-items: center; color: #a0aec0; font-size: 0.9rem; }

#reqError{
    color: var(--red);
}



div.menu_divider{
    height:130px;
    background-color: var(--white);
    width: 100%;
}

#sloep, #over{
    overflow: hidden;
}

div.sloep-container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
}
    .sloep-images{
        width: 100%;
    }
        .sloep-images img{
            width: 100%;
            object-fit: contain;
            border-radius: .6em;
        }
    .sloep-text { width: 100%; position: relative;}
    .sloep-text h2 { margin-bottom: .5em;}

    .sloep-text ul { list-style: none; margin: 15px 0; }
    .sloep-text li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #718096; }
    .sloep-text li i { color: #48bb78; }

.booking_payed{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10em 1em;
}
    .booking_payed_inner{
        max-width: 1100px;
        width: 100%;
    }
        .booking_payed_inner p{
            margin-top: .5em;
        }

.available-container{
    width: 100%;
    transform: translateY(-50%);
    padding: 0 1em;
}
    .available-container-inner{
        margin: 0 auto;
        max-width: max-content;
        width: 100%;
        background-color: white;
        border-radius: 1em;
        padding: 1em 4em;
        box-shadow: 3px 3px 16px rgba(0,0,0,0.07);
    }
        .available-container-inner > form{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1em;
        }
        .available-container-inner > form button{
            margin-top: 8px;
        }
        .available-container-inner .form-group { margin-bottom: 20px; }
        .available-container-inner label { display: block; font-weight: 500; margin-bottom: 8px; }
        .available-container-inner input, .available-container-inner select { width: 100%; padding: 12px; border: none; border-bottom: 2px solid var(--border-color); background-color: transparent; font-size: 1rem; }
        .available-container-inner input:focus, .available-container-inner select:focus { outline: none; border-bottom-color: var(--light-blue); }


.omgeving-container .swiper {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
}
.omgeving-container .swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#page_images .swiper-slide img{
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.def-text-container{
    width: 100%;
    padding: 4em 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.def-text-inner{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;

}
#page_desc{
    margin-top: -100px;
    padding-top: calc(100px + 3em);
    background-color: var(--text-light);
}

#page_slogan{
    width: 100%;
    text-align: center;
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 4em 1em;
}
    #page_slogan h2{
        color: var(--text-light);
        margin-bottom: 1em;
    }
    #page_slogan > div{
        margin: 0 auto;
        max-width: 250px;
    }

@media (min-width: 901px) {
  .omgeving-container .swiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .omgeving-container .swiper .swiper-slide {
    flex: 1 1 calc(50% - 16px); /* 2 naast elkaar */
    max-width: calc(50% - 16px);
  }
  .omgeving-container .swiper-button-next,
  .omgeving-container .swiper-button-prev,
  .omgeving-container .swiper-pagination {
    display: none !important;
  }
}


/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .hero-container { flex-direction: column; justify-content: center; text-align: center; gap: 3em; padding-top: 40px; }
    .hero-text{flex: unset;}
    .hero-text h1::after { margin-left: auto; margin-right: auto; }
    .hero-buttons { display: none; }
    .omgeving-container{ flex-direction: column; }
    .over-container{flex-direction: column-reverse; }
    .over-image { width: 100%; max-width: 400px; height: 400px; }
    .stuurwiel-svg { bottom: -50%; top: unset; right: -100%; transform: unset; }
    .reservation-wrapper { flex-direction: column; }
    .booking-details-container { border-left: none; padding-left: 0; border-top: 1px solid var(--border-color); padding-top: 40px; }
    #main-nav .nav-links{
        display: none;
    }
        #main-nav .nav-container > a.btn{
            display: none;
        }
    .hamburger{
        display: block;
    }
    .sloep-container{
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    .image-collage > .swiper-wrapper { flex: 1; display: flex; grid-template-columns: unset; gap: 20px; }
}
@media (max-width: 768px) {
    #usp-bar { display: none; }
    #main-nav { padding: 10px 0; }
    .nav-links, #main-nav .btn { display: none; }
    .hamburger { display: block; }
    div.menu_divider{
        height: 20px;
    }
    .nav-container.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background-color: var(--dark-blue); padding: 20px; gap: 0; }
    .nav-container.open .nav-links li { text-align: center; padding: 10px 0; width: 100%; }
    .section-padding { padding: 60px 0; }
    .section-padding-bottom { padding: 60px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .sloepen-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .form-row .form-group:first-child { margin-bottom: 20px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom-container { flex-direction: column; gap: 10px; text-align: center; }
    #availabilityForm{
        flex-direction: column;
    }
    .aanbod-top-res{
        margin-top: -120px;
    }
}
@media (max-width: 500px) {
    .omgeving-buttons{
        flex-direction: column;
    }
}
@media (max-width: 465px) {
    .reservation-container{
        padding: 0;
    }
}