/* 🌐 Reset i podstawy */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* 🔵 Pasek nawigacyjny */
.navbar {
  background: #0056b3;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #cce0ff;
}

/* Ikona w logo */
.logo-icon {
  height: 28px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

.logo-link {
  display: flex;
  align-items: center;
  margin-right: 30px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo-link:hover {
  color: #cce0ff;
}

/* 🔷 Nagłówek z tłem */
.header {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
              url('https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.header h1 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

/* 📦 Główny kontener */
.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 📞 Przyciski kontaktowe */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin: 30px 0;
}

.contact-buttons a {
  width: 100%;
  max-width: 300px;
  padding: 15px 25px;
  background-color: #28a745;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.contact-buttons a:hover {
  background-color: #218838;
}

/* 🔁 Responsywność dla przycisków kontaktowych */
@media (min-width: 601px) {
  .contact-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-buttons a {
    flex: 1 1 140px;
    max-width: 300px;
    width: auto;
  }
}

/* ⭐ Opinie */
.review {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.review:last-child {
  border-bottom: none;
}

.review .author {
  font-weight: 700;
  color: #003f7d;
}

.review .stars {
  color: #ffb400;
}

.review .text {
  margin-top: 5px;
  font-style: italic;
}

/* 📝 Formularz */
form {
  margin-top: 30px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

form button {
  width: 100%;
  padding: 14px;
  background-color: #004080;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #003060;
}

/* Dodatkowo, dla większych ekranów formularz niech będzie węższy */
@media (min-width: 601px) {
  form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 🌟 Gwiazdki - styl formularza ocen */
.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 15px;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  font-size: 2.2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #ffb400;
}


/* ⚠️ Komunikaty błędów */
.error-messages {
  color: #d93025;
  list-style: none;
  padding-left: 0;
  font-weight: 600;
  margin-bottom: 20px;
}

.error-messages li::before {
  content: "⚠️ ";
  margin-right: 6px;
}

/* ✅ Komunikat sukcesu */
.success-message {
  color: #0a8a0a;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
