/* MotoPrzyczepka - Styl Warsztatowo-Techniczny (Industrial / Garage) */
/* Czcionki hostowane lokalnie (bez odpytywania serwerów Google — zgodność z RODO) */
@import url('../fonts/fonts.css');

:root {
  --bg-garage: #0d1015;
  --bg-panel: #141821;
  --bg-panel-hover: #1b202c;
  --border-tech: #252c3b;
  --border-tech-highlight: #3b4459;
  --text-main: #f1f5f9;
  --text-muted: #8492a6;
  --color-hazard: #f97316; /* industrial hazard orange */
  --color-hazard-dark: #c2410c;
  --color-green-terminal: #22c55e;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e2e8f0;
  background-color: var(--bg-garage);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Techniczna i warsztatowa typografia */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* Płynny scroll */
html {
  scroll-behavior: smooth;
}

/* Surowe panele warsztatowe - brak sztucznych mydlanych cieni */
.garage-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-tech);
  border-radius: 4px;
}

.garage-panel:hover {
  border-color: var(--border-tech-highlight);
}

/* Styl tabliczki znamionowej */
.nameplate {
  background: repeating-linear-gradient(
    45deg,
    #141821,
    #141821 10px,
    #161b25 10px,
    #161b25 20px
  );
  border: 1px solid var(--border-tech);
}

/* Oznaczenia techniczne w rogach */
.corner-crosshair {
  position: relative;
}
.corner-crosshair::before {
  content: "+";
  position: absolute;
  top: -8px;
  left: -8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #475569;
}
.corner-crosshair::after {
  content: "+";
  position: absolute;
  bottom: -8px;
  right: -8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #475569;
}

/* Komórki kalendarza warsztatowego */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.cal-day-cell {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid var(--border-tech);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  transition: all 0.12s ease;
}

.cal-day-free {
  background-color: #161b25;
  color: #f8fafc;
  cursor: pointer;
}

.cal-day-free:hover {
  border-color: #f97316;
  background-color: #1e2432;
  transform: translateY(-1px);
}

.cal-day-booked {
  background-color: #0f1218;
  color: #f87171;
  border-color: #3b1d1d;
  cursor: not-allowed;
}

.cal-day-past {
  background-color: #0b0d12;
  color: #334155;
  border-color: #161a22;
  cursor: default;
}

/* Tabela specyfikacji technicznej */
.spec-table-row:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Pasek dolny na smartfon */
@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
  }
}

/* Surowy scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0d1015;
}
::-webkit-scrollbar-thumb {
  background: #252c3b;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b4459;
}
