/* Ogólne style */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    min-width: 320px; 
}

/* Skip Link dla WCAG */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #007bff;
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
    transition: top 0.3s ease-in-out;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
a:hover {
  outline: 2px solid #0057b8;
  background-color: #e6f0fa;
  border-radius: 3px;
  /* Możesz dodać dowolne inne style, np. cień, kolor tekstu itp. */
}

a,
a:visited {
  color: black;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.section {
    padding: 60px 0;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c3e50; 
    text-align: center; 
}

.section p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.bg-light {
    background-color: #e9e9e9;
}

.bg-dark {
    background-color: #2c3e50;
    color: #fff;
}

.bg-dark h2 {
    color: #fff; 
}

/* Przyciski (CTA) */
.btn {
    display: inline-block;
    color: #fff;
    background: #007bff; 
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.btn:hover {
    background: #0056b3; 
}

.btn:focus {
    background: #0056b3;
    outline-color: #fff; 
}

.btn-primary {
    background: #28a745; 
}

.btn-primary:hover {
    background: #218838;
}

.btn-primary:focus {
    background: #218838;
    outline-color: #fff; 
}

/* Header - Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600/000000/FFFFFF?text=Cyfrowe+bezpieczenstwo') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center; 
    position: relative; /* Potrzebne do pozycjonowania logo, jeśli ma być absolutne */
}

/* Styl dla logo i nazwy firmy */
.brand {
    position: absolute; /* Pozycjonowanie absolutne, aby nie kolidowało z nagłówkiem H1 */
    top: 20px; /* Odległość od góry */
    left: 50%; /* Centruj */
    transform: translateX(-50%); /* Dociągnij do środka */
    z-index: 10; /* Upewnij się, że jest nad innymi elementami */
    display: flex; /* Aby logo i nazwa były obok siebie */
    align-items: center; /* Wyrównaj w pionie */
    text-align: left; /* Tekst w logo może być lewo */
}

.brand a {
    text-decoration: none; /* Usuń podkreślenie z linku */
    color: inherit; /* Dziedzicz kolor z rodzica */
    display: flex; /* Aby logo i nazwa były obok siebie */
    align-items: center; /* Wyrównaj w pionie */
}

.logo {
    height: 50px; /* Wysokość logo */
    width: auto; /* Zachowaj proporcje */
    margin-right: 15px; /* Odstęp między logo a nazwą firmy */
    vertical-align: middle; /* Wyrównaj do środka z tekstem */
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em; /* Rozmiar nazwy firmy */
    font-weight: 700;
    color: #fff; /* Kolor nazwy firmy */
    white-space: nowrap; /* Zapobiegaj łamaniu linii */
}


.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    margin-bottom: 15px;
    margin-top: 60px; /* Dodatkowy margines, żeby nagłówek nie nachodził na logo */
}

.hero .subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Sekcja problem-solution (tekst wyjustowany do lewej poprzez .text-left) */
#problem-solution p {
    max-width: 800px;
    margin: 0 auto 20px auto; 
}

/* Sekcja Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left; 
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: #007bff; 
    margin-bottom: 15px;
    font-size: 1.6em;
}

/* Sekcja Dlaczego My? (tekst wyjustowany do lewej poprzez .text-left) */
#why-us ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 30px auto 0 auto;
    text-align: left; 
}

#why-us ul li {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #007bff; 
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.1em;
}

#why-us ul li strong {
    color: #2c3e50; 
}

/* Sekcja Testimonials */
.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    text-align: center; 
    max-width: 700px;
    margin: 0 auto 25px auto;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.testimonial-item .author {
    font-weight: bold;
    color: #007bff; 
    font-size: 0.95em;
}
/* Sekcja audyt */
.audyt{

}

.audyt-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    /* text-align: center;  */
    max-width: 700px;
    margin: 0 auto 25px auto;
}

#audyt ul {
    /* list-style: none;*/
    padding: 0;
    max-width: 700px;
    margin: 30px auto 0 auto;
    text-align: left; 
}

#audyt ul li {
    /* background-color: #fff; 
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #007bff; 
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
    font-size: 1.1em;
    margin-left: 1em;
}

#audyt ul li strong {
    /* color: #2c3e50;  */
    font-weight: 700;
}
/* Sekcja Kontakt (tekst wyjustowany do lewej poprzez .text-left) */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 40px auto 30px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left; 
    width: 100%; 
    box-sizing: border-box; 
}

.form-group {
    margin-bottom: 15px; 
    width: 100%; 
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 8px; 
    display: block; 
    color: #333; 
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-sizing: border-box; 
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline-color: #007bff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 20px; 
}

.contact-info {
    font-size: 1.1em;
    margin-top: 20px;
    text-align: left; 
}

.contact-info a {
/*    color: #007bff; 
    text-decoration: none; */
}

.contact-info a:hover,
.contact-info a:focus {
/*    text-decoration: underline;
    outline: 2px solid #007bff;
    outline-offset: 2px; */
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: #fff; 
/*    text-decoration: none;
    margin: 0 5px; */
}

.footer a:hover,
.footer a:focus {
/*    text-decoration: underline;
    outline: 2px solid #007bff;
    outline-offset: 2px; */
}


  .container-audyt {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
  }

  .item-audyt {
    background-color: #f0f0f0;
    padding: 20px;
    border: 1px solid #ccc;
    text-align: center;
  }
/*
.item-audyt h3 {
    text-align: center;
  }
*/
.item-audyt p {
    text-align: left;
  }

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
        margin-top: 90px; /* Większy margines dla H1 na mobile, aby pomieścić logo */
    }

    .hero .subtitle {
        font-size: 1.2em;
    }

    .section h2 {
        font-size: 2em;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item, #why-us ul li, .testimonial-item, .contact-form {
        margin-left: 15px;
        margin-right: 15px;
    }

    .brand {
        top: 15px; /* Delikatnie wyżej na małych ekranach */
        transform: translateX(-50%);
        flex-direction: column; /* Ułożenie logo i nazwy firmy w kolumnie na mobile */
        text-align: center;
    }
    .logo {
        height: 40px; /* Mniejsze logo na mobile */
        margin-right: 0;
        margin-bottom: 5px; /* Odstęp między logo a nazwą na mobile */
    }
    .company-name {
        font-size: 1.4em; /* Mniejsza nazwa firmy na mobile */
    }
}
  @media (max-width: 600px) {
    .container-audyt {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, auto);
    }
  }