
/* Styl podstrony BIOS - ciemna wersja z poprawionym formatowaniem */

.page-content.bios-page {
  padding: 60px 20px;
  background-color: #121212;
}

.bios-title {
  font-size: 36px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
}

.bios-section {
  margin-bottom: 30px;
  color: #e0e0e0;
}

.bios-section h2 {
  font-size: 26px;
  color: #5bc0de;
  margin-bottom: 15px;
}

.bios-section p {
  font-size: 18px;
  line-height: 1.8;
}

.bios-section ul {
  padding-left: 20px;
}

.bios-section ul li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.bios-image img {
  display: block;
  max-width: 300px;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.bios-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.bios-gallery img {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.bios-gallery img:hover {
  transform: scale(1.05);
}

.bios-infographic {
  text-align: center;
  margin: 40px 0;
  font-size: 48px;
  color: #5bc0de;
}

.bios-infographic p {
  font-size: 18px;
  color: #5bc0de;
  margin-top: 10px;
}

.bios-contact {
  text-align: center;
  margin-top: 50px;
}

.bios-contact a {
  color: #5bc0de;
  text-decoration: none;
  font-size: 18px;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #5bc0de;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0074cc;
}

@media (max-width: 768px) {
  .bios-title { font-size: 28px; }
  .bios-section h2 { font-size: 22px; }
  .bios-section p, .bios-section ul li { font-size: 16px; }
  .bios-image img { max-width: 250px; }
  .bios-gallery img { max-width: 180px; }
  .bios-infographic { font-size: 36px; }
}

/* Sekcja Graficzna i Infografiki */

.image-section {
    background: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.image-section img.laptop-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Styl ikony BIOS w tytule */
.icon-chip {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Poprawiony styl hero sekcji */
.hero-modern {
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-modern .hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-modern h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-modern p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-modern a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

/* Poprawione wyświetlanie ikon chipów */
.icon-chip {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 10px;
    object-fit: contain;
}

/* Dostosowanie rozmiaru pierwszego zdjęcia */
.image-section img.laptop-image:first-of-type {
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Finalne dopasowanie hero BIOS do hero z page-about.php */

.hero-modern {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-modern .hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-modern h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-modern p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-modern a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

/* Poprawione wyświetlanie ikon chipów z wyraźniejszym rozmiarem */

.icon-chip {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 12px;
    object-fit: contain;
    opacity: 0.9;
}

/* Poprawiona responsywność i UX strony BIOS */

/* Ogólna struktura strony */
.bios-modern-page {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Responsywna hero sekcja */
.hero-modern {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-modern .hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-modern h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-modern p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-modern a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

/* Sekcja usług BIOS - siatka w 3 kolumnach, responsywna */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Sekcja Umów usługę */
.contact-cta-modern {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.contact-cta-modern h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-cta-modern .btn-light {
    background: white;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

.contact-cta-modern .btn-light:hover {
    background: #f0f0f0;
    color: #0056b3;
}

/* Styl ikon chipów */
.icon-chip {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 12px;
    object-fit: contain;
    opacity: 0.9;
}

/* Finalne dopasowanie hero BIOS do hero z page-about.php */

.hero-modern {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
}

.hero-modern .hero-container {
    max-width: 100%;
    padding: 80px 20px;
}

.hero-modern h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-modern p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-modern a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Dopasowanie kontenera strony */
.bios-modern-page {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Poprawione tło sekcji z grafiką pod hero */
.image-section {
    background: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
}

.image-section img.laptop-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Sekcja Nasze Usługi BIOS - Tytuł i kafelki */
.service-range-modern {
    background: linear-gradient(135deg, #5bc0de, #007bff);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.service-range-modern h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: white !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Hero styling unified to match page-about.php */

.hero-banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
}

.hero-banner .hero-container {
    max-width: 100%;
    padding: 80px 20px;
}

.hero-banner h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-banner p {
    font-size: 22px;
    margin-bottom: 30px;
}

.hero-banner a.btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    background: #007bff;
    color: white;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Animacja wejścia hero */
.hero-banner {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    position: relative;
    animation: fadeInHero 1.5s ease-in-out;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

/* Poprawa UX w page-bios.php - kontener strony */
.bios-modern-page {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    padding: 0 15px;
}

/* Poprawione logo w page-laptopy.php hero */
.hero-banner .site-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

/* Responsywność hero - szerokość i padding dla mobile */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 400px;
        padding: 40px 15px;
        background-position: center center;
    }

    .hero-banner h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-banner p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-banner a.btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-banner .site-logo {
        max-height: 60px;
        margin-bottom: 15px;
    }

    .image-section img.laptop-image {
        width: 100%;
        height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 10px;
    }

    .service-card {
        min-height: auto;
        padding: 20px;
    }

    .service-card h4 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
    }

    .contact-cta-modern h2 {
        font-size: 24px;
    }

    .contact-cta-modern .btn-light {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* Poprawka grafiki pod hero na mobile */
@media (max-width: 768px) {
    .image-section img.laptop-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
    }

    .service-card {
        width: 100%;
        max-width: 95%;
        box-sizing: border-box;
        padding: 20px;
    }
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-banner .hero-container {
    position: relative;
    z-index: 2;
}
