
/* Stylizacja przycisków dostępności - Stan początkowy (Biały) */
.btn-acc {
    background: none;
    border: none;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: #ffffff !important; /* Czysta biel */
    transition: color 0.2s ease-in-out;
}

/* Stan po najechaniu (Twój konkretny zielony) */
.btn-acc:hover, 
.btn-acc:focus {
    color: #0bf421 !important; /* Twój zielony #0bf421 */
    background: none;
    outline: none;
}

/* Skalowanie liter A */
.a-s { font-size: 0.75rem; }
.a-m { font-size: 0.95rem; }
.a-l { font-size: 1.15rem; }

/* Stylizacja mobilna */
@media (max-width: 991.98px) {
    .accessibility-tools {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
    }
    .btn-acc {
        padding-left: 0;
        margin-right: 20px;
    }
}
/* Styl bazowy dla linków w sekcji Features */
.custom-features a {
    color: inherit;            /* Linki dziedziczą kolor tekstu (np. czarny) */
    text-decoration: none;     /* Brak podkreślenia na starcie */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* EFEKT HOVER: Zmiana koloru tekstu na zielony */
.custom-features a:hover {
    color: #0bf421 !important; /* Zmiana na zielony po najechaniu */
    text-decoration: underline; /* Opcjonalne podkreślenie dla lepszej dostępności */
}

/* EFEKT HOVER: Delikatne uniesienie obrazka */
.custom-features a:hover img {
    transform: translateY(-5px); /* Obrazek lekko idzie w górę */
    filter: brightness(1.1);     /* Lekkie rozjaśnienie obrazka */
}
/*********Dostosowanie czcionka wieksza i zmiana kontrastu ***************/
    /* SKIP LINK */
    .skip-link {
      position: absolute;
      left: -999px;
      top: 0;
      background: #000;
      color: #fff;
      padding: 0.5rem 1rem;
      z-index: 1000;
    }
    .skip-link:focus {
      left: 1rem;
    }


    .accessibility-tools button {
      background: none;
      border: none;
      color: #fff; /* białe ikonki normalnie */
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 2px;
    }

/* ACCESSIBILITY ICONS */
.accessibility-tools {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: 1rem;
    padding-left: 10px;
    position: relative; /* Potrzebne, by ustawić kreskę względem tego kontenera */
}

/* To jest Twoja nowa, krótka kreska */
.accessibility-tools::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%; /* Ustawienie na środku wysokości */
    transform: translateY(-50%); /* Precyzyjne wyśrodkowanie */
    
    width: 1px;       /* Szerokość kreski */
    height: 30px;     /* TWOJA WYSOKOŚĆ - możesz tu wpisać np. 15px lub 25px */
    
    background-color: rgba(255, 255, 255, 255); /* Biała, lekko przezroczysta */
}

/* HIGH CONTRAST */
.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast * {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast a {
  color: #00ff00 !important; /* zielone linki */
  text-decoration: underline;
}

.high-contrast h1, .high-contrast h2, .high-contrast h3, .high-contrast h4 {
  color: #ffff00 !important;
}

/* Navbar i footer w czerni w HC */
.high-contrast .navbar, .high-contrast footer {
  background-color: #000 !important;
}

/* AAA i kontrast: wszystkie elementy wewnątrz przycisku */
.high-contrast .accessibility-tools button,
.high-contrast .accessibility-tools button span,
.high-contrast .accessibility-tools button i {
  color: #00ff00 !important;
}

    /* SCALE WRAPPER */
    #scale-wrapper {
      transform-origin: top center;
      transition: transform .2s ease;
    }
    
    
/* HERO IMAGE */
.hero {
  position: relative;
  background: #041035 url('img/slide/background.png') no-repeat center center;
  background-size: cover;
  height: 450px; /* Nieco wyższa dla lepszego balansu */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* Mocniejszy overlay dla lepszego kontrastu (WCAG) */
  background-color: rgba(0, 0, 0, 0.7); 
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  /* Cień poprawiający czytelność na obrazkach */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* POPRAWKA KRESKI (SEPARATORA) */
.accessibility-tools::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.5); /* Poprawiona wartość alpha z 255 na 0.5 */
}
/* ===============================
   BODY / GLOBAL STYLING
=============================== */
body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #ffffff;
}

.bg-primary-dark {
  background-color: #041035;
}

.bg-gradient {background-color:#041035;
}

.navbar-dark .nav-link {
  color: #ffffff;
}

.navbar-dark .nav-link.active,
.navbar-dark .nav-link:hover {
  color: #0bf421;
}

.btn-primary {
  background-color: #041035;
  border-color: #041035;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #062060;
  outline: 2px solid #0bf421; /* focus dla WCAG */
}

footer a {
  color: #ffffff;
}

footer a:hover,
footer a:focus {
  color: #0bf421;
  outline: none;
}

/* Skip link WCAG */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #041035;
  color: #fff;
  padding: 10px;
  z-index: 1000;
  outline: 2px solid #0bf421;
}

/* Footer icons */
.footer-icon {
  font-size: 32px;
  color: #e0e0e0;
  display: inline-block;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-icon:hover,
.footer-icon:focus {
  color: #0bf421;
  transform: scale(1.1);
}

.footer-icon:focus {
  outline: 3px solid #0bf421;
  outline-offset: 3px;
}

/* Section divider – nowoczesny */
.hr-divider {
  width: 100%;
  height: 1px;
  margin: 60px auto;
  background: linear-gradient(to right, transparent, gray, transparent);
  opacity: 0.6;
}

.footer-divider {
  border: none;
  height: 1px;
  margin: 25px 0;
  background: rgba(255,255,255,0.7);
}

