@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'boxicons';
  font-weight: normal;
  font-style: normal;
  src: url('https://unpkg.com/boxicons@2.1.4/fonts/boxicons.woff2') format('woff2');
  font-display: swap;
}

:root {
    --bg-color: #0f172a;        /* Ciemny granat */
    --second-bg-color: #1e293b; /* Karty */
    --text-main: #f8fafc;       /* Prawie biały (dla głównego tekstu) */
    --text-muted: #cbd5e1;      /* Jasny szary (dla mniej ważnych) */
    --main-color: #22c55e;      /* Zielony akcent */
    --main-color-hover: #16a34a;
    --border-color: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(15, 23, 42, 0.98);
    --shadow-glow: 0 0 25px rgba(34, 197, 94, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%; /* 1rem = 10px - Baza do skalowania */
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-main);
    /* ZWIĘKSZONA CZCIONKA BAZOWA I INTERLINIA */
    font-size: 1.8rem; /* 18px */
    line-height: 1.8;
}

/* --- TYPOGRAFIA (DUŻA I WYRAŹNA) --- */
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 5.6rem; /* Bardzo duży nagłówek na start */
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

h1 span, h2 span {
    color: var(--main-color);
}

h2 {
    font-size: 4.2rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

h3 {
    font-size: 2.6rem;
}

p {
    margin-bottom: 2rem;
    color: var(--text-muted); /* Lekko zgaszony biały dla komfortu czytania */
}

/* Pogrubienia i ważne teksty muszą być białe */
strong, b {
    color: #fff;
    font-weight: 600;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo-link {
    font-size: 2.6rem;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.logo-svg { width: 45px; height: 45px; } /* Większe logo */
.logo-link svg path { stroke: #fff; stroke-width: 8; transition: 0.3s; }
.logo-link:hover svg path { stroke: var(--main-color); }

.navbar { display: flex; gap: 3.5rem; }
.navbar a {
    font-size: 1.8rem; /* Większa czcionka w menu */
    color: #e2e8f0;
    font-weight: 500;
    transition: 0.3s;
}
.navbar a:hover, .navbar a.active { color: var(--main-color); }

.header-social { display: flex; gap: 2rem; align-items: center; margin-left: 4rem; }
.header-social a {
    font-size: 2.6rem; /* Duże ikony */
    color: #e2e8f0;
    transition: 0.3s;
    display: flex;
}
.header-social a:hover { color: var(--main-color); transform: scale(1.1); }

#menu-icon { font-size: 4rem; color: #fff; display: none; cursor: pointer; }

/* --- SEKCJE --- */
main { padding-top: 110px; } /* Odsunięcie treści spod większego nagłówka */

.content-section {
    padding: 8rem 8%;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-section {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 6rem 8% 10rem;
    min-height: 85vh;
}

.hero-content { flex: 1.2; } /* Tekst zajmuje więcej miejsca niż zdjęcie */
.hero-content .intro-text {
    font-size: 2rem; /* Duży tekst wprowadzający */
    color: #cbd5e1;
    margin-bottom: 4rem;
}

.hero-image { flex: 1; text-align: center; }
.hero-image img {
    width: 100%;
    border-radius: 24px;
    border: 3px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Mocny cień dla głębi */
}

/* Wstęp do sekcji - środkowany tekst */
.section-intro {
    font-size: 1.9rem;
    text-align: center;
    margin: 0 auto 5rem;
    max-width: 900px;
    color: var(--text-muted);
}

/* --- KARTY (GRID) --- */
.services-grid, .pricing-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* Szersze karty */
    gap: 4rem;
}

.service-card, .pricing-card, .portfolio-card {
    background: var(--second-bg-color);
    padding: 4rem; /* Dużo przestrzeni wewnątrz */
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover, .pricing-card:hover, .portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    box-shadow: var(--shadow-glow);
    background: #252f45; /* Lekkie rozjaśnienie przy hover */
}

.service-card i {
    font-size: 5.5rem;
    color: var(--main-color);
    margin-bottom: 2.5rem;
    display: inline-block;
}

.service-card h3 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.service-card p { font-size: 1.7rem; color: #94a3b8; }

/* CENNIK I PORTFOLIO FIX */
.price {
    font-size: 2rem;
    color: #fff;
    margin: 1.5rem 0;
}
.price span {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--main-color);
}
.pricing-features li {
    font-size: 1.7rem; /* Większe punkty listy */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #e2e8f0;
}
.pricing-features li i { font-size: 2.4rem; margin: 0; color: var(--main-color); }

/* --- PRZYCISKI (DUŻE I KLIKALNE) --- */
.cta-buttons { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; }

.btn {
    display: inline-block;
    padding: 1.6rem 4rem; /* Powiększone przyciski */
    background: var(--main-color);
    color: #022c22; /* Ciemny zielony tekst dla kontrastu */
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.btn:hover {
    transform: scale(1.05);
    background: #fff;
    color: var(--main-color);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: none;
}
.btn-secondary:hover {
    border-color: var(--main-color);
    background: var(--main-color);
    color: #000;
}

/* --- BREADCRUMBS --- */
.breadcrumbs { font-size: 1.5rem; color: #64748b; margin-bottom: 2rem; }
.breadcrumbs a { color: #94a3b8; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--main-color); }

/* --- NAP SECTION --- */
.nap-container {
    background: #151e2e;
    border: 2px solid var(--border-color);
    padding: 5rem;
    border-radius: 24px;
    margin-top: 6rem;
    text-align: center;
}
.nap-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin: 3rem 0;
    font-size: 1.8rem;
    font-weight: 500;
}
.nap-item i { color: var(--main-color); margin-right: 1rem; font-size: 2.4rem; vertical-align: middle; }

/* --- STOPKA (WIĘKSZA CZCIONKA) --- */
.footer {
    background: #060b14;
    padding: 8rem 5% 4rem;
    margin-top: 8rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5rem;
}

.footer-section {
    flex: 1 1 280px; /* Minimalna szerokość kolumny */
}

.footer-section h4 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 1rem;
}
.footer-section h4::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 50px; height: 3px; background: var(--main-color);
}

.footer-section p, 
.footer-section li, 
.footer-section a {
    font-size: 1.6rem; /* Czytelna czcionka w stopce */
    color: #94a3b8;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1.7;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--main-color);
    padding-left: 8px;
}

/* Social icons w stopce (jeśli są) */
.footer-social { display: flex; gap: 1.5rem; margin-top: 2rem; }
.footer-social a { font-size: 2.8rem; color: #fff; display: flex;}
.footer-social a:hover { color: var(--main-color); }

/* --- RWD MOBILE FIXES --- */
@media (max-width: 991px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 3.2rem; }
    
    .hero-section {
        flex-direction: column-reverse;
        padding-top: 4rem;
        text-align: center;
    }
    
    .hero-content .intro-text { font-size: 1.8rem; margin: 0 auto 3rem auto; }
    
    .navbar { display: none; }
    #menu-icon { display: block; z-index: 1001; }
    
    .desktop-social { display: none; }
}

@media (max-width: 768px) {
    .header { padding: 1.5rem 2rem; }
    
    .navbar {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: #111827;
        flex-direction: column;
        padding: 3rem 0;
        gap: 0;
        border-bottom: 2px solid var(--main-color);
    }
    
    .navbar.active { display: flex; }
    
    .navbar a {
        display: block;
        padding: 1.5rem;
        text-align: center;
        font-size: 2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin: 0;
    }
    
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
    
    .pricing-card, .service-card { padding: 3rem 2rem; }
}

.calendly-section {
    padding: 6rem 5%;
    text-align: center;
    background: #0f172a;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    margin: 2rem auto;
    border: 1px solid var(--border-color);
}

.floating-calendly {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    cursor: pointer;
    z-index: 9999;
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.floating-calendly i {
    font-size: 30px;
    color: #0f172a;
}

.floating-calendly:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.9);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 768px) {
    .calendly-inline-widget { height: 850px; } /* Wyższy na mobilkach */
    .floating-calendly { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-calendly i { font-size: 24px; }
}

.hero-section {
    position: relative;
    display: flex;
    justify-content: center; /* Wyśrodkowanie poziome */
    align-items: center; /* Wyśrodkowanie pionowe */
    text-align: center; /* Wyśrodkowanie tekstu */
    padding: 14rem 5% 10rem; /* Duży odstęp od góry (pod Header) */
    min-height: 90vh; /* Prawie pełna wysokość ekranu */
    overflow: hidden; /* Ukrywa wystające elementy dekoracyjne */
    background: var(--bg-color);
}

/* Centralny kontener treści */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 1s ease-out; /* Animacja wejścia */
}

/* Dekoracyjne tło - Glow (Poświata) */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 1;
    filter: blur(60px);
    opacity: 0.8;
    animation: pulseGlow 5s infinite alternate;
}

/* Dekoracyjne tło - Siatka (Tech vibe) */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Badge (Mały element nad nagłówkiem) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--main-color);
    animation: pulseDot 2s infinite;
}

/* Nagłówek H1 */
.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 6.5rem); /* Skalowalny font */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -1.5px;
    color: #fff;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--main-color) 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Tekst wprowadzający */
.hero-content .intro-text {
    font-size: clamp(1.6rem, 2vw, 2rem);
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 4rem;
    max-width: 700px; /* Nie za szeroki, żeby się dobrze czytało */
}

/* Przyciski CTA */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.btn-primary-glow {
    background: var(--main-color);
    color: #0f172a; 
    padding: 1.2rem 3.5rem; 
    border-radius: 50px;
    font-size: 1.6rem; 
    font-weight: 600;
    text-transform: none; 
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px solid var(--main-color); 
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    background: #4ade80;
    border-color: #4ade80;
    color: #000;
}

/* Przycisk Drugorzędny (Glass) */
.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 1.6rem 3.5rem;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Sekcja Zaufania */
.hero-trust {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.hero-trust .stars i { color: #fbbf24; font-size: 2rem; margin: 0 2px; }
.hero-trust p { font-size: 1.4rem; color: #64748b; margin: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* Animacje */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Responsywność */
@media (max-width: 768px) {
    .hero-section { padding: 12rem 5% 6rem; min-height: auto; }
    .hero-bg-glow { width: 300px; height: 300px; }
    .cta-buttons { flex-direction: column; gap: 1.5rem; }
    .btn { width: 100%; justify-content: center; }
}

/* --- OPINIE / TESTIMONIALS CAROUSEL --- */

.reviews-section {
    position: relative;
    padding-bottom: 8rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    cursor: pointer;
    margin-top: 1rem;
}
.google-badge:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--main-color);
}
.google-badge i { font-size: 2rem; color: #fff; }
.google-badge .stars { display: flex; gap: 2px; }
.google-badge .stars i { color: #fbbf24; font-size: 1.6rem; }
.google-badge span { font-size: 1.4rem; color: var(--text-color); margin-left: 0.5rem; }

/* Struktura Karuzeli */
.carousel-container {
    position: relative;
    max-width: 900px; /* Szerokość karty z opinią */
    margin: 4rem auto 0;
    padding: 0 50px; /* Miejsce na strzałki */
}

.carousel-track-container {
    overflow: hidden;
    height: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin: 0; padding: 0; list-style: none;
}

.carousel-slide {
    min-width: 100%; /* Jedna opinia na raz */
    padding: 1rem;
}

/* Karta Opinii */
.review-card {
    background: linear-gradient(145deg, var(--second-bg-color), #162032);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--main-color);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-right: 1.5rem;
}

.reviewer-info h4 { margin: 0; font-size: 1.8rem; color: #fff; text-align: left; }
.reviewer-info .review-stars i { color: #fbbf24; font-size: 1.6rem; }

.google-icon {
    margin-left: auto;
    font-size: 3rem;
    color: #cbd5e1;
    opacity: 0.5;
}

.review-text {
    font-size: 1.7rem;
    color: #e2e8f0;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

/* Przyciski Nawigacji (Strzałki) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}
.carousel-btn:hover { background: var(--main-color); color: #000; }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Kropki na dole */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}
.carousel-indicator.current-slide {
    background: var(--main-color);
    transform: scale(1.2);
}

/* RWD */
@media (max-width: 768px) {
    .carousel-container { padding: 0; margin-top: 2rem; }
    .review-card { padding: 2.5rem; }
    .review-text { font-size: 1.5rem; }
    /* Na mobile chowamy strzałki na rzecz kropek lub swipe */
    .carousel-btn { display: none; } 
    .google-icon { font-size: 2.4rem; }
}

/* --- LIVE GOOGLE REVIEWS STYLE --- */
.reviews-section {
    position: relative;
    padding-bottom: 6rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 3rem;
}

.google-badge:hover {
    border-color: var(--main-color);
    background: rgba(34, 197, 94, 0.1);
}

.google-badge i {
    color: #fff;
    font-size: 2rem;
}

.google-badge span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
}

/* Dostosowanie kontenera widgetu, aby nie był za szeroki na dużych ekranach */
.reviews-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 12rem; 
        padding-bottom: 4rem;
        min-height: auto; 
        align-items: flex-start; 
    }

    .hero-content {
        margin-top: 0; 
    }

    .hero-content h1 {
        font-size: 3.2rem; 
        margin-bottom: 1.5rem;
    }

    .hero-content .intro-text {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        gap: 1.5rem;
        width: 100%;
    }

    .btn-primary-glow, .btn-secondary-glass {
        width: 100%;
        padding: 1.4rem 2rem; 
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 2rem;
    }
    
    .hero-badge {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}