header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 5%;
  justify-content: space-between;
  height: auto;
}

/* main {
  padding: 0 5%;
} */

.mainLogoWeb {
  height: 45px;
  width: auto;
}

#menuHeaderSection {
  width: auto;
  height: 100%;
  margin: 0 0 0 auto;
}

#menuHeaderSection > a {
  text-decoration: none;
  color: var(--color-ink);
  padding: 15px 30px;
  display: inline-block;
  transition: transform 0.2s ease-in-out; /* Płynne przejście */
}

#menuHeaderSection > a:hover {
  transform: scale(1.05);
}


/* --- FOOTER (Główne kontenery) --- */
footer {
  padding: 0 5%;
}

.footerHr {
  width: 100%;
  height: 2px;
  border: none;
  margin: 0;
  background: var(--color-ink);
}

#footerSection {
  padding: 40px 0;
  border-radius: 20px 20px 0 0;
}

.footer-container {
  width: 100%; 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Styl dla plakietki New */
.badge-new {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 5px;
  border: 1px solid var(--color-ink);
  border-radius: 20px;
  color: var(--color-ink);
  line-height: 1;
}

.menuElementDiv {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.menuElement {
  margin-right: 5px; 
  font-size: 1em; 
  opacity: 0.7;
}


/* Opcjonalnie: zmiana koloru po najechaniu na cały link */
#menuHeaderSection > a:hover .badge-new {
  background-color: var(--color-ink);
  color: white;
  transition: 0.3s;
}

/* Kolumny */
.footer-col {
  flex: 1.5; 
  min-width: 300px;
}

.footer-col2 {
  flex: 0 1 auto;
  min-width: 300px;
}

/* Stylizacja Logo i Tekstu */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.links {
  color: var(--color-ink);
}

.footer-col p {
  line-height: 1.6;
  font-size: 14px;
  opacity: 0.9;
  max-width: 350px;
  margin-bottom: 30px;
}

/* Linki i Nagłówki */
.footer-col h3, 
.footer-col2 h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.footer-col ul, 
.footer-col2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li, 
.footer-col2 li {
  margin-bottom: 12px;
}

.footer-col a, 
.footer-col2 a {
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  color: inherit;
  transition: opacity 0.3s;
}

.footer-col a:hover, 
.footer-col2 a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Social Media */
.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px; /* Zmniejszone, by zrobić miejsce na status */
}

.social-icons a {
  color: inherit;
  font-size: 18px;
}

/* --- NOWA SEKCJA: Status Systemu --- */
.system-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  background-color: transparent;
  cursor: default;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* Zielony kolor z obrazka */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-green 2s infinite;
}

.status-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  opacity: 0.8;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- STOPKA COPYRIGHT --- */
.footer-bottom {
  text-align: center;
  padding: 10px 0;
  font-size: 10px;
  font-weight: bold;
  border-radius: 0 0 20px 20px;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
  .footer-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-container {
    flex-direction: column;
    text-align: left;
  }
  
  .system-status {
    margin-bottom: 20px;
  }
}