/* IMPORT CZCIONEK Z PEŁNYM WSPARCIEM DLA PL ZNAKÓW */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700;900&family=Inter:wght@400;700;800&display=swap&subset=latin-ext');

:root {
    --primary: #c41e1e;
    --bg: #050505;
    --card: #111111;
    --text: #ffffff;
    --text-dim: #b0b0b0;
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET I PODSTAWY */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* NAWIGACJA */
#navbar {
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border); 
    padding: 10px 0;
    transition: var(--transition);
}

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

.nav-logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-small { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: #fff; 
    box-shadow: inset 0 0 0 4px #c41e1e; 
    object-fit: cover; 
    display: block;
    transition: var(--transition);
}

.nav-brand { 
    font-family: 'Exo 2', sans-serif; 
    font-size: 1.3rem; 
    color: #fff; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.nav-brand span { color: var(--primary); }

.nav-menu { display: flex; gap: 5px; }

.nav-btn {
    text-decoration: none; 
    color: #fff; 
    font-size: 0.75rem; 
    font-weight: 700;
    text-transform: uppercase; 
    padding: 8px 15px; 
    border-radius: 4px; 
    transition: var(--transition);
}

.nav-btn:hover, .nav-btn.active { 
    background: var(--primary); 
    transform: translateY(-2px); 
}

/* HERO SECTION */
.hero-main {
    min-height: 100vh; 
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('img/tlo.jpg') center/cover no-repeat;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 120px 5% 60px;
}

.hero-logo-top {
    width: 140px; 
    height: 140px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 8px #c41e1e;
    margin-bottom: 25px;
    object-fit: cover;
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-content h1 { 
    font-family: 'Exo 2', sans-serif; 
    font-size: clamp(2.2rem, 8vw, 5.5rem); 
    text-transform: uppercase; 
    font-weight: 900; 
    line-height: 1.1; 
}

.hero-content h1 span { 
    color: var(--primary); 
    text-shadow: 0 0 30px rgba(196, 30, 30, 0.4); 
}

.hero-content p { 
    color: var(--primary); 
    font-weight: 800; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    margin-bottom: 30px; 
}

.hero-btns { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

/* WSPÓLNY STYL PRZYCISKÓW W HERO */
.cta-btn, .btn-call, .btn-opinie {
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    min-width: 200px;
}

.cta-btn { 
    background: var(--primary); 
    color: #fff; 
    border: 2px solid var(--primary);
    box-shadow: 0 10px 20px rgba(196, 30, 30, 0.2); 
}

.btn-call { 
    background: transparent; 
    color: #fff; 
    border: 2px solid #fff; 
}

.btn-opinie {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
}

.cta-btn:hover { 
    transform: scale(1.05); 
    box-shadow: 0 15px 30px rgba(196, 30, 30, 0.4); 
}

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

.btn-opinie:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(196, 30, 30, 0.3);
}

/* SEKCJE OGÓLNE */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 100px 5% 60px; 
}

.section-header, .services-heading {
    text-align: center; 
    font-family: 'Exo 2', sans-serif; 
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-transform: uppercase; 
    margin-bottom: 40px; 
    font-weight: 900;
}

.section-header span, .services-heading span { color: var(--primary); }

.page-card { 
    background: var(--card); 
    padding: 40px; 
    border-radius: 16px; 
    border: 1px solid var(--border); 
    margin-bottom: 25px; 
    transition: var(--transition); 
}

/* SIATKA USŁUG */
.services-square-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    padding: 0 5% 80px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.square-tile {
    position: relative; 
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    border: 1px solid var(--border); 
    border-radius: 12px; 
    cursor: pointer;
    transition: var(--transition);
}

.tile-bg { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1); 
}

.tile-overlay {
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 25px; 
    z-index: 2;
}

.square-tile:hover .tile-bg { transform: scale(1.1); }
.square-tile:hover { border-color: var(--primary); }

/* KONTAKT - KARTY */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-item {
    text-align: center;
    padding: 50px 20px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-icon { font-size: 3rem; margin-bottom: 15px; }
.contact-link { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: #fff; 
    text-decoration: none; 
}

/* ================================================= */
/* NOWOCZESNA SEKCJA OPINII GOOGLE - SLIDER */
/* ================================================= */
.google-reviews-container { 
    padding-bottom: 80px; 
}

.google-summary {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    color: #3c4043;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.g-brand { display: flex; flex-direction: column; gap: 5px; font-weight: 700; color: #70757a; font-size: 0.8rem; }
.g-brand img { width: 75px; }

.g-stats { display: flex; align-items: center; gap: 20px; }
.big-rating { font-size: 3.8rem; font-weight: 800; color: #202124; line-height: 1; }
.g-stars { color: #fbbc05; font-size: 1.3rem; letter-spacing: 2px; }
.g-count { font-size: 0.9rem; color: #70757a; margin-top: 5px; font-weight: 500; }

.g-write-btn {
    background: #1a73e8;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid #1a73e8;
}
.g-write-btn:hover { background: #1765cc; transform: scale(1.05); }

/* MECHANIZM SLIDERA */
.reviews-slider {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0 40px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
}

.reviews-slider::-webkit-scrollbar {
    display: none; 
}

.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 10px;
}

.g-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    color: #3c4043;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px; 
    scroll-snap-align: start;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.g-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(196, 30, 30, 0.15); }

.g-user { display: flex; align-items: center; gap: 15px; }
.g-avatar {
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.3rem;
    text-transform: uppercase;
}

.g-user-info { display: flex; flex-direction: column; line-height: 1.4; }
.g-user-info strong { color: #202124; font-size: 1rem; }
.g-user-info span { color: #70757a; font-size: 0.8rem; }

.g-meta { display: flex; align-items: center; gap: 10px; }
.g-date { color: #70757a; font-size: 0.85rem; }

.g-text { font-size: 0.95rem; line-height: 1.7; color: #3c4043; font-weight: 400; }

.slider-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* STOPKA */
.footer { 
    background: #000; 
    padding: 60px 5% 40px; 
    border-top: 1px solid var(--border); 
}

.footer-cols { 
    max-width: 1300px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
}

.footer-h { 
    color: var(--primary); 
    margin-bottom: 20px; 
    font-size: 1rem; 
    text-transform: uppercase; 
}

.footer-text { 
    color: var(--text-dim); 
    font-size: 0.9rem; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 10px; 
}

.fb-btn { 
    display: inline-block; 
    background: #1877F2; 
    color: #fff; 
    padding: 12px 20px; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 700; 
}

/* COOKIE BAR */
.cookie-bar {
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 90%; 
    max-width: 600px; 
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid var(--primary); 
    padding: 15px 20px; 
    border-radius: 12px;
    display: none; 
    align-items: center; 
    z-index: 10000; 
    backdrop-filter: blur(10px);
}

.cookie-btn { 
    background: var(--primary); 
    color: #fff; 
    border: none; 
    padding: 8px 15px; 
    cursor: pointer; 
    border-radius: 4px;
    font-weight: 800;
}

/* ANIMACJA REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* MODAL - OKIENKO USŁUG */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card);
    border: 1px solid var(--primary);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(196, 30, 30, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.modal-content h3 {
    color: var(--primary);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-content p {
    color: var(--text-dim);
    margin-bottom: 25px;
    line-height: 1.8;
}

.read-more-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary);
    transition: var(--transition);
}

.read-more-link:hover {
    letter-spacing: 1px;
    color: #fff;
    border-color: #fff;
}

/* PRZYCISK WIĘCEJ USŁUG W GRIDZIE */
.more-services-link {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.btn-more {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: 0.3s;
}

.btn-more:hover {
    opacity: 1;
    color: var(--primary);
}

/* POPRAWKI DLA uslugi.html */
.service-icon-box {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.page-card h2 {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 20px;
}

/* =========================================== */
/* MOBILE / TABLET OPTIMIZATION (RESPONSIVE) */
/* =========================================== */

@media (max-width: 1024px) {
    .services-square-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
    .google-summary { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-main { padding-top: 80px; }
    .hero-logo-top { width: 100px; height: 100px; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .cta-btn, .btn-call, .btn-opinie { width: 100%; text-align: center; }
    .container { padding: 80px 5% 40px; }
    .page-card { padding: 25px; }
    .g-card { width: 280px; } 
}

@media (max-width: 600px) {
    .services-square-grid { grid-template-columns: 1fr; }
    .contact-link { font-size: 1.1rem; }
    .section-header { font-size: 1.8rem; }
    .cookie-bar { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
        bottom: 10px; 
    }
}