:root {
    --primary: #0056b3;      /* Azure Blue */
    --secondary: #004494;
    --dark: #1a1a1a;
    --light-gray: #f4f7f6;
    --text: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* BAZA I ANIMACJA WEJŚCIA */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    color: var(--text); 
    background-color: var(--white);
    line-height: 1.6;
    opacity: 0; 
    animation: fadeIn 0.8s forwards; /* PŁYNNE WEJŚCIE */
}

@keyframes fadeIn { to { opacity: 1; } }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAWIGACJA */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--dark); letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; text-transform: uppercase; color: var(--dark); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }

/* ZAKTUALIZOWANE HERO Z NOWYM ZDJĘCIEM */
.hero { 
    height: 70vh; 
    /* Nowy link do zdjęcia z kodem (BfrQnKBulYQ) z odpowiednimi parametrami przycięcia */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; /* Efekt paralaksy przy przewijaniu */
    display: flex; 
    align-items: center; 
    color: var(--white); 
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; max-width: 600px; color: #ddd; }

/* PRZYCISKI */
.btn { padding: 15px 35px; border-radius: 4px; font-weight: 700; display: inline-block; cursor: pointer; }
.btn-main { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-main:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); }

/* SEKCJE STANDARDOWE */
.section-padding { padding: 80px 0; }
.bg-light { background: var(--light-gray); }
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark); }
.divider { width: 60px; height: 4px; background: var(--primary); margin: 0 auto; }

/* KARTY OFERTY */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px; border-left: 5px solid var(--primary); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-card h3 { margin-bottom: 20px; font-size: 1.4rem; }
.service-card ul li { margin-bottom: 10px; position: relative; padding-left: 20px; }
.service-card ul li::before { content: '•'; color: var(--primary); font-weight: bold; position: absolute; left: 0; }

/* BOTTOM ACTION GRID (Index) */
.action-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--dark); color: var(--white); }
.action-item { padding: 60px 40px; border-right: 1px solid #333; transition: var(--transition); text-align: center; }
.action-item:last-child { border-right: none; background: var(--primary); }
.action-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.action-item:hover { background: #222; }
.action-item:last-child:hover { background: var(--secondary); }

/* KONTAKT & MAPA */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-details h3 { font-size: 1.8rem; margin-bottom: 30px; }
.info-row { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.map-container iframe { width: 100%; height: 400px; border-radius: 8px; filter: grayscale(100%); transition: var(--transition); }
.map-container iframe:hover { filter: grayscale(0%); }

/* STOPKA */
footer { background: #111; color: #888; padding: 60px 0 20px; font-size: 0.9rem; border-top: 3px solid var(--primary); }
.footer-cols { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; }

/* RWD */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; } /* Tu można dodać JS dla menu mobilnego */
    .action-bar, .contact-wrapper { grid-template-columns: 1fr; }
    .action-item { border-right: none; border-bottom: 1px solid #333; }
}
/* Styl dla linku wewnątrz logo */
.logo a {
    color: inherit;         /* Pobiera kolor z .logo (czyli var(--dark)) */
    text-decoration: none;  /* Usuwa podkreślenie */
    display: block;         /* Sprawia, że cały obszar logo jest klikalny */
    transition: var(--transition); /* Używa Twojej zdefiniowanej animacji */
}

/* Efekt po najechaniu - opcjonalnie */
.logo a:hover {
    color: var(--primary);  /* Zmienia kolor na błękitny przy najechaniu */
}
/* --- MENU MOBILNE (WSTĄŻKA) --- */
.menu-toggle {
    display: none; /* Ukryte na komputerze */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Pokazuje się na telefonie */
    }

    .nav-links {
        display: none; /* Domyślnie ukryte */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Zaraz pod headerem */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0 !important;
    }

    .nav-links.active {
        display: flex; /* Pokazuje się po kliknięciu */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    /* Animacja ikonki w "X" po otwarciu */
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
}
/* --- FAQ PAGE STYLES --- */
.faq-page {
    padding: var(--header-height, 100px) 0 80px; /* Uwzględnia wysokość sticky headera */
    background-color: var(--light-gray);
    min-height: 80vh;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-cat-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.faq-box {
    margin-bottom: 30px;
}

/* Stylizacja HTML5 Details & Summary */
details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    overflow: hidden;
}

details[open] {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

summary {
    padding: 20px 25px;
    font-weight: 700;
    cursor: pointer;
    list-style: none; /* Ukrywa domyślną strzałkę w Chrome/Firefox */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: var(--transition);
    user-select: none;
}

/* Własna strzałka (pseudo-element) */
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

summary:hover {
    background-color: #fcfcfc;
    color: var(--primary);
}

/* Ukrycie standardowej strzałki w Safari */
summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #eee;
    padding-top: 20px;
    animation: slideDown 0.4s ease-out;
}

.faq-answer strong {
    color: var(--primary);
}

/* Animacja rozwijania */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RWD dla FAQ */
@media (max-width: 768px) {
    /* To sprawi, że ASKOM i Hamburger odskoczą na boki */
    .nav-container {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        padding: 15px 20px; /* Odstęp od krawędzi ekranu */
    }

    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; } 
    .action-bar, .contact-wrapper { grid-template-columns: 1fr; }
    .action-item { border-right: none; border-bottom: 1px solid #333; }

    /* Upewnij się, że menu-toggle nie ma zbędnych marginesów */
    .menu-toggle {
        display: flex; 
        margin: 0; 
    }
}