* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVBAR --- */
.navbar {
    background: #1e2a36;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 8px 20px;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}
.navbar-brand img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.25));
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
    justify-content: center;
    margin-left: auto;
}
.nav-links li a {
    display: block;
    color: #f0f0f0;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.nav-links li a:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .nav-container { justify-content: center; gap: 10px; }
    .navbar-brand img { height: 36px; max-width: 130px; }
    .nav-links { width: 100%; margin-left: 0; }
    .nav-links li a { padding: 8px 12px; font-size: 13px; }
}

/* --- HEADER --- */
header { background: transparent; color: inherit; padding: 0; text-align: center; }

/* --- SLIDER --- */
.slidercontainer { background: #1a1a1a; padding: 0; overflow: hidden; }
.slidingbg { max-width: 1200px; margin: 0 auto; position: relative; }
.slider1 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.slider1::-webkit-scrollbar { display: none; }
.slider1.is-dragging { cursor: grabbing; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* --- NAGŁÓWKI --- */
h1 { text-align: center; padding: 40px 20px 20px; font-size: 28px; color: #2c3e50; font-weight: 700; }
h2 { text-align: center; padding: 30px 20px 15px; font-size: 24px; color: #1A7440; font-weight: 600; }
h3 { font-size: 20px; color: #2c3e50; margin: 20px 0 10px; }
h4 { font-size: 18px; color: #1A7440; margin: 15px 0 10px; }
h6 { display: none; }

/* --- SEKCJE --- */
.section { background: white; margin: 20px auto; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 1200px; }
.section-alt { background: #ecf0f1; }
.section-anchor { scroll-margin-top: 80px; }

/* --- ARTYKUŁ GŁÓWNY --- */
.main-content {
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}
.product-media {
    background: linear-gradient(180deg, rgba(39,174,96,0.08), rgba(22,100,55,0.03));
    border: 1px solid rgba(39,174,96,0.14);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.product-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
}
.main-text {
    min-width: 0;
    background: #f9fbfa;
    border: 1px solid #e5efe8;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.product-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #166437;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.product-title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.15;
    color: #1f2d36;
}
.product-lead {
    font-size: 16px;
    color: #35515a;
    line-height: 1.75;
}
.product-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}
.product-points li {
    position: relative;
    padding: 12px 14px 12px 44px;
    background: #fff;
    border: 1px solid #e4ece6;
    border-radius: 12px;
    color: #3e4f55;
    line-height: 1.5;
}
.product-points li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #27ae60;
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.center { text-align: center; }
strong { color: #166437; }

/* --- ZALETY --- */
.advantages { background: #e8f5e9; padding: 30px; border-radius: 10px; margin: 20px 0; border-left: 5px solid #27ae60; }
.advantages ul { list-style: none; padding-left: 0; }
.advantages li { padding: 8px 0; padding-left: 30px; position: relative; }
.advantages li::before { position: absolute; left: 0; color: #27ae60; font-weight: bold; font-size: 18px; }

/* --- GALERIA --- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 20px 0; }
.gallery a { display: block; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.3s; }
.gallery a:hover { transform: scale(1.05); }
.gallery img { width: 100%; height: 150px; object-fit: cover; display: block; }

/* --- KONTAKT --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
    margin-top: 20px;
}
.contact-card {
    background: #f8fbf9;
    border: 1px solid #dfeee4;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.contact-card h3 {
    margin-top: 0;
    color: #166438;
}
.contact-card p {
    margin: 10px 0;
    color: #444;
}
.contact-card a {
    color: #166438;
    text-decoration: none;
}
.contact-card a:hover {
    text-decoration: underline;
}
.contact-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 300px;
    width: 100%;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

/* --- DEFINICJE --- */
.definition-box { background: #fff3e0; border-left: 5px solid #ff9800; padding: 25px; margin: 15px 0; border-radius: 0 10px 10px 0; }
.definition-box h4 { color: #e65100; margin-top: 0; }
.definition-term { font-weight: bold; color: #852E00; font-size: 18px; }
.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}
.def-card {
    background: #ffffffdd;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    border-bottom: 3px solid #27ae60;
}
.def-card:hover { transform: translateY(-5px); background: white; }
.def-card .term { font-size: 22px; font-weight: 700; color: #2c3e50; margin-bottom: 12px; border-left: 4px solid #27ae60; padding-left: 15px; }
.def-card p { color: #555; line-height: 1.5; }

/* --- FAQ --- */
.faq-item { border: 1px solid #ddd; border-radius: 8px; margin: 10px 0; overflow: hidden; }
.faq-question { background: #f8f9fa; padding: 18px 20px; cursor: pointer; font-weight: 600; color: #2c3e50; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.faq-question:hover { background: #e9ecef; }
.faq-question::after { content: "+"; font-size: 24px; color: #27ae60; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: white; }
.faq-answer-content { padding: 20px; color: #555; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 500px; }

/* --- TABELA --- */
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
th { background: #166438; color: white; padding: 15px; text-align: left; font-weight: 600; }
td { padding: 12px 15px; border-bottom: 1px solid #eee; }
tr:hover { background: #f5f5f5; }

/* --- STOPKA --- */
footer { background: #0f1a24; color: #e0e0e0; padding: 50px 0 20px; margin-top: 40px; border-top: 4px solid #27ae60; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 991px) and (min-width: 600px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h3 {
    color: #2ecc71;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #27ae60;
}
.footer-col a, .footer-col p {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    transition: color 0.2s, padding-left 0.2s;
    font-size: 14px;
}
.footer-col a:hover {
    color: #2ecc71;
    padding-left: 4px;
}

/* Przyciski w stopce */
.footer-btn {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px 0;
    background: rgba(255,255,255,0.06);
    color: #bdc3c7;
    border: 1px solid #2c4a5a;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 44px;
    line-height: 1.4;
}
.footer-btn:hover {
    background: #27ae60;
    outline: 2px solid #27ae60; /* zamiast border-color */
    outline-offset: -1px; /* delikatnie w środku */
    color: white;
    transform: translateY(-2px);
}

/* --- FLAGI --- */
.flags-wide {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 25px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border-top: 1px solid #3e5a6b;
}
.flags-wide h3 {
    text-align: center;
    font-size: 18px;
    color: #2ecc71;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}
.flag-list-wide {
    display: grid;
    width: 100%;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
}
.flag-list-wide a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e2f3a;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 13px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #2c4a5a;
}
.flag-list-wide a:hover {
   background: #27ae60;
    outline: 2px solid #27ae60;
    outline-offset: -2px;
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}
.flag-list-wide img {
    width: 22px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .flag-list-wide a { padding: 4px 10px; font-size: 11px; }
    .flag-list-wide img { width: 18px; }
}

/* --- SEKCJA PARTNERSKA / AKTRU --- */
.footer-partner-section {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 25px 20px;
    background: #0a1219;
    border-radius: 16px;
    text-align: center;
}
.footer-digital {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 12px;
}
.footer-link-highlight {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}
.footer-link-highlight:hover {
    text-decoration: underline;
}
.footer-description {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 12px;
    line-height: 1.5;
}
.footer-description strong {
    color: #2CC36B;
}
.footer-standards {
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.footer-case {
    font-size: 12px;
    margin-bottom: 15px;
}
.footer-links-side {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2c3e50;
}
.footer-nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.footer-nav-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 12px;
}
.footer-nav-links a:hover {
    color: #2ecc71;
}
.separator {
    color: #9BACC0;
}
.footer-partner {
    font-size: 11px;
    color: #7f8c8d;
}
.footer-partner strong {
    color: #2ecc71;
}

/* --- COPYRIGHT --- */
.copyright {
    text-align: center;
    padding: 20px 0 0;
    color: #7f8c8d;
    font-size: 12px;
    border-top: 1px solid #2c3e50;
    margin-top: 30px;
}

/* --- SOCIAL (nieużywane w tym projekcie, ale zostawiam) --- */
#social { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; }
.social_item { margin: 2px 0; }
.social_item a { display: block; width: 40px; height: 40px; line-height: 40px; text-align: center; color: white; font-size: 18px; text-decoration: none; transition: width 0.3s; }
.social_item a:hover { width: 50px; }
.fb a { background: #3b5998; }
.gp a { background: #dd4b39; }
.vk a { background: #45668e; }
.pi a { background: #bd081c; }
.tw a { background: #1da1f2; }

/* --- POMOCNICZE --- */
.spacer { height: 20px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; gap: 18px; }
    .product-media { padding: 10px; }
    .product-title { font-size: 24px; }
    .main-text { padding: 20px; }
    .product-points li { padding-left: 40px; }
    .slide img { height: 250px; }
    .section { padding: 20px; margin: 10px; }
    h1 { font-size: 22px; }
    #social { display: none; }
}
.footerstr {
    color: #27ae60 ;
}
/* Galeria - obrazy jako klikalne */
.gallery img {
    cursor: pointer;
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Lightbox - podgląd w tle */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.show {
    display: flex !important;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Responsywność lightboxa */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 30px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
}