/* =========================================
   1. ZMIENNE I RESET
   ========================================= */
:root {
    --primary-color: #0099ff; 
    --primary-dark: #0077cc;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Open Sans', sans-serif;
    --font-headers: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.mt-4 { margin-top: 1.5rem; }

.section-title {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-subtitle-light {
    color: #00e676;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.separator-center { height: 4px; width: 60px; background-color: var(--primary-color); margin: 0 auto 20px; }
.separator-center.bg-white { background-color: #fff; }

/* Przyciski */
.btn-primary {
    display: inline-block; padding: 14px 35px;
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    color: var(--white); font-weight: 700; border-radius: 50px;
    border: none; box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
    transition: all 0.3s ease; text-transform: uppercase;
    letter-spacing: 1px; font-size: 0.9rem; cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 153, 255, 0.6);
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%); color: #fff;
}

/* =========================================
   3. HEADER I NAWIGACJA
   ========================================= */
.top-bar { background-color: #111; color: #ccc; font-size: 0.85rem; padding: 10px 0; }
.top-bar-content { display: flex; justify-content: center; }
.top-info-full { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.top-info-full i { color: var(--primary-color); margin-right: 5px; }

.navbar {
    background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000; padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; gap: 10px; color: #000; }
.logo-icon { font-size: 2.5rem; color: var(--primary-color); }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-headers); font-weight: 900; line-height: 1; }
.logo-text span:first-child { font-size: 1.5rem; letter-spacing: 1px; }
.sub-logo { font-size: 1rem; font-weight: 400; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { font-weight: 600; text-transform: uppercase; font-size: 0.9rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

/* Kreska pod linkiem (tylko na desktopie) */
.nav-links > li > a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--primary-color); transition: 0.3s;
}
.nav-links > li > a:hover::after { width: 100%; }

/* Phone CTA */
.phone-cta { display: flex; align-items: center; gap: 10px; }
.phone-icon-anim {
    width: 40px; height: 40px; background: var(--primary-color); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: white;
    animation: pulse-blue 2s infinite;
}
.phone-number { font-weight: 700; font-size: 1.1rem; color: #000; }
@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 153, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); }
}

/* =========================================
   4. ROZWIJANE MENU (DESKTOP)
   ========================================= */
.dropdown { position: relative; }
.dropbtn { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.dropbtn i { font-size: 0.8rem; transition: transform 0.3s ease; }

.dropdown-content {
    visibility: hidden; opacity: 0; position: absolute; top: 130%; left: 0;
    background-color: #ffffff; min-width: 320px; box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 12px; padding: 10px 0; z-index: 1000;
    transform: translateY(15px); transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.03);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content { visibility: visible; opacity: 1; top: 100%; transform: translateY(0); }
    .dropdown:hover .dropbtn i { transform: rotate(180deg); }
}

.dropdown-content li { width: 100%; }
.dropdown-content a {
    color: #444; padding: 12px 25px; display: block; text-transform: none;
    font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid #f5f5f5;
}
.dropdown-content a::after { display: none !important; }
.dropdown-content li:last-child a { border-bottom: none; }
.dropdown-content a:hover { background-color: #f0f9ff; color: var(--primary-color); padding-left: 30px; }

/* =========================================
   5. SEKCJE WIZUALNE I STRUKTURA
   ========================================= */
.hero-slider { position: relative; height: 80vh; width: 100%; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; display: flex; align-items: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }
.slide-content { color: var(--white); max-width: 800px; animation: slideUp 1s ease forwards; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.slide-content h1 { font-size: 3.5rem; font-family: var(--font-headers); margin-bottom: 20px; text-shadow: 2px 2px 5px rgba(0,0,0,0.7); }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.prev-slide, .next-slide { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 15px; cursor: pointer; font-size: 1.5rem; z-index: 10; }
.prev-slide { left: 20px; } .next-slide { right: 20px; }
.prev-slide:hover, .next-slide:hover { background: var(--primary-color); }

.page-hero { height: 40vh; min-height: 300px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); position: relative; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-title { font-family: var(--font-headers); font-size: 3rem; font-weight: 800; margin-bottom: 10px; position: relative; z-index: 2; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.95; position: relative; z-index: 2; }

/* Dlaczego my - Grid */
.why-us-modern { background-color: #f9fbfd; padding: 100px 0; }
.why-us-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text-content .blue-line { width: 80px; height: 4px; background: var(--primary-color); margin: 20px 0; border-radius: 2px; }
.why-text-content .main-desc { font-size: 1.2rem; font-weight: 600; color: #222; margin-bottom: 20px; }
.why-text-content .sub-desc { color: #666; margin-bottom: 30px; }
.why-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.why-card { background: white; padding: 30px 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.03); }
.why-cards-grid .why-card:nth-child(2), .why-cards-grid .why-card:nth-child(4) { transform: translateY(30px); }
.why-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15); border-color: rgba(0, 153, 255, 0.2); }
.why-cards-grid .why-card:nth-child(2):hover, .why-cards-grid .why-card:nth-child(4):hover { transform: translateY(20px); }
.why-card .icon-box { width: 50px; height: 50px; background: rgba(0, 153, 255, 0.1); color: var(--primary-color); border-radius: 10px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; margin-bottom: 20px; transition: 0.3s; }
.why-card:hover .icon-box { background: var(--primary-color); color: white; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; font-family: var(--font-headers); }
.why-card p { font-size: 0.9rem; color: #777; line-height: 1.5; }
.why-card.link-card { display: block; cursor: pointer; }
.card-cta { display: inline-block; margin-top: 15px; font-size: 0.85rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; transition: 0.3s; }
.why-card.link-card:hover .card-cta { transform: translateX(5px); }

/* Galeria */
.gallery-showcase { background-color: #f9fbfd; padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; height: 350px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; opacity: 0.9; transition: all 0.3s ease; }
.gallery-content h3 { color: white; font-family: var(--font-headers); font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; transform: translateY(0); transition: transform 0.3s ease; }
.view-btn { color: var(--primary-color); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; display: inline-block; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3)); }
.gallery-item:hover h3 { transform: translateY(-5px); }
.gallery-item:hover .view-btn { opacity: 1; transform: translateY(0); }

/* About Zig-Zag */
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 40px; }
.reverse-layout .about-img-col { order: 2; }
.reverse-layout .about-text-col { order: 1; }
.image-frame-vertical, .image-frame-square { position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.image-frame-vertical img, .image-frame-square img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.image-frame-vertical:hover img, .image-frame-square:hover img { transform: scale(1.05); }
.about-text-col .blue-line { width: 60px; height: 4px; background: var(--primary-color); margin: 20px 0; }
.text-content-body p { margin-bottom: 15px; color: #555; }
.features-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.check-item h4 { font-size: 1rem; font-weight: 700; color: #333; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.check-item i { color: var(--primary-color); }
.check-item p { font-size: 0.85rem; color: #666; line-height: 1.4; padding-left: 24px; }

/* Licznik */
.stats-banner-section { background-color: #f4f8fb; padding: 60px 0; border-top: 1px solid #eef2f5; border-bottom: 1px solid #eef2f5; }
.stats-flex { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; text-align: center; }
.stats-big-number { font-family: var(--font-headers); font-size: 5rem; font-weight: 800; color: var(--primary-color); line-height: 1; }
.stats-big-number .plus { color: #333; font-size: 3rem; vertical-align: super; }
.stats-label-light { display: block; font-size: 1.5rem; color: #777; font-weight: 300; margin-top: -10px; }
.stats-desc { max-width: 600px; font-size: 1rem; color: #555; text-align: left; border-left: 4px solid var(--primary-color); padding-left: 20px; }

/* SEO Section */
.seo-premium-section { background-color: #ffffff; padding: 100px 0; border-top: 1px solid #eee; }
.seo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.seo-tag { display: inline-block; background-color: rgba(0, 153, 255, 0.1); color: var(--primary-color); font-weight: 700; font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; margin-bottom: 15px; }
.seo-heading { font-family: var(--font-headers); font-size: 2.2rem; font-weight: 800; color: #222; line-height: 1.2; margin-bottom: 25px; }
.seo-heading .highlight-blue { color: var(--primary-color); }
.seo-lead { font-size: 1.1rem; color: #555; line-height: 1.7; margin-bottom: 30px; }
.seo-locations-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.location-badge { background: #f8f9fa; border: 1px solid #e9ecef; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; color: #444; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.location-badge i { color: var(--primary-color); }
.location-badge:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.location-badge:hover i { color: white; }
.seo-services-list { display: flex; flex-direction: column; gap: 25px; }
.seo-service-item { display: flex; align-items: flex-start; gap: 20px; }
.seo-icon { flex-shrink: 0; width: 50px; height: 50px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); color: var(--primary-color); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.4rem; box-shadow: 0 4px 10px rgba(0, 153, 255, 0.1); }
.seo-content h3 { font-family: var(--font-headers); font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
.seo-content p { font-size: 0.95rem; color: #666; }

/* Karty Oferty (Podstrony Usług) */
.offer-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.offer-card { background: white; padding: 40px 30px; border-radius: 12px; text-align: center; border: 1px solid #eee; transition: all 0.3s ease; position: relative; overflow: hidden; }
.offer-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary-color); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.offer-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.offer-card:hover::before { transform: scaleX(1); }
.oc-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; transition: 0.3s; }
.offer-card:hover .oc-icon { transform: scale(1.1); }
.offer-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 15px; font-family: var(--font-headers); }
.offer-card p { font-size: 0.9rem; color: #666; }

/* Kontakt Kafelki i Mapa */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 20px; }
.contact-card { background: white; padding: 50px 30px; border-radius: 20px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.03); transition: all 0.4s ease; position: relative; overflow: hidden; z-index: 1; }
.contact-card:hover { transform: translateY(-15px); box-shadow: 0 20px 50px rgba(0, 153, 255, 0.15); border-color: rgba(0, 153, 255, 0.2); }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--primary-color); transform: scaleX(0); transition: transform 0.4s ease; }
.contact-card:hover::before { transform: scaleX(1); }
.cc-icon-wrapper { width: 80px; height: 80px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); color: var(--primary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.2rem; margin: 0 auto 25px; transition: 0.4s; }
.contact-card:hover .cc-icon-wrapper { background: var(--primary-color); color: white; transform: rotateY(180deg); }
.contact-card h3 { font-family: var(--font-headers); font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; }
.cc-desc { color: #777; font-size: 0.95rem; margin-bottom: 25px; }
.cc-link { display: block; font-size: 1.3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 10px; transition: 0.3s; }
.email-size { font-size: 1.1rem; word-break: break-all; }
.cc-link:hover { color: var(--primary-dark); text-decoration: underline; }
.cc-address { font-size: 1.1rem; color: #333; margin-bottom: 15px; }
.cc-subtext { display: block; font-size: 0.85rem; color: #999; text-transform: uppercase; font-weight: 600; }
.map-section { padding-bottom: 80px; background-color: #fff; }
.map-responsive-wrapper { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 500px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.map-responsive-wrapper iframe { width: 100%; height: 100%; display: block; filter: grayscale(20%); transition: 0.3s; }
.map-responsive-wrapper iframe:hover { filter: grayscale(0%); }

/* Polityka Prywatności */
.legal-section { background-color: #f9f9f9; padding: 80px 0; }
.legal-container { max-width: 900px; background: white; padding: 60px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.legal-block { margin-bottom: 40px; }
.legal-block h2 { font-family: var(--font-headers); font-size: 1.5rem; color: #222; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #eee; }
.legal-block p { color: #555; line-height: 1.8; margin-bottom: 15px; text-align: justify; }
.admin-box { background: #f0f9ff; border-left: 4px solid var(--primary-color); padding: 20px; margin: 20px 0; color: #333; line-height: 1.8; }
.legal-list, .legal-ordered-list { padding-left: 20px; margin-bottom: 15px; color: #555; }
.legal-list li { list-style: disc; margin-bottom: 8px; }
.legal-ordered-list li { list-style: decimal; margin-bottom: 8px; }

/* CTA Banner */
.cta-modern { position: relative; background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%); padding: 80px 0; color: white; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2); }
.cta-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.6; pointer-events: none; }
.cta-container { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.cta-title { font-family: var(--font-headers); font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.cta-desc { font-size: 1.1rem; line-height: 1.6; opacity: 0.95; max-width: 600px; }
.cta-desc strong { color: #fff; text-decoration: underline; text-decoration-color: #00e676; text-underline-offset: 3px; }
.btn-cta-pulse { display: flex; align-items: center; background: white; color: #0066cc; padding: 10px 30px 10px 10px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; box-shadow: 0 5px 20px rgba(0,0,0,0.2); transition: 0.3s; gap: 15px; }
.icon-circle { background: #0066cc; color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; transition: 0.3s; }
.btn-cta-pulse:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.btn-cta-pulse:hover .icon-circle { background: #00e676; transform: rotate(15deg); }

/* Stopka */
.modern-footer { background-color: #0f1012; color: #a0a0a0; font-family: var(--font-main); position: relative; }
.footer-gradient-line { height: 4px; background: linear-gradient(90deg, #0099ff 0%, #00e676 100%); width: 100%; }
.footer-content { padding: 70px 20px 50px; }
.footer-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-widget h4 { color: #fff; font-family: var(--font-headers); font-size: 1.1rem; margin-bottom: 25px; position: relative; display: inline-block; }
.footer-widget h4::after { content: ''; position: absolute; width: 8px; height: 8px; background-color: #0099ff; border-radius: 50%; right: -15px; top: 50%; transform: translateY(-50%); }
.brand-widget .footer-logo { font-size: 1.8rem; color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: 20px; font-family: var(--font-headers); }
.brand-widget .footer-logo i { color: #0099ff; }
.footer-list li { margin-bottom: 12px; }
.footer-list a { color: #bbb; font-size: 0.95rem; transition: 0.3s; display: inline-block; }
.footer-list a:hover { color: #0099ff; transform: translateX(5px); }
.contact-widget ul li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; }
.contact-widget i { color: #0099ff; font-size: 1rem; margin-top: 4px; }
.contact-widget a:hover { color: #fff; text-decoration: underline; }
.contact-widget .nip { color: #666; font-size: 0.85rem; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
.footer-bottom { background-color: #111; padding: 20px 0; border-top: 1px solid #222; color: #bbb; font-size: 0.9rem; text-align: center; }
.footer-bottom p { margin: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px; }
.dev-link { text-decoration: none; font-weight: 700; font-family: monospace; font-size: 1rem; color: #fff; }
.dev-link .bracket { color: #00e676; }
.dev-link:hover .dev-name { color: #00e676; }

.scroll-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--primary-color); color: white; width: 45px; height: 45px; text-align: center; line-height: 45px; border-radius: 5px; display: none; z-index: 999; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.scroll-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* Animacje wejścia */
@keyframes popIn { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideRightFade { 0% { opacity: 0; transform: translateX(-30px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes slideLeftFade { 0% { opacity: 0; transform: translateX(30px); } 100% { opacity: 1; transform: translateX(0); } }
.animate-pop-in { animation: popIn 1s ease forwards; }
.animate-slide-up { animation: slideUpFade 1s ease forwards 0.3s; opacity: 0; }
.animate-slide-right { animation: slideRightFade 1s ease forwards; }
.animate-slide-left { animation: slideLeftFade 1s ease forwards; }
.animate-fade-up { animation: slideUpFade 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; }


/* =========================================
   6. RESPONSZYWNOŚĆ I MENU MOBILNE
   ========================================= */

.hamburger { display: none; cursor: pointer; z-index: 1100; }
.bar { display: block; width: 28px; height: 3px; margin: 6px auto; background-color: #333; border-radius: 3px; transition: all 0.3s ease-in-out; }
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--primary-color); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--primary-color); }

@media (max-width: 992px) {
    .top-bar { display: none; }
    .why-us-wrapper, .seo-layout, .about-row, .footer-row { grid-template-columns: 1fr; gap: 40px; }
    .why-cards-grid .why-card:nth-child(2), .why-cards-grid .why-card:nth-child(4) { transform: translateY(0); }
    .reverse-layout .about-img-col { order: -1; }
    .reverse-layout .about-text-col { order: 1; }
    .stats-flex { flex-direction: column; gap: 20px; text-align: center; }
    .stats-desc { text-align: center; border-left: none; border-top: 4px solid var(--primary-color); padding-top: 20px; padding-left: 0; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .phone-cta { display: none; }

    /* MENU MOBILNE - WŁAŚCIWE USTAWIENIA */
    .nav-links {
        position: fixed; left: 0; top: 0; width: 100%; height: 100vh;
        background-color: #ffffff; flex-direction: column; align-items: center;
        padding-top: 100px; padding-bottom: 120px; gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        transform: translateY(-150%); transition: transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        z-index: 999;
        overflow-y: auto; /* TO ZAPEWNIA PRZEWIJANIE MENU NA TELEFONIE */
    }

    .nav-links.active { transform: translateY(0); }
    .nav-links li { width: 90%; margin: 0; }
    .nav-links > li > a {
        display: block; text-align: center; padding: 15px;
        background-color: #f4f6f8; border-radius: 12px;
        color: #333; font-weight: 700; font-size: 1.1rem;
        border: 1px solid transparent; transition: all 0.3s ease;
    }
    .nav-links > li > a:hover, .nav-links > li > a.active { background-color: var(--primary-color); color: white; }
    .nav-links > li > a::after { display: none; }

    /* MENU ROZWIJANE NA TELEFONIE (ZWIJANE DOMYŚLNIE) */
    .dropdown { position: relative; width: 100%; }
    .dropdown .dropbtn { justify-content: center; }
    
    .dropdown .dropdown-content {
        display: none; /* DOMYŚLNIE UKRYTE! */
        position: static; background-color: transparent; box-shadow: none; border: none;
        padding: 0; margin-top: 10px; width: 100%; transform: none; opacity: 1; visibility: visible;
    }

    .dropdown.active .dropdown-content { display: flex; flex-direction: column; gap: 8px; }
    .dropdown.active .dropbtn i { transform: rotate(180deg); }

    .dropdown-content a {
        background-color: #e4edf5; border-radius: 8px; padding: 12px 15px;
        font-size: 0.9rem; color: #333; font-weight: 600; text-align: center;
    }
    .dropdown-content a:hover { background-color: var(--primary-color); color: #fff; }

    /* Reszta mobile */
    .cta-container { flex-direction: column; text-align: center; gap: 30px; }
    .cta-title { font-size: 1.8rem; }
    .btn-cta-pulse { width: 100%; justify-content: center; padding: 15px; }
    .slide-content h1 { font-size: 1.8rem; }
    .gallery-item { height: 250px; }
    .view-btn { opacity: 1; transform: translateY(0); }
    .map-responsive-wrapper { height: 350px; }
    .contact-card { padding: 40px 20px; }
    .cc-link { font-size: 1.2rem; }
    .legal-container { padding: 30px 20px; }
    .legal-block h2 { font-size: 1.3rem; }
}

@media (max-width: 576px) {
    .why-cards-grid { grid-template-columns: 1fr; }
    .footer-row { text-align: center; }
    .footer-widget h4::after { display: none; }
    .contact-widget ul li { justify-content: center; }
    .hero-title { font-size: 2.2rem; }
    .features-checklist { grid-template-columns: 1fr; }
    .stats-big-number { font-size: 3.5rem; }
}
/* =========================================
   MINI GALERIA W USŁUGACH
   ========================================= */
.mini-gallery-grid {
    display: grid;
    /* Domyślnie 4 kolumny na dużych ekranach */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.mini-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* Wymusza jednakowe proporcje prostokąta dla wszystkich zdjęć */
    aspect-ratio: 4 / 3; 
    cursor: pointer;
    background-color: #000; /* czarne tło pod spodem, na wypadek wolnego ładowania */
}

.mini-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gwarantuje wypełnienie kafelka bez spłaszczania */
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Efekt najechania myszką */
.mini-gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.85; /* Delikatne przyciemnienie */
}
/* =========================================
   LIGHTBOX - POWIĘKSZANIE ZDJĘĆ
   ========================================= */
.lightbox-modal {
    display: none; /* Ukryte domyślnie */
    position: fixed;
    z-index: 9999; /* Musi być wyżej niż menu */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomInLightbox 0.3s ease;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
}

@keyframes zoomInLightbox {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    .lightbox-content {
        max-width: 95%;
    }
}
/* Strzałki nawigacji w Lightbox */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    font-size: 35px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.4); /* Półprzezroczyste tło ułatwia klikanie */
    border-radius: 5px;
    text-decoration: none;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        font-size: 25px;
        padding: 10px 15px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}
/* =========================================
   NAPRAWA KLIKNIĘĆ W SLIDERZE
   ========================================= */
.hero-slider .slide {
    pointer-events: none; /* Wyłącza klikanie w niewidoczne, ukryte slajdy */
    z-index: 0;
}

.hero-slider .slide.active {
    pointer-events: auto; /* Aktywuje klikanie TYLKO dla widocznego slajdu */
    z-index: 10;          /* Przesuwa aktywny slajd na sam wierzch */
}
/* =========================================
   BANER COOKIES
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #161b22; /* Ciemne tło ze zdjęcia */
    color: #ffffff;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none; /* Domyślnie ukryty, pokazywany przez JS */
    padding: 20px 0;
    border-top: 2px solid var(--primary-color, #0099ff); /* Delikatny niebieski pasek na górze */
}

.cookie-banner.show {
    display: block;
    animation: slideUpCookie 0.5s ease-out forwards;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.cookie-icon {
    font-size: 45px;
    color: var(--primary-color, #0099ff); /* Twój niebieski kolor strony */
    flex-shrink: 0;
}

.cookie-content {
    flex-grow: 1;
}

.cookie-content h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #9ca3af;
}

.cookie-content a {
    color: var(--primary-color, #0099ff);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-action {
    flex-shrink: 0;
}

.btn-cookie {
    background-color: var(--primary-color, #0099ff);
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px; /* Zaokrąglony przycisk */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-cookie:hover {
    background-color: #007acc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.4);
}

/* Wersja na telefony komórkowe */
@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-icon {
        display: none; /* Ukrywamy ciastko na telefonach dla oszczędności miejsca */
    }
    
    .cookie-action {
        width: 100%;
    }
    
    .btn-cookie {
        width: 100%;
        padding: 15px;
    }
}