/* ─── Custom Styles — F13 LLC ─────────────────────────────── */

/* Sticky header shadow on scroll */
#site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.10);
}

/* Smooth anchor scrolling */
html { scroll-behavior: smooth; }

/* ─── Before / After Slider ──────────────────────────────── */
.ba-card { user-select: none; }

.ba-slider { position: relative; }

/* Clip the "after" image via JS-controlled inline style */
.ba-after { clip-path: inset(0 0 0 50%); }

/* Divider handle — absolutely centered */
.ba-divider {
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Drag cursor on slider container */
.ba-slider:active { cursor: col-resize; }

/* ─── Toast Notifications ───────────────────────────────── */
#toast-container {
  pointer-events: none;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             toastOut 0.3s ease-in 3.7s forwards;
  max-width: 360px;
  backdrop-filter: blur(8px);
}

.toast-success {
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.toast-error {
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(40px) scale(0.9); }
}

/* ─── Mobile Menu ────────────────────────────────────────── */
#mobile-menu.open { display: block; }

/* ─── Form ───────────────────────────────────────────────── */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

#submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Hero overlay text readability helpers ─────────────── */
section#hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ─── BA labels ──────────────────────────────────────────── */
.ba-label-overlay {
  backdrop-filter: blur(4px);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ─── Scrollbar styling ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }
