/* ===============================
   PROPERTY INSPECTIONS — BOOKING / FORM CSS (Premium)
   (Same style as Home / Info / FAQ)
   =============================== */

/* DESIGN TOKENS */
:root{
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #fbfaf8;

  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;

  --accent-2: #111827;

  --border: rgba(17,24,39,0.10);
  --ring: rgba(112, 97, 76, 0.218);

  --shadow: 0 14px 40px rgba(17,24,39,0.08);
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.574);

  --radius: 18px;
  --radius-sm: 12px;
  --container-max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* RESET */
*{ box-sizing: border-box; margin:0; padding:0; }
html, body{ height:100%; }

body{
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: linear-gradient(#bbb5a45b);
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 10px;
}

.hr{
  height: 1px;
  background: rgba(17,24,39,0.10);
  border: 0;
  margin: 18px 0;
}

main{
  max-width: var(--container);
  margin: 0 100px;
  padding: 22px 20px 56px;
}

/* ===============================
   HEADER (premium + sticky)
================================ */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #94918792;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  gap: 12px;
}

.logo{
  height: 70px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(17,24,39,0.10);
}

/* NAV */
nav{ justify-self: center; }
nav ul{
  display:flex;
  list-style:none;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--border);
}
nav a{
  display:inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  color: var(--text);
  transition: background-color .15s ease, transform .15s ease;
}
nav a:hover{
  background: rgba(17,24,39,0.05);
  transform: translateY(-1px);
}
nav a.active{
  background: rgba(17,24,39,0.08);
}


/* Page title (premium badge) */
.titleh1 h1{
  align-items: center;
  justify-content: center;
  display: flex;
  margin: 0 0 22px;
  padding: 14px 26px 14px 46px;
  font-weight: 975; 
  box-shadow:none;
  color: #000000c3;
}

/* Intro text */
.contact-intro{
  font-size: 1.08rem;
  color: var(--text-2);
  margin: 0 auto 22px;
  max-width: 80ch;
}

/* Main card wrapper */
section{
  background: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: #2a282627 2px solid;
}

/* ===============================
   OWNER / TENANT 2 columns
================================ */
.owner-tenant-container{
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.column{
  flex: 1;
  min-width: 280px;
}

/* ===============================
   FORM TYPOGRAPHY
================================ */
form h3{
  font-size: 1.18rem;
  font-weight: 975;
  color: var(--text);
  margin: 18px 0 10px;
  position: relative;
  padding-left: 14px;
}

form h3::before{
  content:"";
  position:absolute;
  left:0;
  top: 0.35em;
  width: 6px;
  height: 16px;
  border-radius: 999px;
  background: rgba(43,55,90,0.85);
}

label{
  font-weight: 800;
  margin-top: 12px;
  display: block;
  color: var(--text);
  position: relative;
  z-index: 1;
}

/* Inputs */
input,
select,
textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(17,24,39,0.16);
  border-radius: 12px;
  font-size: 1rem;
  margin-top: 6px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .06s;
  position: relative;
  z-index: 1;
}

input:hover,
select:hover,
textarea:hover{
  border-color: rgba(43,55,90,0.28);
}

input:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: rgba(43, 55, 90, 0.60);
  box-shadow: 0 0 0 4px var(--ring);
}

textarea{
  min-height: 140px;
  resize: vertical;
}

/* Date & time group */
.datetime-group{
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.datetime-group > div{ flex: 1; }

@media (max-width: 640px){
  .datetime-group{ flex-direction: column; }
}

/* ===============================
   RADIO SECTIONS
================================ */
.payer-section,
.payment-section{
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* clickable option cards */
.payer-section label,
.payment-section label{
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 14px;
  border: 1px solid rgba(17,24,39,0.16);
  border-radius: 14px;
  margin: 10px 0;

  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
  background: var(--surface-2);

  font-weight: 650;
  color: var(--text);
}

/* hover */
.payer-section label:hover,
.payment-section label:hover{
  border-color: rgba(122,75,42,0.22);
  background: rgba(43,55,90,0.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* radio input */
.payer-section input,
.payment-section input{
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: rgba(43,55,90,0.90);
}

/* payment icons */
.payment-section label img{
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* ===============================
   PANDGEGEVENS spacing
================================ */
.pandgegevens h3{ margin-top: 22px; }
.pandgegevens input,
.pandgegevens select,
.pandgegevens textarea{ margin-bottom: 10px; }

/* ===============================
   LEGAL CONSENT
================================ */
.legal-consent{
  margin: 24px 0 12px;
  padding: 18px 18px;

  background: linear-gradient(135deg, #ffffff, #faf7f2);
  border: 1px solid rgba(17,24,39,0.10);
  border-left: 5px solid rgba(4, 4, 4, 0.85);

  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  position: relative;
  z-index: 1;
}

.legal-consent:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(43,55,90,0.22);
}

.legal-consent label{
  display: flex;
  align-items: flex-start;
  gap: 14px;

  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  cursor: pointer;
  margin-top: 0;
  font-weight: 650;
}

.legal-consent input[type="checkbox"]{
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: rgba(43,55,90,0.90);
  cursor: pointer;
}

.legal-consent a{
  color: rgba(43,55,90,1);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(43,55,90,0.25);
  transition: 0.2s;
}

.legal-consent a:hover{
  border-color: rgba(43,55,90,0.60);
  opacity: 0.95;
}

.legal-note{
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
  padding-left: 6px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* ===============================
   SUBMIT BUTTON
================================ */
.submit-btn{
  margin-top: 18px;
  width: 100%;
  padding: 16px;

  background: rgba(10, 10, 10, 0.92);
  color: #fff;

  font-size: 1rem;
  font-weight: 975;
  border: 1px solid rgba(43,55,90,0.22);
  border-radius: 999px;
  cursor: pointer;

  box-shadow: 0 10px 24px rgba(17,24,39,0.12);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}

.submit-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.434);
}

.submit-btn:active{
  transform: translateY(0px);
}

/* ===============================
   CONTACT URGENT
================================ */
.contact-urgent{
  margin-top: 22px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(17,24,39,0.10);
  border-left: 6px solid rgba(43,55,90,0.85);
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 750;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.contact-urgent a{
  color: #b91c1c; /* elegant red */
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===============================
   FOOTER (minimal, if you use full footer elsewhere)
================================ */
footer{
  background: transparent;
  padding: 0;
  margin: 0;
}

.footer-bottom{
  text-align: center;
  padding: 10px 0 24px;
}

.footer-bottom p{
  font-size: 0.88rem;
  color: var(--text-2);
  margin: 4px 0;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px){
  .owner-tenant-container{ flex-direction: column; }
}

@media (max-width: 820px){
  .header-container{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  nav{ justify-self: center; }
  .lang-switch{ justify-self: center; }
  .logo{ height: 74px; }
}

@media (max-width: 520px){
  main{ padding: 24px 16px 44px; }
  section{ padding: 26px 20px; }
}

/* ===============================
   MOTION
================================ */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}
