/* =============================== Offerte.css — Safe Web Innovations =============================== */

/* Pagina-achtergrond */
body {
  background-color: #f7f7f7;
  color: #111;
}

/* Container */
.offerte-container {
  max-width: 1100px;
  margin: 80px auto;            
  padding: 0 20px;              
}

/* Intro blok bovenin */
.offerte-intro {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}

.offerte-intro h1,
.offerte-intro h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px 0;
  color: #000;
}

.offerte-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* Grid: Formulier links, info/rechts */
.offerte-grid {
  display: grid;
  grid-template-columns: 1fr 380px; /* formulier | zijbalk */
  gap: 24px;
}

/* Kaarten */
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* Formulierkaart */
.form-card {
  padding: 28px;
}

/* Zijbalkkaart (samenvatting / FAQ / notities) */
.side-card {
  padding: 24px;
  position: sticky;
  top: 100px; /* blijft zichtbaar bij scrollen op desktop */
}

/* Koppen in kaarten */
.card h3 {
  font-size: 20px;
  margin: 0 0 16px 0;
  color: #000;
}

/* --------------------------- Formulier --------------------------- */

.offerte-form {
  display: grid;
  gap: 18px;
}

/* Twee kolommen rij (naam, achternaam - tel, bedrijf - etc.) */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Eén kolom fallback */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: #222;
  font-weight: 600;
}

/* Inputs met alleen onderstreep */
.offerte-form input[type="text"],
.offerte-form input[type="email"],
.offerte-form input[type="tel"],
.offerte-form input[type="url"],
.offerte-form input[type="number"],
.offerte-form select,
.offerte-form textarea {
  appearance: none;
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
  padding: 12px 2px;
  font-size: 16px;
  color: #111;
  border-radius: 0; /* geen afgeronde randen */
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.offerte-form textarea {
  min-height: 120px;
  resize: vertical;
}

.offerte-form input::placeholder,
.offerte-form textarea::placeholder {
  color: #999;
}

/* Focus states */
.offerte-form input:focus,
.offerte-form textarea:focus,
.offerte-form select:focus {
  outline: none;
  border-bottom-color: #000;
  background: rgba(0,0,0,0.02);
}

/* Disable state */
.offerte-form input:disabled,
.offerte-form textarea:disabled,
.offerte-form select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Checkboxen / radio met accentkleur */
.offerte-form input[type="checkbox"],
.offerte-form input[type="radio"] {
  accent-color: #f5b700;
}

/* Kleine hint/ondertekst */
.help-text {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* Validatie / feedback */
.form-note {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}

.form-error {
  font-size: 14px;
  color: #b00020;
  margin-top: 4px;
}

/*--------------------- Bestandsupload basic (optioneel) ---------------------------*/

.file-field {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* Verzendknop */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border: 1px solid #000;
  background: #000;          
  color: #fff;
  padding: 12px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.1s ease;
  width: auto;                
  min-width: 180px;         
}

.btn-primary:hover {
  background: #f5b700;       
  border-color: #f5b700;
  color: #000;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Iconen naast knop (optioneel) */
.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Notities/prijsnoot */
.price-note {
  font-size: 14px;
  color: #555;
  margin-top: 12px;
  font-style: italic;
}

/* Lijst in zijbalk */
.side-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-card li {
  font-size: 15px;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.side-card li:last-child {
  border-bottom: none;
}

/* Kleine badge/label (optioneel) */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 10px;
  border-radius: 9999px;
  background: #fff4c2; /* zacht geel */
  color: #000;
  border: 1px solid #f5d872;
}

/* --------------------------- Responsiveness --------------------------- */

@media (max-width: 1024px) {
  .offerte-grid {
    grid-template-columns: 1fr; /* onder elkaar */
  }

  .side-card {
    position: static; /* geen sticky op small screens */
    top: auto;
  }
}

@media (max-width: 600px) {
  .offerte-intro {
    padding: 22px 18px;
  }

  .offerte-intro h1,
  .offerte-intro h2 {
    font-size: 22px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .field-row {
    grid-template-columns: 1fr; /* 1 kolom op mobiel */
    gap: 10px;
  }

  .btn-primary {
    min-width: 160px;
    padding: 10px 16px;
  }
}

/* Optioneel: subtiele fade-in wanneer de pagina laadt */
@media (prefers-reduced-motion: no-preference) {
  .offerte-intro,
  .form-card,
  .side-card {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp .5s ease forwards;
  }

  .form-card { animation-delay: .05s; }
  .side-card { animation-delay: .1s; }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

.btn-black-home {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-black-home:hover {
  background-color: #222; /* iets lichter zwart voor hover */
  transform: translateY(-2px);
}