﻿ 
   /* ==========================================================================
   1. ZMIENNE I RESET
   ========================================================================== */
:root {
    --corten: #b87333;
    --corten-hover: #d2691e;
    --antracyt: #2a2a2a;
    --black: #1a1a1a;
    --white: #ffffff;
    --bg-light: #f4f4f4;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}

/* ==========================================================================
   2. NAWIGACJA I HEADER
   ========================================================================== */
.main-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-dark.webp') center/cover no-repeat;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.navigation-bar { background: url('../img/tlonav.jpg') center/cover no-repeat; position: fixed; top: 0; width: 100%; z-index: 2000; border-bottom: 2px solid rgba(255,255,255,0.2); }

.hamburger {
    display: none; /* Ukrywamy hamburger na komputerach */
}
.header-content {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px; height: 90px;
}

.logo img { max-height: 60px; }

/* Menu Desktop */
.main-ul { display: flex; list-style: none; }
.main-ul li { position: relative; }
.main-ul li a {
    color: var(--white); text-decoration: none; padding: 35px 20px;
    display: block; font-weight: 700; font-size: 1.3rem; text-transform: uppercase;
    transition: var(--transition);
}

.main-ul li a:hover, .main-ul li.selected > a { color: var(--corten); }

/* Dropdown */
.dropdown {
    position: absolute; top: 90px; left: 0; background: var(--black);
    min-width: 220px; display: none; list-style: none; border-top: 3px solid var(--corten);
}
.dropdown li a { padding: 15px 20px; text-transform: none; border-bottom: 1px solid #222; }
.has-sub:hover .dropdown { display: block; }

/* Hero Text */
.hero-text-container {
    max-width: 1200px; margin: 150px auto 0; padding: 0 20px; color: var(--white);
}
.captionTitle { font-size: 4.5rem; text-transform: uppercase; font-weight: 900; margin-bottom: 15px; }
.header-seo-text { font-size: 1.8rem; max-width: 700px; color: #ccc; }
/* ==========================================================================
 STRONA O NAS - TYLKO MAIN (1200px)
   ========================================================================== */

/* 1. Kontener główny - bezpieczny dla Header/Footer */
main.about-page {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Sekcje 1200px */
.about-page > section {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 80px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. Stylistyka Historii */
.section-title { margin-bottom: 40px; }
.badge { background: var(--corten); color: white; padding: 5px 15px; border-radius: 4px; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; }
.section-title h2 { font-size: 3.5rem; color: var(--antracyt); margin-top: 10px; }

.history-grid { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.history-text { flex: 1; min-width: 300px; font-size: 1.7rem; color: #555; }
.history-text p { margin-bottom: 20px; }
.history-image { flex: 1; min-width: 300px; }
.history-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--bg-light);
    
    /* FILTR CIEMNOGRANATOWY */
    filter: brightness(0.8) sepia(1) hue-rotate(190deg) saturate(2);
    
    display: block;
}

/* 4. Grid Wartości (podobnie jak w Łodziach) */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.value-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border-bottom: 4px solid var(--antracyt);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}
.value-card:hover { transform: translateY(-10px); border-color: var(--corten); }
.value-card i { font-size: 4rem; color: var(--corten); margin-bottom: 20px; display: block; }
.value-card h3 { font-size: 2rem; margin-bottom: 15px; color: var(--antracyt); }
/* TIMELINE STYLING */
.timeline-section {
    padding: 80px 20px !important;
    background: #fff;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

/* Linia środkowa */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 100px;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 35px;
    background: var(--antracyt);
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    z-index: 1;
    transition: 0.3s;
}

.timeline-item:hover .timeline-year {
    background: var(--corten);
}

.timeline-content h3 {
    font-size: 2rem;
    color: var(--antracyt);
    margin-bottom: 5px;
}

.timeline-content p {
    color: #666;
    font-size: 1.5rem;
    line-height: 1.4;
}

/* Kropka na linii */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 46px;
    top: 12px;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:hover::after {
    background: var(--corten);
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.2);
}
/* Wyróżnienie sekcji innowacji */

/* Wyróżnienie sekcji innowacji - POPRAWIONE */
/* Wyróżnienie sekcji innowacji - WERSJA FINALNA */
.innovation-highlight {
    background: linear-gradient(90deg, rgba(184, 115, 51, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    /* Box-shadow zamiast border, żeby nie przesuwać kropki ::after */
    box-shadow: inset 4px 0 0 0 var(--corten);
    position: relative;
    margin-bottom: 40px; 
}

/* Stały punkt dla kropki - MUSI być identyczny jak w .timeline-item */
.innovation-highlight::after {
    left: 46px !important; /* Wymuszamy pozycję kropki na osi */
    background: var(--corten);
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2);
}

.innovation-highlight .timeline-year {
    background: var(--corten) !important;
}

.innovation-highlight h3 {
    color: var(--corten) !important;
    font-weight: 700;
}

/* Animacja hover */
.innovation-highlight:hover {
    background: linear-gradient(90deg, rgba(184, 115, 51, 0.1) 0%, transparent 100%);
    transform: translateX(5px);
    transition: all 0.3s ease;
}
/* Animacja dla AI/User Experience - delikatne wejście */
.innovation-highlight:hover {
    background: linear-gradient(90deg, rgba(184, 115, 51, 0.1) 0%, transparent 100%);
    transform: translateX(5px);
    transition: all 0.3s ease;
}
/* SPECJALNY HOVER DLA IKON W PARTNERS-SECTION */
.partner-item:hover i.fa-bolt,
.partner-item:hover i.fa-road,
.partner-item:hover i.fa-train {
    color: var(--corten) !important;
    transform: scale(1.1);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .timeline-container::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-year { width: 50px; font-size: 1.1rem; left: -5px; }
    .timeline-item::after { left: 16px; }
}


@media (max-width: 992px) {
    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-quote {
        text-align: left;
    }
    .founder-image {
        order: -1; /* Zdjęcie nad tekstem na mobile */
        max-width: 400px;
        margin: 0 auto;
    }
}
/* 5. Opinie Google */
.reviews-section { background: #f9f9f9; max-width: 100% !important; } /* Tło na 100% */
.reviews-header { text-align: center; margin-bottom: 50px; }
.google-rating { margin-top: 10px; }
.google-rating .score { font-size: 3rem; font-weight: 900; color: var(--antracyt); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    position: relative;
}
.review-card .quote { font-style: italic; color: #444; margin-bottom: 20px; line-height: 1.5; }
.review-card .author { font-weight: bold; color: var(--corten); font-size: 1.4rem; }

.cta-link { color: var(--antracyt); font-weight: bold; text-decoration: none; border-bottom: 2px solid var(--corten); padding-bottom: 5px; }
.founder-section {
    padding: 80px 20px;
    background: #fdfdfd; /* Bardzo jasne tło, by odróżnić od bieli osi czasu */
}

.founder-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
}

.founder-content {
    flex: 1;
}

.founder-image {
    flex: 0 0 350px; /* Stała szerokość kontenera na zdjęcie */
    display: flex;
    justify-content: center;
}

.founder-img-minimal {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px; /* Delikatnie zaokrąglone rogi */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Miękki cień pod zdjęciem */
    transition: transform 0.4s ease;
}

.founder-img-minimal:hover {
    transform: translateY(-8px); /* Subtelny efekt przy najechaniu */
}

.founder-content h2 {
    font-size: 2.8rem;
    color: var(--antracyt);
    margin: 10px 0;
}

.founder-lead {
    font-size: 1.4rem;
    color: var(--corten);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.founder-quote {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--corten);
}

.founder-quote blockquote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--antracyt);
}

/* Responsywność dla mobile */
@media (max-width: 900px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-image {
        order: -1; /* Zdjęcie nad tekstem na telefonach */
        flex: 0 0 auto;
    }
    
    .founder-quote {
        text-align: left;
    }
}
/* RWD */
@media (max-width: 900px) {
    .section-title h2 { font-size: 2.8rem; }
    .history-grid { flex-direction: column; }
    .history-image img { box-shadow: 10px 10px 0px var(--bg-light); }
}
/* ==========================================================================
   5. FOOTER I IKONY
   ========================================================================== */
.main-footer { background: var(--black); color: #999; padding: 60px 0 0; margin-top: 100px; }
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px 40px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
}
.footer-column h3 { color: var(--white); margin-bottom: 20px; border-left: 3px solid var(--corten); padding-left: 15px; }

.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-icon {
    width: 40px; height: 40px; background: #333; color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; border-radius: 50%; transition: 0.3s;
}
.social-icon:hover { background: var(--corten); transform: translateY(-3px); }

.footer-bottom { background: #111; padding: 20px; text-align: center; font-size: 1.2rem; }

/* ==========================================================================
   6. RWD (MOBILNE)
   ========================================================================== */
@media (max-width: 1100px) {
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 30px; height: 3px; background: white; transition: 0.3s; }
   .hamburger { 
        display: flex; 
        flex-direction: column; 
        gap: 5px; 
        cursor: pointer; 
        z-index: 2100; /* Musi być wyżej niż nav-menu */
        padding: 10px;
        position: relative;
    }

    .hamburger span { 
        width: 30px; 
        height: 3px; 
        background: white; /* Kolor kresek gdy menu jest zamknięte */
        transition: all 0.3s ease-in-out; 
        display: block;
        transform-origin: center;
    }
    
    /* KLUCZ: Zmiana koloru na czarny po otwarciu, żeby widzieć krzyżyk na białym tle menu */
    .hamburger.active span {
        background: #000; 
    }

    /* Tworzenie krzyżyka (X) */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); padding-top: 100px; transition: 0.4s; z-index: 1999;
    }
    .nav-menu.active { right: 0; box-shadow: -5px 0 15px rgba(0,0,0,0.3); }
    .main-ul { flex-direction: column; }
    .main-ul li a { color: var(--black); padding: 15px 30px; border-bottom: 1px solid #eee; }
    
    .dropdown { position: static; display: none; background: #f9f9f9; }
    
    .product-row, .product-row.reverse { grid-template-columns: 1fr; gap: 30px; }
    .info-grid { grid-template-columns: 1fr; }
}
/* Pokazywanie submenu na mobile po kliknięciu */
    .nav-menu .has-sub.open .dropdown {
        display: block !important;
        width: 100%;
    }
/* Profesjonalna strzałka V przy submenu */
    .has-sub > a::after {
        content: "\f078"; /* Kod ikony chevron-down w FontAwesome */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1rem;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s ease; /* Animacja obrotu */
    }

    /* Obrót strzałki po otwarciu menu */
    .has-sub.open > a::after {
        transform: rotate(180deg);
        color: var(--corten);
    }
    
