/* =============================================== */
/* USTAWIENIA OGÓLNE I ZMIENNE KOLORÓW             */
/* =============================================== */
:root {
    --primary-color: #d9480f; /* Intensywny pomarańczowy */
    --primary-hover: #c9400a;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #ffffff;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 900;
    line-height: 1.25;
    margin-top: 0;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; text-align: center; margin-bottom: 2rem; }
section { padding: 3rem 1rem; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =============================================== */
/* HERO SECTION & SUWAK "PRZED/PO"                 */
/* =============================================== */

.logo{
    width: 65px;
    border-radius: 17px;
    margin-bottom: 5px;
        
}
.hero-section {
    position: relative;
    width: 100%;
 
 
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.przedpo{
   position: relative;
    height: 325px;
    /* width: 95%; */
    margin: 0 auto;
    margin-left: 25px;
    margin-right: 25px;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.offers-img{
max-width: 100%;
    /* padding-top: 10px; */
    /* padding-bottom: 20px; */
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 11px;
}
.fixed-button{
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding-bottom: 25px;
    padding-top:20px;
 
     background: #f2f4f5bd;
    border-top: 2px solid #e7e8eb;
    backdrop-filter: blur(10px);
    z-index: 13213;
}


.extra-button{
width: 100%;
    height: 33px;
    background: #1c1d29;
    position: absolute;
    bottom: 0;
    z-index: 2131;
    border-radius: 12px;
    text-align: center;
    padding-top: 10px;
    font-size: 13px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.comparison-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(rgb(0 0 0 / 10%), rgb(0 0 0 / 20%));
}

.comparison-item {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}
.go-move2 {
    animation: 1.5s ease-in-out infinite both game-button
}
@-webkit-keyframes game-button {

    0%,
    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05)
    }
}

@-moz-keyframes game-button {

    0%,
    to {
        -moz-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -moz-transform: scale(1.05);
        transform: scale(1.05)
    }
}

@keyframes game-button {

    0%,
    to {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -o-transform: scale(1.05);
        transform: scale(1.05)
    }
}

.comparison-item.top {
    z-index: 1;
}

.inner-index{
    position: relative;
    z-index: 11;
    
            padding-bottom: 2px;
}

.comparison-label {
    position: absolute;
    top: 1rem;
    z-index: 2;
    background-color: rgba(0,0,0,0.7);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-weight: 700;
        font-size: 13px;
}

.comparison-label.before { left: 1rem; }
.comparison-label.after { right: 1rem; }

/* === ZMODYFIKOWANE STYLE SUWAKA === */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 90px; /* Szerokość samej linii */
    transform: translateX(-50%);
    height: 100%;
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
 
 
 
}
.slider-handle::after{
       content: '';
position: absolute;
    width: 2px;
    height: 100%;
        background: #20212482;
    z-index: -1;

}
.slider-grabber {
    position: absolute;
  
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #C25B1C;
    border: 2px solid #C25B1C;
    display: flex;
    rotate: 90deg;
    align-items: center;
    justify-content: center;
    
}
.icon-section{
       position: absolute;
    top: 15px;
    right: 15px;
}
.slider-grabber svg {
    width: 24px;
    height: 24px;
    color:#fff;
}

.hero-content {
    position: relative;
    padding: 1rem;
    padding-top: 35px;
  
}


.lodz{
        color: #c25b1c;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.hero-content h1 {
color: #202124;
    line-height: 1.45;
    font-size: 26px;
}
.icon-header {
  display: flex;
  align-items: center; /* wyśrodkowanie pionowe */
  gap: 16px; /* odstęp między ikoną a tekstem */
}

.icon-flex {
  flex-shrink: 0; /* zapobiega zmniejszaniu ikonki */
}

.logo {
  width: 90px; /* dopasuj do potrzeb */
  height: auto;
}

.text-flex h1 {
  font-size: 24px; /* dopasuj wielkość czcionki */
  margin: 0;
  line-height: 1.3;
  text-align: left;
}


.hero-content .subtitle {
    font-size: 16px;
    /* max-width: 600px; */
    font-weight: 600;
    /* margin: 1rem auto 2rem; */
    margin: 0;
    padding-left:  5px;
 
    /* text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8); */
 color: #5f6368;
    padding-right: 5px;
    padding-bottom: 20px;
}
.hero-content .footer {
    font-size: 14px;
    /* max-width: 600px; */
    font-weight: 600;
    /* margin: 1rem auto 2rem; */
    margin: 0;
    padding-left: 25px;
    color: #000;
    /* text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8); */
    padding-right: 25px;
    padding-bottom: 15px;
}
.hero-content .small-text {
    font-size: 0.9rem;
    margin-top: 25px;
    opacity: 0.9;
}

/* =============================================== */
/* PRZYCISK CTA (WEZWANIE DO DZIAŁANIA)            */
/* =============================================== */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  background-color: #c25b1c;
    color: var(--white-color);
    padding: 15px 0px;
    font-size: 18px;
    font-weight: 700;
    width: 90%;
    text-decoration: none;
    border-radius: 50px;
     
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
 
    z-index: 15;
}

.web-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  background-color: #c25b1c;
    color: var(--white-color);
    padding: 10px 0px;
    font-size: 18px;
    font-weight: 700;
    width: 90%;
    text-decoration: none;
    border-radius: 50px;
     margin-top: 10px;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
 
    z-index: 15;
}
.messenger-button {
  display: block;
  text-align: center;
  background-color: #0084FF;
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 30px;
  margin: 15px auto 0 auto;
  max-width: 300px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.messenger-button:hover {
  background-color: #006FDB;
}
.fb-button {
    position: absolute;
    display: inline-flex;
    width: 110px;
    top: 10px;
    right: 10px;
    align-items: center;
    /* max-width: 100%; */
    justify-content: center;
    background-color: #1877f2;
    color: var(--white-color);
    padding: 4px 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 11px;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 15;
}
.comparison{
        position: absolute;
    left: 0;
    top: 0;
    z-index: 123;
}

.whatsapp{
        position: absolute;
       top: 15px;
    right: 10px;
}
.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}
.cta-button .icon {
width: 25px;
    height: 24px;
    margin-right: 10px;
    margin-left: -10px;
    position: relative;
}

/* =============================================== */
/* SEKCJA KORZYŚCI (BENEFITS)                      */
/* =============================================== */
.benefits { background-color: var(--white-color); }
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.benefit-item {
    text-align: center;
}
.benefit-item .icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* =============================================== */
/* SEKCJA OPINII (TESTIMONIALS)                    */
/* =============================================== */
.testimonials { background-color: var(--light-color); }
.testimonial-item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 0 auto 1.5rem auto;
    max-width: 650px;
}
.testimonial-item blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-color);
}
.testimonial-item cite {
    display: block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--gray-color);
    text-align: right;
}

/* =============================================== */
/* FINAL CTA & FOOTER                              */
/* =============================================== */
.final-cta {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    margin-top:25px;
}
.final-cta h2 { color: var(--white-color); }

footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #e9ecef;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* =============================================== */
/* RESPONSIVE DESIGN (DLA EKRANÓW > 768px)         */
/* =============================================== */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    section { padding: 5rem 2rem; }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}


/* =============================================== */
/* SEKCJA USŁUG (SERVICES)                         */
/* =============================================== */
.services { background-color: var(--light-color); }
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.service-item {
    text-align: center;
    background-color: var(--white-color);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.service-item .icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.service-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}


/* =============================================== */
/* SEKCJA REALIZACJE                               */
/* =============================================== */
.realizacje { background-color: var(--white-color); }
.realizacja-item {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.realizacja-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.realizacja-opis {
     padding: 2rem;
    padding-top: 15px;
    text-align: center;
    padding-bottom: 35px;
    font-size: 16px;
    line-height: 1.72;
}
.realizacja-opis h3 {
    font-size: 22px;
}
.realizacja-opis .cta-button {
    margin-top: 1.5rem;
}


/* =============================================== */
/* SEKCJA MAPY                                     */
/* =============================================== */
.map-section {
    padding-bottom: 40px;
    padding-top: 3rem;
}
.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}


/* =============================================== */
/* POPRAWKI RESPONSIVE                             */
/* =============================================== */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .realizacja-item {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .realizacja-opis {
        padding: 3rem;
    }
}