/* Xandriq - responsive.css
 * Breakpoints: 768, 1024, 1280. Mobile-first overrides.
 * Most component-specific responsive rules live with their component.
 */

/* ===== Mobile-first base (<768px) baked into components ===== */

/* ===== Tablet (>= 768px) ===== */
@media (min-width: 768px) {
  :root {
    --header-h: 92px;
  }
}

/* ===== Desktop (>= 1024px) ===== */
@media (min-width: 1024px) {
  .section {
    padding: var(--s-80) 0;
  }
  .section--loose {
    padding: var(--s-96) 0;
  }
}

/* ===== Wide (>= 1280px) — container stays at 1120px max ===== */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--s-40);
  }
}

/* ===== Very narrow mobile (<380px) ===== */
@media (max-width: 380px) {
  .container {
    padding: 0 var(--s-16);
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.8125rem;
    padding: var(--s-12) var(--s-16);
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* ===== Landscape mobile short-viewport ===== */
@media (max-height: 500px) and (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: var(--s-48) 0 var(--s-32);
  }
}

/* ===== Dark color scheme only (tema jest z natury dark) ===== */
@media (prefers-color-scheme: light) {
  /* Tema jest z załozenia dark — bez zmian */
}
