/* =====================================================
   BASIS
===================================================== */
.navbar-nav .nav-link{ font-weight:500; }
.dropdown-menu .dropdown-item{ white-space:nowrap; }

/* =====================================================
   FOOTER – FULL WIDTH
===================================================== */
.site-footer{
  background:#111;
  color:#eee;
  padding:2rem 0;
  margin-top:3rem;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}

.site-footer .footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 2rem;
}
.site-footer .footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:3rem;
}
.site-footer h4{
  font-size:16px;
  font-weight:600;
  margin-bottom:1rem;
  color:#fff;
}

.site-footer ul{
  list-style:none;
  padding:0;
  margin:0;
}

.site-footer li{
  margin-bottom:0.5rem;
}

.site-footer a{
  color:#ccc;
  text-decoration:none;
  font-size:14px;
}

.site-footer a:hover{
  color:#fff;
  text-decoration:underline;
}
.site-footer .footer-bottom{
  margin-top:3rem;
  text-align:center;
  font-size:13px;
  color:#aaa;
}
.container2 { gap: 24px; max-width: 1400px; margin: 40px auto; padding: 0 20px; }

/* =====================================================
   NAVBAR – DESKTOP
===================================================== */
.navbar{
  position:fixed;
  top:0; left:0;
  width:100%;
  height:75px;
  display:flex;
  align-items:center;
  padding:0 60px;
  /*background-color:#3B82F6 !important;*/
  background-color: #fff;
  transition:background-color .3s, box-shadow .3s;
  z-index:5000;
}
.navbar.scrolled{
  background-color:2563EB !important;
  box-shadow:0 2px 8px rgba(0,0,0,.1) !important;
}
.nav-left{ display:flex; align-items:center; gap:50px; flex-shrink:0; }
.nav-right{ margin-left:auto; display:flex; gap:10px; }

.menu{
  display:flex;
  list-style:none;
  margin:0;
  gap:25px;
  padding-top:14px;
}
.menu a{
  text-decoration:none;
  color:#fff;
  font-size:17px;
}

/* Logo desktop */
.navbar-brand{
  display:flex;
  align-items:left;
  height:100%;
}

.navbar-brand img{
  height:auto;
  max-height:55px;   /* ← leesbaar én realistisch */
  width:auto;
  max-width:100%;
  display:block;
}
/* Menu-item Mijn favorieten wit maken */
.navbar a[href*="favorieten"]{
  color: #ffffff !important;
}

/* Hover ook wit */
/* Menu-item Mijn favorieten wit, zonder lijntje */
.navbar a[href*="favorieten"],
.navbar a[href*="favorieten"]:hover{
  color: #ffffff !important;
  text-decoration: none !important;
}

/* =====================================================
   HERO – DESKTOP
===================================================== */
.hero_header{
  position:relative;
  width:100vw;
  height:40vh;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow:visible;                  /* zoekbalk mag buiten hero hangen */
  margin-bottom:80px;               /* ruimte voor hangende search */
  background:transparent;
}

.hero-image-header{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-text{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  z-index:2;
  padding:1rem;
}
.hero-text h1{
  font-size:clamp(1.75rem,3.5vw,3rem);
  margin:0 0 .5rem;
  text-shadow:0 2px 12px rgba(0,0,0,.5);
}
.hero-text p{
  max-width:60ch;
  margin:.25rem 0;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

/* =====================================================
   SEARCH – DESKTOP 
===================================================== */

/* EXACT dezelfde container als search-bar-hotel */
.search-bar{
  /*position: absolute;*/
  /*left: 50%;
  transform: translateX(-50%);
  bottom: -36px;*/
  width: min(100%, 1200px);
  background:#ffffff;
  padding:24px 32px;
  border-radius:18px;
  /*box-shadow:0 12px 30px rgba(16,27,65,.08);*/
  /*border:none;*/
  /* z-index:3000;*/
}
.search-wrap{
  position:absolute;
  left:50%;
  bottom:-40px;
  transform:translateX(-50%);
  width:min(95%,1200px);
  z-index:5;
}
.search-wrapper_home{
  position:absolute;
  left:50%;
  top:110px;
  transform:translateX(-50%);
  width:min(95%,1200px);
  z-index:5;
}

/* layout */
.search-bar form{
  display: flex;
  align-items: center;
  gap:12px;
}


.search-item,
.search-item-date,
.search-item-persons{
  display:flex;
  align-items:center;
  padding:12px 16px;
  flex:1;
  background:transparent;
  border-radius:0;
  padding:12px 16px;
  border-right:1px solid #e5e7eb;
}

/* remove last divider */
.search-item:last-of-type{
  border-right: none;
}

/* inputs */
.search-item input,
.search-item select{
  /*outline: none;*/
  /*width: 100%;*/
  padding: 0px 16px;
  height:52px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  font-size:14px;
  color:#101b41;
}

.search-item input:focus,
.search-item select:focus{
  outline:none;
  background:#ffffff;
  border-color:#101b41;
}
/* date field */
.date-input-wrapper{
  width: 190px;
}

.date-input-wrapper input{
  padding: 4px 0;
  font-size: 14px;
}

/* CTA — editorial text button */

.search-button{
  height:48px;
  padding:0 22px;
  background:#101b41;
  color:#ffffff;
  border:none;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

.search-button::after{
  content:"→";
  font-size:16px;
}

.search-button:hover{
  background:#1a2555;
}

.search-button:hover{
  opacity: .6;
}

/* =====================================================
   iPHONE 
===================================================== */
/* =====================================================
   TABLET (iPad)
===================================================== */
@media (max-width:1024px){

  .navbar{
    height:80px;
    padding:0 32px;
  }

  .navbar-brand{
    display:flex;
    align-items:center;
    height:80px;
  }

  .navbar-brand img{
    height:44px;
    margin:0;
    padding:0;
  }

  body{
    padding-top:80px;
  }

  /* Hero iets compacter */
  .hero_header{
    height:32vh;
    margin-bottom:60px;
    position:relative;
  }
}


/* =====================================================
   MOBILE (iPhone)
===================================================== */
@media (max-width:600px){

  /* --- Navbar (zoals je had) --- */
  .navbar{
    position:fixed !important;
    top:0 !important; left:0 !important;
    width:100vw !important;
    height:72px !important;
    padding:0 16px !important;
    /*background-color:#0d6efd !important;*/
    background-color: #fff;
    z-index:6000 !important;
    box-sizing:border-box !important;
    justify-content:space-between !important;
  }

  .navbar-brand{
    display:flex !important;
    align-items:center !important;
    height:72px !important;
  }

  .navbar-brand img{
    height:40px !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
  }

  .menu{
    position:absolute !important;
    top:72px !important;
    left:0 !important;
    width:100% !important;
    background-color:#0d6efd !important;
    display:none !important;
    flex-direction:column !important;
    padding:10px 0 !important;
    z-index:6500 !important;
  }

  .menu.show,
  .menu.active{ display:flex !important; }

  .menu a{
    width:100% !important;
    padding:14px 16px !important;
    font-size:16px !important;
    border-top:1px solid rgba(255,255,255,.2) !important;
  }

  .menu a:first-child{ border-top:none !important; }

  body{ padding-top:72px !important; }

  /* --- Hero uit --- */
  .hero-image-header,
  .hero-text{ display:none !important; }

  .hero_header{
    height:auto !important;
    margin-bottom:0 !important;
    overflow:visible !important;
    position:relative !important;
  }

  /* =====================================================
     SEARCHBAR: HARD STABIEL OP KLEINE SCHERMEN
     ===================================================== */

  /* Alles in searchbar mag NIET buiten container duwen */
  .search-wrap,
  .search-bar,
  .search-bar *{
    box-sizing:border-box !important;
  }

  .search-wrap{
    position:relative !important;
    width:100% !important;
    padding:0 16px !important;
  }

  .search-bar{
    position:relative !important;
    left:auto !important;
    transform:none !important;
    bottom:auto !important;

    width:100% !important;
    margin:16px 0 24px !important;

    padding:14px !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(16,27,65,.12) !important;

    overflow:hidden !important; /* voorkomt “rommelige” uitstulpingen */
  }

  .search-bar form{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
    width:100% !important;
  }

  /* De wrappers mogen nooit breder worden dan 100% */
  .search-item,
  .search-item-date,
  .search-item-persons{
    width:100% !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;

    padding:10px 12px !important;
    background:#f8fafc !important;
    border:1px solid #e5e7eb !important;
    border-radius:14px !important;
  }

  /* inputs/selects: geen vaste desktop hoogte/padding */
  .search-item input,
  .search-item select{
    width:100% !important;
    min-width:0 !important;
    display:block !important;

    height:48px !important;
    padding:0 10px !important;

    border:0 !important;
    background:transparent !important;

    font-size:16px !important; /* voorkomt iOS zoom */
    line-height:1.2 !important;
    color:#111 !important;
    outline:none !important;
  }

  .date-input-wrapper{
    width:100% !important;
    min-width:0 !important;
  }

  .date-input-wrapper input{
    width:100% !important;
  }

  .search-button{
    width:100% !important;
    height:50px !important;
    border-radius:999px !important;
    font-size:16px !important;
    font-weight:600 !important;
    justify-content:center !important;
    margin-top:2px !important;
  }

  /* --- rest --- */
  .benefits{ display:none !important; }

  .site-footer .container{
    display:flex !important;
    flex-direction:column !important;
    gap:24px !important;
    text-align:center !important;
  }
  .site-footer .container > div{ width:100% !important; }
}

@media (max-width:360px){
  .search-bar{ padding:12px !important; border-radius:14px !important; }
  .search-item, .search-item-date, .search-item-persons{ padding:9px 10px !important; }
  .search-item input, .search-item select{ height:44px !important; padding:0 8px !important; }
  .search-button{ height:46px !important; font-size:15px !important; }
}
.search-shell{
  background:linear-gradient(135deg,#4b4ae7,#1D4ED8);
  padding:10px;
  border-radius:32px;
}

.search-bar{
  background:#ffffff;
  border-radius:22px;
  padding:10px 18px;
  box-shadow:0 10px 30px rgba(16,27,65,.15);
}
.search-text{
  color:#ffffff;
  font-size:18px;
  font-weight:500;
  margin-bottom:10px;
  text-align:center;
  opacity:.9;
}
.search-bar label,
.search-bar .search-label{
  font-weight:700;
  font-size:14px;
  color:#111827;
}
.search-bar select[name="radius"],
.search-bar #radius,
.search-bar .radius select{
  font-size:13px !important;
}
/* =====================================================
   HOME ONLY – SEARCH FORM BREEDER
===================================================== */

/* alleen op home: form mag volle breedte gebruiken */
.search-wrapper_home .search-bar form{
  width:100%;
  align-items:stretch;
}

/* alleen op home: items mogen echt meeschalen */
.search-wrapper_home .search-item,
.search-wrapper_home .search-item-date,
.search-wrapper_home .search-item-persons{
  flex:1;
  min-width:0;
}

/* alleen op home: datumveld NIET vast */
.search-wrapper_home .date-input-wrapper{
  flex:1;
  min-width:0;
  width:auto;
}

/* alleen op home: inputs benutten ruimte */
.search-wrapper_home .search-item input,
.search-wrapper_home .search-item select{
  width:100%;
  min-width:0;
}
/* HOME: witte search bar ook full width */
.search-wrapper_home .search-bar{
  width: 100% !important;
  max-width: none !important;
}
/* Verberg 'Mijn favorieten' standaard 
.favorites-link{ display:none; }
.favorites-link.is-visible{ display:inline-block; }*/

.favorites-hidden{
  display: none !important;
}

