﻿/* --- 1. ZMIENNE I RESET --- */
:root {
    --bg-main: #F4F4F4;
    --anthracite: #2A2E35;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --text-dark: #333333;
    --accent: #555555;
    --nav-bg: rgba(0, 0, 0, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { 
    background-color: var(--bg-main); 
    font-family: 'Segoe UI', Arial, sans-serif; 
    font-size: 1.6rem; 
    color: var(--text-dark); 
    line-height: 1.6; 
}

/* --- 2. HEADER I NAV --- */
.main-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url("img/hero-dark.webp") center/cover no-repeat; 
    width: 100%; min-height: 450px; display: flex; flex-direction: column; justify-content: center; position: relative;
}

.navigation-bar {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%; position: absolute; top: 0; z-index: 1000;
}

.header-content {
    max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;
}

.logo img { max-height: 75px; width: auto; display: block; }

/* Menu Desktop */
.main-ul { display: flex; list-style: none; }
.main-ul li { position: relative; }
.main-ul li a { display: block; padding: 15px 20px; color: var(--white); text-decoration: none; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.main-ul li a i { font-size: 1rem; margin-left: 5px; transition: 0.3s; }
.main-ul li.selected a { color: #f4f4f4; border-bottom: 2px solid #fff; }

/* Podmenu */
.dropdown {
    position: absolute; top: 100%; left: 0; background: var(--black);
    min-width: 220px; display: none; list-style: none; padding: 10px 0; z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.dropdown li a { padding: 10px 20px; font-size: 1.2rem; border: none !important; text-transform: none; }
.dropdown li a:hover { background: #333; }
.has-sub:hover .dropdown { display: block; }
.has-sub:hover > a i { transform: rotate(180deg); }

/* --- 3. NAGŁÓWEK (WYRÓWNANIE) --- */
.header-intro-container {
    max-width: 1400px; /* Identycznie jak header-content */
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    margin-top: 80px;
}

.header-intro { text-align: left; }
.header-intro h1 { font-size: 4.8rem; color: var(--white); text-transform: uppercase; font-weight: 800; margin-bottom: 15px; }
.header-intro p { font-size: 1.9rem; color: #eee; max-width: 700px; line-height: 1.5; }

/* --- 4. SEKCJA KONTAKTU --- */
.container-center { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-box { background: #fff; padding: 45px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-box h2 { font-size: 2.8rem; margin-bottom: 30px; color: var(--anthracite); border-bottom: 2px solid var(--bg-main); padding-bottom: 10px; }

.contact-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.contact-item i { font-size: 2.2rem; color: var(--accent); width: 30px; text-align: center; padding-top: 5px; }
.contact-item strong { display: block; font-size: 1.8rem; color: var(--black); }
.contact-item p, .contact-item a { color: var(--text-dark); text-decoration: none; font-size: 1.7rem; }

.input-group { margin-bottom: 20px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 1.6rem; font-family: inherit; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--anthracite); outline: none; }

.submit-btn {
    background: var(--anthracite); color: var(--white); padding: 18px; border: none; border-radius: 4px;
    cursor: pointer; font-weight: bold; text-transform: uppercase; width: 100%; font-size: 1.5rem; transition: 0.3s;
}
.submit-btn:hover { background: #000; letter-spacing: 1px; }

/* --- 5. HAMBURGER I MOBILE --- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 10000; }
.hamburger span { width: 28px; height: 3px; background: var(--white); transition: 0.3s; }

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--black); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--black); }

@media (max-width: 1100px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--white); z-index: 1100; transition: 0.4s; padding-top: 80px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-menu.active { right: 0; }
    .main-ul { flex-direction: column; }
    .main-ul li a { color: var(--text-dark); border-bottom: 1px solid #eee; padding: 20px; }
    
    .dropdown { position: static; background: #f9f9f9; width: 100%; display: none; box-shadow: none; }
    .has-sub.active .dropdown { display: block; }
    .has-sub.active > a i { transform: rotate(180deg); }
    
    .contact-section { grid-template-columns: 1fr; }
    .header-intro h1 { font-size: 3.6rem; }
    .header-intro p { font-size: 1.7rem; }
}

/* --- 6. STOPKA --- */
.main-footer { background: var(--black); color: var(--white); padding: 60px 0 30px; margin-top: 80px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; padding: 0 20px; flex-wrap: wrap; gap: 40px; }
.footer-column { flex: 1; min-width: 280px; }
.footer-column h3 { margin-bottom: 25px; font-size: 2rem; border-left: 3px solid var(--white); padding-left: 15px; }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-icon { width: 40px; height: 40px; background: #333; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; transition: 0.3s; }
.social-icon:hover { background: var(--white); color: var(--black); }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid #333; margin-top: 40px; font-size: 1.3rem; color: #888; }
/* --- STYLE DLA PODSTRONY O NAS --- */
/* --- OPINIE GOOGLE --- */
.testimonials-section { margin: 80px 0; padding: 40px; background: #fff; border-radius: 12px; }
.testimonials-header { text-align: center; margin-bottom: 40px; }
.google-rating-summary { margin-top: 15px; }
.rating-number { font-size: 4rem; font-weight: 800; color: #fabc05; }
.stars { font-size: 2rem; margin: 5px 0; }

.testimonials-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
}
.testimonial-card { 
    background: #fdfdfd; 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px solid #eee; 
    position: relative; 
}
.quote-icon { font-size: 5rem; color: #eee; position: absolute; top: 10px; left: 20px; font-family: serif; z-index: 1; }
.testimonial-text { position: relative; z-index: 2; font-size: 1.4rem; font-style: italic; margin-bottom: 15px; }
.testimonial-footer { font-weight: bold; font-size: 1.3rem; color: var(--anthracite); }

/* --- PRZYCISK CTA --- */
.testimonials-cta { text-align: center; margin-top: 40px; }
.btn-secondary { 
    display: inline-block; padding: 15px 30px; background: #4285F4; color: #fff; 
    text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s; 
}
.btn-secondary:hover { background: #357abd; transform: translateY(-2px); }

/* --- KARTY PATENTÓW --- */
.trust-icons-section { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin: 60px 0; 
}
.patent-card { border-top: 4px solid var(--anthracite); }
.patent-card i { color: #d4af37; } /* Złoty kolor dla ikon zaufania */

.img-responsive { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
/* --- SEKCJA PARTNERÓW I CERTYFIKATÓW --- */
.partners-logos-section {
    background: #ebebeb; /* Delikatne odcięcie od białego tła */
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 12px;
}

.partners-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mini-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.logo-item {
    filter: grayscale(100%); /* Wszystko czarno-białe */
    opacity: 0.6;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    text-align: center;
}

.logo-item:hover {
    filter: grayscale(0%); /* Kolor powraca po najechaniu */
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 10px;
}

.certificate-icon {
    font-size: 4rem;
    color: var(--anthracite);
    margin-bottom: 10px;
}

.logo-item span {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--anthracite);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .logos-grid { gap: 30px; }
    .logo-item { filter: grayscale(0%); opacity: 1; } /* Na mobile od razu w kolorze */
}
