/* Fotohokje Boekingsformulier — Styles */
/* Alle selectors zijn genamespaced met .fhb- om conflicten met het WordPress thema te voorkomen */

.fhb-wrapper {
  --fhb-black: #0D0D0D;
  --fhb-cream: #F7F3EE;
  --fhb-yellow: #FFE135;
  --fhb-silver: #C8C4BE;
  --fhb-red: #E8342A;
  --fhb-white: #FFFFFF;

  background: var(--fhb-black);
  color: var(--fhb-cream);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  border-radius: 8px;
  box-sizing: border-box;
}

.fhb-wrapper * {
  box-sizing: border-box;
}

#fhb-flash {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.05s ease;
}
#fhb-flash.fhb-pop {
  opacity: 1;
}

.fhb-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.fhb-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fhb-yellow);
  margin-bottom: 0.5rem;
}
.fhb-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fhb-cream);
  margin: 0;
}
.fhb-title span {
  color: var(--fhb-yellow);
  font-style: normal;
}

.fhb-filmstrip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.fhb-film-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #333;
  transition: all 0.3s ease;
}
.fhb-film-dot.active {
  background: var(--fhb-yellow);
  width: 28px;
}
.fhb-film-dot.done {
  background: var(--fhb-silver);
}
.fhb-film-line {
  width: 20px;
  height: 1px;
  background: #333;
}

.fhb-card {
  background: var(--fhb-white);
  color: var(--fhb-black);
  width: 100%;
  max-width: 500px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 4px 4px 0 var(--fhb-yellow);
  position: relative;
  margin: 0;
}
.fhb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--fhb-yellow);
}

.fhb-step { display: none; }
.fhb-step.active { display: block; animation: fhbSlideIn 0.35s ease; }

@keyframes fhbSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fhb-step-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fhb-silver);
  margin-bottom: 0.4rem;
}
.fhb-step h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  color: var(--fhb-black);
}

.fhb-field {
  margin-bottom: 1.2rem;
}
.fhb-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.4rem;
}
.fhb-wrapper input[type="text"],
.fhb-wrapper input[type="email"],
.fhb-wrapper input[type="tel"],
.fhb-wrapper input[type="date"],
.fhb-wrapper input[type="number"],
.fhb-wrapper select,
.fhb-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--fhb-black);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  margin: 0;
}
.fhb-wrapper input:focus,
.fhb-wrapper select:focus,
.fhb-wrapper textarea:focus {
  border-color: var(--fhb-black);
  background: white;
}
.fhb-wrapper textarea { resize: vertical; min-height: 80px; }

.fhb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.fhb-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.fhb-package-card {
  border: 1.5px solid #ddd;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: block;
  margin: 0;
}
.fhb-package-card:hover { border-color: #aaa; }
.fhb-package-card.selected {
  border-color: var(--fhb-black);
  background: var(--fhb-black);
  color: var(--fhb-white);
}
.fhb-package-card.selected .fhb-pkg-price { color: var(--fhb-yellow); }
.fhb-package-card input[type="radio"] { display: none; }
.fhb-pkg-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: block;
}
.fhb-pkg-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}
.fhb-pkg-desc {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.4;
}
.fhb-package-card.selected .fhb-pkg-desc { color: #ccc; }

.fhb-extras { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.fhb-extra-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}
.fhb-extra-item:hover { border-color: #aaa; }
.fhb-extra-item input[type="checkbox"] { display: none; }
.fhb-extra-check {
  width: 16px; height: 16px;
  border: 2px solid #ccc;
  border-radius: 2px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.fhb-extra-item.checked .fhb-extra-check {
  background: var(--fhb-black);
  border-color: var(--fhb-black);
}
.fhb-extra-item.checked .fhb-extra-check::after {
  content: '✓';
  color: var(--fhb-yellow);
  font-size: 11px;
  font-weight: 700;
}
.fhb-extra-text { flex: 1; font-size: 0.88rem; }
.fhb-extra-price { font-weight: 600; font-size: 0.85rem; color: #555; }
.fhb-extra-item.checked .fhb-extra-price { color: var(--fhb-black); }

.fhb-summary-block {
  background: #f5f5f5;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.fhb-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.fhb-summary-row:last-child { border-bottom: none; }
.fhb-summary-row.total {
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.6rem;
  margin-top: 0.3rem;
  border-top: 2px solid var(--fhb-black);
  border-bottom: none;
}
.fhb-summary-label { color: #555; }
.fhb-summary-value { font-weight: 600; }

.fhb-btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.fhb-wrapper .fhb-btn {
  flex: 1;
  padding: 0.9rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  line-height: normal;
}
.fhb-wrapper .fhb-btn-primary {
  background: var(--fhb-black);
  color: var(--fhb-yellow);
  border: 2px solid var(--fhb-black);
}
.fhb-wrapper .fhb-btn-primary:hover { background: #222; }
.fhb-wrapper .fhb-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.fhb-wrapper .fhb-btn-secondary {
  background: transparent;
  color: var(--fhb-black);
  border: 2px solid #ddd;
}
.fhb-wrapper .fhb-btn-secondary:hover { border-color: var(--fhb-black); }

#fhb-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--fhb-white);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 4px 4px 0 var(--fhb-yellow);
  box-sizing: border-box;
}
#fhb-success .fhb-flash-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
#fhb-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--fhb-black);
}
#fhb-success p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
.fhb-confirm-num {
  display: inline-block;
  background: var(--fhb-black);
  color: var(--fhb-yellow);
  padding: 0.4rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin: 1rem 0 0.5rem;
}
.fhb-success-note {
  margin-top: 0.5rem !important;
  font-size: 0.8rem !important;
  color: #999 !important;
}

.fhb-error-box {
  display: none;
  max-width: 500px;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: #2a0a0a;
  border-left: 4px solid var(--fhb-red);
  color: var(--fhb-cream);
  font-size: 0.85rem;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .fhb-card { padding: 1.75rem 1.5rem 1.5rem; }
  .fhb-packages { grid-template-columns: 1fr; }
  .fhb-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fhb-step.active { animation: none; }
  #fhb-flash { display: none; }
}
