@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* === GLOBALNE USTAWIENIA === */
html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif !important;
  color: #fff;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

/* === UKŁAD STRONY I KONTENERY === */
.container {
  border-radius: 12px;
  padding: 2rem;
}

h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #000 !important;
}

/* === KARTY POGODOWE === */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-title {
  font-weight: 500;
  font-size: 1.25rem;
}

.card-footer {
  background-color: #f1f1f1;
  border-top: none;
  padding: 0.5rem 1rem;
}

.weather-icon {
  height: 50px;
  width: auto;
}

.comment {
  font-style: italic;
  font-size: 0.9rem;
  color: #6c757d;
}

.wind-warning {
  font-weight: bold;
  color: #d9534f; /* Bootstrap danger */
  margin-top: 5px;
}

/* === PRZYCISKI I FORMULARZE === */
.form-select,
.btn-group .btn {
  min-width: 150px;
}

.btn-outline-primary.active {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* === STOPKA === */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #6c757d;
  font-size: 0.9em;
  text-align: center;
  padding: 10px 20px;
  z-index: 999;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
  .filters-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  .filters-wrapper select,
  .filters-wrapper .btn-group {
    width: 100% !important;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .weather-icon {
    height: 40px;
  }

  .comment {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 5px;
  }

  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }
}
