/* ===== NIZIOŁ — custom styles ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  background: #0B0B0B;
}

/* Selection */
::selection {
  background: #C9A227;
  color: #0B0B0B;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0B0B0B; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #C9A227; }

/* Navbar scrolled state */
#navbar.scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form label */
.form-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #B8B8B8;
  margin-bottom: 0.5rem;
}

/* Form inputs */
.form-input {
  width: 100%;
  background: #0B0B0B;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: #6b6b6b; }
.form-input:focus {
  outline: none;
  border-color: #C9A227;
  box-shadow: 0 0 0 2px rgba(201,162,39,0.2);
}
select.form-input option { background: #1A1A1A; }
input[type="date"].form-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(5deg);
  cursor: pointer;
}

/* Calendar day */
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.cal-day.empty { visibility: hidden; }
.cal-day.available {
  background: rgba(201,162,39,0.12);
  color: #C9A227;
  cursor: pointer;
  border-color: rgba(201,162,39,0.3);
}
.cal-day.available:hover {
  background: #C9A227;
  color: #0B0B0B;
}
.cal-day.reserved {
  background: rgba(220,38,38,0.15);
  color: #f87171;
  cursor: not-allowed;
}
.cal-day.pending {
  background: rgba(234,179,8,0.15);
  color: #fbbf24;
  cursor: not-allowed;
}
.cal-day.neutral { color: #555; }
.cal-day.selected {
  background: #C9A227 !important;
  color: #0B0B0B !important;
  font-weight: 700;
}

/* Gallery filter hide */
.gallery-item.hidden { display: none; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Honeypot — ukryte pole anty-spam (niewidoczne dla ludzi, widoczne dla botów) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Pop-up podziękowanie */
#thank-modal { display: none; }
#thank-modal.show { display: flex; }
.thank-card {
  animation: thankPop 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes thankPop {
  0%   { opacity: 0; transform: scale(0.85) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .thank-card { animation: none; }
}

/* Stan przycisku podczas wysyłki */
button.is-loading { opacity: 0.7; cursor: wait; }
