/* ZMIENNE CSS - SYSTEM DESIGNU */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 10px 30px -5px rgba(14, 165, 233, 0.3);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

/* BAZOWE STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* KLASY ANIMACJI (SCROLL REVEAL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* NAWIGACJA (GLASSMORPHISM) */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center; /* To sprawi, że zakładki i języki będą idealnie w tej samej linii */
}
.nav-menu li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}
.nav-menu li a:hover {
    color: var(--primary);
}
.nav-menu li a:hover::after {
    width: 100%;
}

/* SEKCJA HERO Z ANIMACJĄ TŁA */
/* SEKCJA HERO - WERSJA KULOODPORNA */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    
    /* Tutaj łączymy ciemny gradient i zdjęcie w jednej linijce! */
    background-image: 
        linear-gradient(to bottom right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)), 
        url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Opcjonalny efekt paralaksy - zdjęcie zostaje w miejscu przy scrollowaniu */
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}
.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #cbd5e1;
    font-weight: 400;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* NOWOCZESNE PRZYCISKI */
.btn-primary {
    background: var(--gradient);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(14, 165, 233, 0.5);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
}

/* KARTY ZALET (FLOATING CARDS) */
.features-wrapper {
    max-width: 1200px;
    margin: -80px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 5px solid var(--primary);
    transition: var(--transition);
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}
.feature-box h4 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 15px;
}
.feature-box p {
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
}

/* WSPÓLNE DLA SEKCJI */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header h2 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}
.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* USŁUGI Z ZAAWANSOWANYM UKŁADEM */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}
.service-text {
    flex: 1;
}
.service-text h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 25px;
    line-height: 1.3;
}
.service-text p {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 17px;
}
.service-text h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}
.service-list {
    list-style: none;
}
.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--secondary);
    font-weight: 600;
    font-size: 16px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-list li:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary);
}
.service-list li::before {
    content: "✓";
    color: var(--white);
    background: var(--gradient);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 12px;
    flex-shrink: 0;
}

/* IMAGE HOVER EFFECT */
.service-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.service-image:hover img {
    transform: scale(1.05);
}

/* DLACZEGO WARTO - NOWOCZESNY GRID */
.why-us-section {
    background: var(--secondary);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    z-index: 0;
}
.why-us-section h2, .why-us-grid {
    position: relative;
    z-index: 1;
}
.why-us-grid {
    max-width: 1100px;
    margin: 50px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.why-us-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}
.why-us-item:hover {
    background: var(--gradient);
    transform: translateY(-5px);
    border-color: transparent;
}

/* FAQ ACCORDION */
.faq-section {
    background-color: var(--bg-main);
    padding: 100px 20px;
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
}
.faq-question {
    padding: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    transition: var(--transition);
}
.faq-question .icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-question.active {
    color: var(--primary);
}
.faq-question.active .icon {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    font-size: 16px;
}
.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
    margin-top: 10px;
}

/* CTA KONTAKT */
.cta-contact {
    background: var(--gradient);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}
.cta-contact h2 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
}
.cta-contact p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}
.btn-cta {
    background: var(--white);
    color: var(--primary-dark);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* STOPKA */
footer {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 80px 20px 30px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}
.footer-col p {
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 15px;
}
.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}
.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 15px;
}

/* RESPONSJA */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; gap: 40px; }
    .service-list li { text-align: left; }
    .service-image img { height: 350px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero { padding-top: 150px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 20px; }
}

/* =========================================
   STYLE DLA PODSTRON (O nas, Oferta, Galeria, Kontakt, Preparaty)
   ========================================= */

/* Wspólny nagłówek podstron */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    text-align: center;
    padding: 160px 20px 80px; /* Zwiększony padding-top ze względu na przyklejone menu */
    border-bottom: 5px solid var(--primary);
}
.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}
.page-header p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* Uniwersalny wygląd kart (Boxów) na podstronach */
.about-content, .contact-info, .contact-form, .timeline-item, .service-card, .product-card, .order-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}
.about-content:hover, .contact-info:hover, .contact-form:hover, .service-card:hover, .product-card:hover {
    box-shadow: var(--shadow-md);
}

/* Przyciski na podstronach (Stara klasa .btn dopasowana do nowego designu) */
.btn {
    background: var(--gradient);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    border: none;
    display: inline-block;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(14, 165, 233, 0.5);
    color: var(--white);
}

/* =========================================
   PODSTRONA: O FIRMIE
   ========================================= */
.about-section { max-width: 1000px; margin: 80px auto; padding: 0 20px; }
.about-content { padding: 50px; margin-bottom: 60px; }
.about-content h2.dark-heading { color: var(--secondary); font-size: 32px; margin-bottom: 25px; }
.about-content h3.cyan-heading { color: var(--primary); font-size: 24px; margin: 30px 0 15px; }
.about-content h3.dark-heading-small { color: var(--secondary); font-size: 24px; margin: 30px 0 15px; }
.about-content p { margin-bottom: 15px; font-size: 17px; color: var(--text-main); }
.features-list { list-style: none; margin-bottom: 25px; }
.features-list li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 17px; }
.features-list li span.icon { margin-right: 15px; font-size: 20px; }

/* Harmonogram */
.timeline { margin-top: 60px; }
.timeline h3 { text-align: center; font-size: 32px; margin-bottom: 40px; color: var(--secondary); font-weight: 700; }
.timeline-item { padding: 35px 35px 35px 100px; margin-bottom: 25px; position: relative; }
.timeline-item::before {
    content: attr(data-step);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient);
    color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}
.timeline-item h4 { color: var(--primary); margin-bottom: 10px; font-size: 22px; }
.timeline-item p { color: var(--text-light); font-size: 16px; }

/* =========================================
   PODSTRONA: USŁUGI / OFERTA
   ========================================= */
.services-wrapper { max-width: 1200px; margin: 80px auto; padding: 0 20px; }
.category-title { font-size: 32px; color: var(--secondary); margin-bottom: 40px; padding-bottom: 15px; border-bottom: 3px solid var(--primary); display: inline-block; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 80px; }
.service-card { padding: 35px; border-top: 5px solid var(--primary); border-bottom: none; border-left: none; border-right: none;}
.service-card h3 { color: var(--secondary); font-size: 22px; margin-bottom: 15px; line-height: 1.3;}
.service-card p { font-size: 16px; color: var(--text-light); }
.cta-banner { background: var(--gradient); padding: 50px 30px; text-align: center; border-radius: var(--radius); color: var(--white); margin-top: 60px; box-shadow: var(--shadow-glow); }
.cta-banner h2 { margin-bottom: 20px; font-size: 32px; color: var(--white); }
.cta-banner p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.cta-banner .btn { background: var(--white); color: var(--primary-dark); }

/* =========================================
   PODSTRONA: PREPARATY
   ========================================= */
.products-section { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.products-intro { text-align: center; margin-bottom: 60px; font-size: 18px; color: var(--text-light); max-width: 800px; margin-left: auto; margin-right: auto; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border-top: 5px solid var(--primary); }
.product-header { background: #f8fafc; padding: 40px 30px; text-align: center; border-bottom: 1px solid #e2e8f0; }
.product-header h2 { color: var(--secondary); font-size: 32px; margin-bottom: 10px; }
.product-header .subtitle { color: var(--primary); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1px;}
.product-body { padding: 40px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.product-body p { margin-bottom: 20px; color: var(--text-main); font-size: 16px; }
.product-details { list-style: none; margin-top: auto; padding-top: 20px; border-top: 1px dashed #cbd5e1; }
.product-details li { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 16px; }
.product-details li strong { color: var(--secondary); font-weight: 700; }
.price-tag { font-size: 26px; font-weight: 700; color: var(--primary); text-align: center; margin-top: 30px; padding: 20px; background: #f1f5f9; border: 2px dashed #94a3b8; border-radius: 12px; }
.order-section { padding: 50px; margin-top: 80px; text-align: center; }
.order-section h3 { margin-bottom: 20px; font-size: 28px; color: var(--secondary); }
.order-section p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; }

/* =========================================
   PODSTRONA: GALERIA
   ========================================= */
.gallery-section { max-width: 1200px; margin: 80px auto; padding: 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); cursor: pointer; background: var(--white); transition: var(--transition); }
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(14, 165, 233, 0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 20px; font-weight: 700; transform: translateY(20px); transition: var(--transition); }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Wyskakujące okno ze zdjęciem */
.lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(15, 23, 42, 0.95); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: var(--white); font-size: 45px; font-weight: 300; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }

/* =========================================
   PODSTRONA: KONTAKT
   ========================================= */
.contact-section { max-width: 1200px; margin: 80px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start;}
.contact-info { padding: 50px; }
.contact-info h2 { color: var(--secondary); margin-bottom: 25px; font-size: 32px; }
.contact-info p { font-size: 17px; margin-bottom: 20px; display: flex; align-items: center; color: var(--text-main); }
.contact-info strong { display: inline-block; width: 100px; color: var(--primary); font-weight: 700; }
.contact-info a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: var(--transition); }
.contact-info a:hover { color: var(--primary); }
.areas { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
.areas h3 { color: var(--secondary); font-size: 20px; margin-bottom: 10px; }

.contact-form { padding: 50px; }
.contact-form h2 { margin-bottom: 30px; font-size: 32px; color: var(--secondary); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary); }
.form-group input, .form-group textarea { width: 100%; padding: 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: 'Quicksand', sans-serif; font-size: 16px; transition: var(--transition); background: #f8fafc; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; background: var(--white); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); }
.contact-form .btn { margin-top: 10px; }

/* =========================================
   RESPONSJA I MENU MOBILNE (SMARTFONY I TABLETY)
   ========================================= */

/* Przycisk Hamburgera (Domyślnie ukryty na komputerach) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* TABLETY (Poniżej 992px) */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; gap: 40px; }
    .service-list li { text-align: left; }
    .service-image img { height: 350px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-section { grid-template-columns: 1fr; }
}

/* =========================================
   PRZEŁĄCZNIK JĘZYKÓW (PL / EN)
   ========================================= */
   .lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 10px; /* Delikatny odstęp od ostatniej zakładki */
}
.lang-switcher a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 15px; /* Zrównanie wielkości z resztą menu */
    transition: var(--transition);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent; /* Zapobiega skakaniu paska */
}
.lang-switcher a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}
.lang-switcher a:hover {
    color: var(--primary-dark);
}
.lang-separator {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 400;
}

/* SMARTFONY (Poniżej 768px) */
@media (max-width: 768px) {
    .lang-switcher { margin: 20px auto 0; justify-content: center; }
    /* Aktywacja menu mobilnego */
    .menu-toggle { display: flex; }
        
    .nav-menu {
        display: flex !important; /* To nadpisze wszelkie błędy i stare ukrycia! */
        position: absolute;
        top: 100%;
        left: -100%; /* Ukryte poza ekranem z lewej strony */
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0; /* Wjeżdża na ekran po kliknięciu */
    }
    
    .nav-menu li { margin: 15px 0; }
    .nav-menu li a { font-size: 18px; display: block; padding: 10px; }
    
    /* Animacja krzyżyka (X) z hamburgera */
    .menu-toggle.active .bar:nth-child(1) { transform: translate(0, 11px) rotate(-45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translate(0, -11px) rotate(45deg); }

    /* Poprawki odstępów i czcionek dla smartfonów */
    .hero { padding: 150px 20px 80px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    
    .section, .why-us-section, .faq-section, .cta-contact { padding: 60px 20px; }
    .section-header h2, .category-title, .why-us-section h2 { font-size: 28px; }
    .service-text h2 { font-size: 24px; }
    
    .features-wrapper { margin: 40px auto; gap: 20px; }
    .feature-box { padding: 25px 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col ul li a:hover { padding-left: 0; } /* Usunięcie przesuwania linków w stopce na tel */

    /* Poprawki dla podstron na telefony */
    .page-header { padding: 120px 20px 50px; }
    .page-header h1 { font-size: 30px; }
    
    .timeline-item { padding-left: 20px; padding-top: 65px; text-align: center; }
    .timeline-item::before { top: 20px; left: 50%; transform: translateX(-50%); }
    
    .about-content, .contact-info, .contact-form, .service-card, .product-card, .order-section { padding: 25px; }
    .about-section, .services-wrapper, .products-section, .gallery-section, .contact-section { margin: 40px auto; }
    
    .product-header h2 { font-size: 24px; }
    .price-tag { font-size: 20px; }
}