﻿/* ==========================================================================
   1. ZMIENNE I RESET
   ========================================================================== */
:root {
    --brand-color: #A0522D;       /* Główny kolor innoVal */
    --brand-dark: #1a1a1a;        /* Ciemny akcent */
    --text-main: #2c3e50;         /* Kolor tekstu */
    --bg-light: #fafafa;          /* Jasne tła sekcji */
    --container-width: 1400px;    /* Maksymalna szerokość */
}
* { 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/tlo2.png') 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);
}
 /* 1. SZEROKOŚĆ 1400PX */
#main, .main, main, .container, .wrapper, .site-content, .guide-section-wrapper {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
.container-center {
    max-width: var(--container-width) !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. ARTYKUŁ (STYL ESEJOWY PREMIUM)
   ========================================================================== */
.innoval-essay {
    max-width: var(--container-width);
    margin: 60px auto;
    background: #fff;
    padding: 80px;
    border-radius: 40px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.04);
    font-family: 'Georgia', serif;
    color: var(--text-main);
}

.essay-header { text-align: center; margin-bottom: 60px; }

.essay-badge {
    color: var(--brand-color);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.essay-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1.1;
    margin: 30px 0;
}

.essay-intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    max-width: 1100px;
    margin: 0 auto;
}

.essay-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 60px 0 25px 0;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.essay-body p {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
}

blockquote {
    margin: 50px 0;
    padding: 40px;
    background: rgba(160, 82, 45, 0.05);
    border-left: 8px solid var(--brand-color);
    font-size: 1.6rem;
    line-height: 1.4;
    color: #111;
    font-weight: 600;
    border-radius: 0 20px 20px 0;
}

/* ==========================================================================
   3. TABELA PORÓWNAWCZA I LISTY
   ========================================================================== */
/* Lista ukrytych kosztów */
.hidden-costs-list { list-style: none; padding: 0; margin: 20px 0; }
.hidden-costs-list li { 
    padding-left: 25px; 
    position: relative; 
    margin-bottom: 10px; 
    font-size: 1.1rem;
}
.hidden-costs-list li::before { 
    content: "✕"; 
    color: var(--brand-color); 
    position: absolute; 
    left: 0; 
    font-weight: bold; 
}

/* Tabela */
.table-container { 
    overflow-x: auto; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    margin: 40px 0; 
}

.comparison-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff; 
    min-width: 800px; 
}

.comparison-table th { 
    background: var(--brand-dark); 
    color: #fff; 
    padding: 20px; 
    text-align: left; 
}

.comparison-table th.highlight { 
    background: var(--brand-color); 
    cursor: pointer; 
}

.comparison-table td { 
    padding: 15px 20px; 
    border-bottom: 1px solid #eee; 
}

.brand-td { 
    background: rgba(160, 82, 45, 0.05); 
    font-weight: 600; 
    cursor: pointer; 
}

.accent-text { 
    color: var(--brand-color) !important; 
    font-weight: 800; 
}

/* ==========================================================================
   4. CTA (SEKCJA ZAKUPU)
   ========================================================================== */
.cta-shop-bridge { margin: 60px 0; }

.cta-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: var(--bg-light); 
    padding: 40px; 
    border-radius: 15px; 
    border: 1px solid #eee; 
}

.btn-primary-innoval { 
    background: var(--brand-color); 
    color: #fff !important; 
    padding: 15px 35px; 
    border-radius: 5px; 
    font-weight: 700; 
    text-decoration: none;
    display: inline-block; 
    transition: all 0.3s ease; 
}

.btn-primary-innoval:hover { 
    background: var(--brand-dark); 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   5. FOOTER (CZARNY WYMUSZONY)
   ========================================================================== */
.main-footer {
    background-color: #000 !important;
    color: #fff !important;
    padding: 60px 0 20px 0 !important;
}

.main-footer *, 
.main-footer a { 
    color: #fff !important; 
    text-decoration: none; 
}

.main-footer a:hover { 
    color: var(--brand-color) !important; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666 !important;
}

/* ==========================================================================
   6. RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
    .innoval-essay { padding: 40px; }
    .essay-header h1 { font-size: 2.5rem; }
    .point-section { flex-direction: column; }
}

@media (max-width: 992px) {
    .cta-content { 
        flex-direction: column; 
        text-align: center; 
        gap: 30px; 
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .essay-header h1 { font-size: 2rem; }
    .essay-intro { font-size: 1.1rem; }
    .essay-body p { text-align: left; font-size: 1.1rem; }
}

======================================
   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);
    }
  
