﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #FBF9F5;
    color: #2C2A29;
    line-height: 1.5;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 90px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 80px 0;
}

.section-bg-light {
    background: #FFFFFF;
}

.section-bg-mushroom {
    background: #F4EFE6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #2C2A29;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #5E5B58;
    max-width: 720px;
    margin-bottom: 48px;
    border-left: 4px solid #9F7E3E;
    padding-left: 20px;
}

/* POPRAWIONY KONTRAST – przyciski główne */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #6E4F26;  /* dużo ciemniejszy, wysoki kontrast z białym tekstem */
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #5A3E1D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* POPRAWIONY KONTRAST – przyciski outline */
.btn-outline {
    background: transparent;
    border: 2px solid #5C431F;  /* ciemniejszy border dla lepszego kontrastu */
    color: #5C431F;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: #5C431F;
    color: white;
}

/* Focus dla klawiatury – WIDOCZNY */
a:focus-visible, button:focus-visible, .product-card:focus-visible {
    outline: 3px solid #9F7E3E;
    outline-offset: 2px;
    border-radius: 28px;
}

.main-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #EDE6DC;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #2C2A29;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #9F7E3E;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #F6F2EA 100%);
    padding: 0;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    background: #E8E0D3;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #5C431F;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #2C2A29;
}

.hero-title span {
    color: #9F7E3E;
}

.hero-desc {
    font-size: 1.125rem;
    color: #4B4A49;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat-item {
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #8B6632;
    display: block;
    line-height: 1.2;
}

.hero-slider {
    flex: 1;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    aspect-ratio: 4 / 3;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}

.dot.active {
    background: #9F7E3E;
    transform: scale(1.2);
}

/* Produkty – jedna karta = jeden link (brak redundancji) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    margin: 48px 0 24px;
}

.product-card {
    background: white;
    border-radius: 28px;
    padding: 20px 16px 24px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    border: 1px solid #EFE6DB;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.12);
    border-color: #DCCEB9;
}

.product-img {
    width: 100%;
    aspect-ratio: 284 / 252;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
    background: #F8F4EE;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* O firmie */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}
.about-text {
    flex: 1.5;
}
.about-text p {
    margin-bottom: 20px;
    color: #3A3A38;
}
.about-highlight {
    background: #F0E8DD;
    padding: 24px;
    border-radius: 28px;
    flex: 1;
}
.about-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #9F7E3E;
}
.about-highlight ul {
    list-style: none;
    padding-left: 0;
}
.about-highlight li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}
.about-highlight li::before {
    content: "✓";
    color: #9F7E3E;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Przetwórstwo – headingi h3 (poprawiona hierarchia) */
.processing-box {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.processing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 32px 0 24px;
}
.processing-category {
    flex: 1;
    min-width: 200px;
}
.processing-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #9F7E3E;
    margin-bottom: 16px;
    border-left: 3px solid #9F7E3E;
    padding-left: 16px;
}
.processing-category ul {
    list-style: none;
}
.processing-category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.processing-category li::before {
    content: "•";
    color: #9F7E3E;
    font-weight: bold;
    position: absolute;
    left: 4px;
}

/* Definicje */
.definitions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}
.def-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    flex: 1 1 220px;
    border-left: 4px solid #9F7E3E;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.def-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #9F7E3E;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    padding: 8px 24px;
    border: 1px solid #EBE2D6;
    transition: 0.2s;
}
.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question .icon {
    font-size: 1.5rem;
    color: #9F7E3E;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #4A4845;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
    border-top: 1px solid #EFE2D3;
}

/* Kontakt – ikony z aria-hidden, poprawiony kontrast */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}
.contact-info {
    flex: 1;
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid #EFE6DB;
}
.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #2C2A29;
}
.contact-details {
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: #9F7E3E;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;
}
.contact-text {
    font-size: 1rem;
    color: #3A3A38;
}
.contact-text strong {
    display: block;
    font-weight: 700;
    color: #2C2A29;
    margin-bottom: 4px;
}
.contact-text a {
    color: #5C431F;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-text a:hover {
    color: #7D5F2E;
    text-decoration: underline;
}
.contact-map {
    flex: 1.2;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #EFE6DB;
    min-height: 400px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

/* Footer */
.main-footer {
    background: #1E1D1C;
    color: #CBC8C4;
    margin-top: 40px;
}
.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 0 48px;
}
.footer-info {
    flex: 2;
}
.footer-copyright-main {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 16px;
}
.footer-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 12px 0;
}
.footer-link-highlight {
    color: #DDB577;
    text-decoration: none;
    font-weight: 500;
}
.footer-links-side {
    flex: 1;
    text-align: right;
}
.footer-nav-links a {
    color: #CBC8C4;
    text-decoration: none;
    margin: 0 6px;
}
.separator {
    color: #A8A6A2;
}
.footer-partner {
    margin-top: 24px;
    font-size: 0.85rem;
}

/* Języki */
.lang-section {
    background: #F2EDE4;
    padding: 32px 0;
    border-top: 1px solid #E0D6C8;
}
.lang-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
}
.lang-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2C2A29;
    transition: all 0.2s;
    border: 1px solid #DFD6CA;
}
.lang-item img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}
.lang-item:hover {
    background: #9F7E3E;
    color: white;
    border-color: #7D5F2E;
}

/* Responsywność */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    .header-inner { flex-direction: column; gap: 16px; }
    .footer-links-side { text-align: left; }
    .section-title { font-size: 2rem; }
    .hero { min-height: 90vh; }
    .contact-grid { flex-direction: column; }
    .contact-map { min-height: 350px; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .products-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}
.center-text { text-align: center; }
.mt-4 { margin-top: 24px; }
/* === POPRAWKI DOSTĘPNOŚCI I WYDAJNOŚCI === */
/* Przyciski slidera – większy obszar kliknięcia */
.dot {
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
    padding: 0 12px;
    font-size: 0; /* ukrycie ewentualnego tekstu */
}
.dot.active {
    background: #9F7E3E;
}
@media (max-width: 768px) {
    .dot {
        min-width: 48px;
        min-height: 48px;
    }
}

/* Ikony w kontakcie – jeśli nie ma ich w głównym CSS */
.contact-icon {
    width: 48px;
    height: 48px;
    background: #9F7E3E;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

/* Obrazki – dodatkowe zabezpieczenie przed CLS */
img {
    max-width: 100%;
    height: auto;
}