/* ========================================================= */
/* 0. ZMIENNE CSS (CUSTOM PROPERTIES) - UŁATWIAJĄ ZARZĄDZANIE KOLORAMI */
/* ========================================================= */
:root {
    /* Kolory Główne */
    --color-primary-accent: #f97316;    /* Żywy Pomarańczowy (Główny CTA) */
    --color-secondary-accent: #3b82f6;  /* Niebieski (Drugorzędny CTA/Ikony) */
    --color-success: #34d399;           /* Żarowiasty Zielony (Akcent Kontaktowy) */
    
    /* Tła i Teksty */
    --color-background-soft: #f0f2f5;   /* Jasne, miękkie tło */
    --color-background-white: #ffffff;  /* Białe tło kart/hero */
    --color-background-dark: #1e293b;   /* Ciemne tło stopki/nagłówków */
    --color-text-dark: #334155;         /* Ciemny tekst body */
    --color-text-subtle: #475569;       /* Subtelny ciemny tekst */
    --color-border-light: #e2e8f0;      /* Jasny border/linia */
}


/* ========================================================= */
/* 1. USTAWIENIA OGÓLNE I RESET - NOWY SCHEMAT: JASNE TŁO */
/* ========================================================= */
html {
    /* UX: Płynne przewijanie do kotwic */
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--color-background-soft);
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    padding-top: 5px;
    overflow-x: hidden;
}

/* Klasa dla wszystkich sekcji */
.section {
    padding: 80px 10% 60px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--color-background-dark);
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    padding-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

/* ========================================================= */
/* 2. NAWIGACJA (STICKY MENU) - NOWY SCHEMAT: JASNA/LEKKA */
/* ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-background-white);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--color-text-subtle);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.6em;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap:30px;
}

.nav-menu li a {
    color: var(--color-text-subtle);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--color-secondary-accent);
}

@media (max-width: 600px) {
    .nav-menu {
        display: none;
    }
    .nav-container {
        justify-content: center;
    }
}

/* ========================================================= */
/* 3. SEKCJA NAGŁÓWKA (HERO-SECTION) - NOWY SCHEMAT: LEKKI I CZYSTY */
/* ========================================================= */

.hero-section {
    background-color: var(--color-background-white);
    padding: 5px 10% 60px 10%;
    display: flex;
    border-bottom: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}

.centered-hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image-container {
    flex: none;
    padding: 0;
    margin-bottom: 30px;
    order: -1;
}

.tux-image {
    max-width: 200px;
    height: auto;
}

.hero-content-box {
    flex: none;
    min-width: auto;
    width: 100%;
    max-width: 600px;
}

.main-title {
    text-align: center;
    margin-bottom: 0;
}

/* 3.5. STYLU BANERA GRAFICZNEGO (NOWA SEKCJA) */
.banner-section {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    
    margin-top: 60px;
    overflow: hidden;
    display: block;
    
    background-image: url('lin-lab-janow-lubelski-1.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-background-dark);
}

.hero-image {
    display: none;
}

/* Style tekstowe */
.hero-section .content h1 .h1-rest {
    color: var(--color-secondary-accent);
    font-size: 1.8em;
    font-weight: bold;
    display: block;
}

.location-text {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--color-text-subtle);
    margin-top: 10px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--color-text-subtle);
}

/* KONTENERY KONTAKTOWE Z PODPISAMI - MODYFIKACJA */
.hero-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.contact-label {
    margin-top: 5px;
    font-size: 0.9em;
    color: var(--color-background-dark);
    font-weight: bold;
    max-width: 100px;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-primary-accent);
    color: white !important;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: var(--color-secondary-accent);
    color: white !important;
}
.btn-yellow:hover {
    background-color: #2563eb;
}

.contact-icon-button {
    padding: 15px;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* POPRAWKA: Usunięcie podkreślenia, które mogło wyglądać jak "kreseczka" */
    text-decoration: none; 
}

/* POPRAWKA 1: Nadpisanie koloru tła i ikony dla przycisku telefonu */
.btn-phone { 
    background-color: var(--color-primary-accent) !important; /* Wymuszony kolor tła */
} 
.btn-phone i {
    color: white !important; /* Wymuszony kolor ikony */
}

.btn-whatsapp { background-color: #25D366; }
.btn-email { background-color: var(--color-border-light); color: #1a1a1a !important; }

.btn-email:hover {
    background-color: #cbd5e1 !important;
}


/* ========================================================= */
/* 4. KARTY, KORZYŚCI, FLOW - NOWY SCHEMAT: LEKKIE I CZUŁE */
/* ========================================================= */

.card-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 30%;
    background-color: var(--color-background-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px;
    transition: transform 0.3s;
    box-sizing: border-box;
    border: 1px solid var(--color-border-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.icon-accent {
    color: var(--color-secondary-accent);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.benefits-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.benefit-column p {
    font-size: 1.1em;
    margin: 10px 0;
    color: var(--color-text-dark);
}

.check-icon {
    color: var(--color-secondary-accent);
    margin-right: 10px;
}

.centered-cta {
    text-align: center;
    margin-top: 30px;
}

.process-wrapper {
    text-align: center;
    margin-top: 30px;
}

.process-flow {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    position: relative;
    padding: 20px 0;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.icon-circle {
    background-color: var(--color-secondary-accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--color-background-white);
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: #cbd5e1;
    transform: translateY(-50%);
    z-index: 5;
}

/* ========================================================= */
/* 5. O MNIE I ZASIĘG - NOWY SCHEMAT: NEUTRALNE TŁO */
/* ========================================================= */

.about-me-section {
    background-color: #e2e8f0;
    border-top: 0px solid #333;
    border-bottom: 0px solid #333;
}
/* DODANY STYL DLA NOWEJ PODSTRONY O MNIE */
.about-me-page {
    background-color: var(--color-background-soft);
}

.profile-card {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--color-background-white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.profile-icon-circle {
    background-color: var(--color-secondary-accent);
    color: white;
    font-size: 2em;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.bio {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--color-text-subtle);
    line-height: 1.5;
}

.local-area-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-subtle);
}

.map-icon {
    color: var(--color-text-subtle);
    margin-bottom: 15px;
}

.local-area-content h3 {
    color: var(--color-background-dark);
    margin-bottom: 15px;
}

.local-area-content p {
    font-size: 1.1em;
    line-height: 1.6;
}

.map-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 0;
    border-radius: 8px;
}

.map-caption {
    margin-top: 15px;
    font-size: 0.9em;
    color: #64748b;
}

/* ========================================================= */
/* 6. STOPKA - NOWY SCHEMAT: CIEMNA, ALE ELEGANCKA */
/* ========================================================= */

.site-footer {
    background-color: var(--color-background-dark);
    color: #cbd5e1;
    text-align: center;
    padding: 20px 10%;
    margin-top: 40px;
    font-size: 0.9em;
}

.footer-contacts {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    text-decoration: none;
    font-size: 1.1em;
    margin: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* POPRAWKA 4: Wymuszony kolor zielony dla linku telefonicznego w stopce */
.yellow-link { 
    color: var(--color-success) !important;
    font-weight: bold;
    font-size: 1.2em;
} 
.white-link { color: #f0f2f5; }
.green-link { color: #25D366; font-weight: bold; }

.privacy-link {
    margin-top: 15px;
}

.privacy-link a {
    color: var(--color-secondary-accent);
    text-decoration: none;
    font-size: 0.9em;
}

/* ========================================================= */
/* 7.1. PRYWATNOŚĆ I BEZPIECZEŃSTWO (USP BANNER) */
/* ========================================================= */

.privacy-usp-banner {
    background-color: var(--color-background-white);
    padding: 30px 10%;
    border-radius: 8px;
    text-align: center;
    max-width: 900px;
    margin: 40px auto;
    border: 3px solid var(--color-secondary-accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* POPRAWKA 2: Dodanie box-sizing do poprawnego renderowania ramki w Chrome */
    box-sizing: border-box;
}

.privacy-usp-banner h2 {
    color: var(--color-secondary-accent);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.privacy-usp-banner p {
    font-size: 1.1em;
    color: var(--color-text-subtle);
    font-weight: bold;
    margin-bottom: 20px;
}

.privacy-icon-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.privacy-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
}

.privacy-icon-item i {
    font-size: 3em;
    color: var(--color-background-dark);
    margin-bottom: 10px;
}

.privacy-icon-item span {
    font-weight: bold;
    color: var(--color-text-dark);
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .privacy-usp-banner {
        margin: 30px 15px;
    }
    .privacy-icon-grid {
        gap: 20px;
    }
}

/* ========================================================= */
/* 7. PRZYCISK "SCROLL TO TOP" I MIKRO-OFERTY (PŁYWAJĄCE) */
/* ========================================================= */

.floating-micro-offer-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #f7d61c;
    color: #333 !important;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1002;
    transition: background-color 0.3s, transform 0.3s;
    display: none;
    align-items: center;
    gap: 5px;
}

.floating-micro-offer-btn:hover {
    background-color: #ffeb3b;
    transform: scale(1.05);
}

.floating-micro-offer-btn i {
    margin-right: 5px;
    color: #333;
}

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    border: none;
    outline: none;
    background-color: var(--color-secondary-accent);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
}

#scrollTopBtn:hover {
    background-color: #2563eb;
}


/* ========================================================= */
/* 8. RESPONSYWNOŚĆ (MOBILE) */
/* ========================================================= */

@media (max-width: 768px) {
    
    .hero-section {
        padding: 20px 15px;
    }

    .section {
        padding: 60px 15px 30px 15px;
    }
    
    h2 {
        font-size: 1.6em;
    }

    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section .content h1 .h1-rest {
        font-size: 1.3em !important;
        white-space: normal !important;
        margin-top: 3px !important;
    }

    .hero-image-container {
        padding-left: 0;
        margin-top: 30px;
        max-width: 100%;
    }
    
    .hero-contacts {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }
    
    .contact-item {
        flex-shrink: 0;
    }

    .cta-button {
        width: auto !important;
        margin: 0 !important;
    }
    
    .contact-icon-button {
        width: 50px !important;
        height: 50px !important;
        padding: 10px !important;
        font-size: 1.5em;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }

    .contact-icon-button i {
        font-size: 1.2em !important;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 50px;
    }

    .process-flow::before {
        display: none;
    }
    
    .card-container,
    .benefits-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .card,
    .benefit-column {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-micro-offer-btn {
        bottom: 85px;
        right: 15px;
        font-size: 0.9em;
        padding: 8px 12px;
    }
    
    #scrollTopBtn {
        bottom: 20px;
        right: 15px;
    }
}


/* ========================================================= */
/* 9. KOREKTA SKALOWANIA DESKTOP (Nadpisanie proporcji na stałą wysokość) */
/* ========================================================= */

@media (min-width: 769px) {
    .banner-section {
        height: 75vh;
        padding-bottom: 0;
        background-size: cover;
    }
}