/* ============================================
   Auzat Verhuur — Custom styles
   Tailwind CDN doet het zware werk,
   dit bestand alleen voor maatwerk.
   ============================================ */

/* ---- Kleurenpalet ---- */
:root {
  --amber:  #b45309;
  --stone:  #78716c;
  --green:  #4d7c0f;
  --cream:  #faf7f2;
}

/* ---- Body & achtergrond ---- */
body {
  background-color: var(--cream);
  font-family: 'Georgia', serif;
}

/* ---- Navigatie ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e7e5e4;
}

/* ---- Taalknop actief ---- */
.lang-btn { opacity: 0.5; transition: opacity .2s; cursor: pointer; }
.lang-btn.active { opacity: 1; font-weight: bold; }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: white;
}

/* ---- Fotogalerij (huis pagina) ---- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.galerie img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: .5rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.galerie img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ---- Lightbox ---- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: .5rem;
  object-fit: contain;
}
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---- Kalender ---- */
.kalender-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  user-select: none;
}
.kal-dag {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .375rem;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s;
}
.kal-dag.vrij      { background: #dcfce7; color: #166534; }
.kal-dag.vrij:hover{ background: #bbf7d0; }
.kal-dag.bezet     { background: #fee2e2; color: #991b1b; cursor: not-allowed; }
.kal-dag.geselecteerd { background: #b45309; color: white; }
.kal-dag.leeg      { background: transparent; cursor: default; }
.kal-dag.verleden  { color: #d4d4d4; cursor: not-allowed; background: transparent; }
.kal-header        { text-align: center; font-weight: 600; font-size: .8rem; color: #78716c; padding: .25rem 0; }

/* ---- Prijskaart ---- */
.prijs-kaart {
  border: 2px solid #e7e5e4;
  border-radius: 1rem;
  padding: 2rem;
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
.prijs-kaart:hover {
  border-color: #b45309;
  box-shadow: 0 4px 20px rgba(180,83,9,.12);
}
.prijs-kaart.featured {
  border-color: #b45309;
  background: #fffbf5;
}

/* ---- Formulier ---- */
input, textarea, select {
  width: 100%;
  border: 1.5px solid #e7e5e4;
  border-radius: .5rem;
  padding: .65rem .9rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #b45309;
}

/* ---- Knoppen ---- */
.btn-primary {
  background: #b45309;
  color: white;
  padding: .75rem 2rem;
  border-radius: .5rem;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover { background: #92400e; }

.btn-outline {
  background: transparent;
  color: #b45309;
  padding: .75rem 2rem;
  border-radius: .5rem;
  border: 2px solid #b45309;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-outline:hover { background: #b45309; color: white; }

/* ---- USP icoon ---- */
.usp-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---- Flash berichten ---- */
.flash-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; padding: 1rem; border-radius: .5rem; }
.flash-error   { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; padding: 1rem; border-radius: .5rem; }

/* ---- Responsive nav menu ---- */
#nav-menu { display: flex; }
@media (max-width: 768px) {
  #nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1rem; border-bottom: 1px solid #e7e5e4; }
  #nav-menu.open { display: flex; }
}
