* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17231b;
    line-height: 1.6;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1100px, 94%); 
    /* 
    min(1100px, 90%) 
    ewentualnie #uslugi .container {width: min(2000px, 94%);
    */
    margin: auto;
}


/* =========================
   MENU
========================= */

.header {
    /*tło kolor biały pasek-górny 
    background: #40919400;
    border-bottom: 1px solid #e5e5e5;*/
    
    background: rgb(80, 137, 184);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    
}

.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 0px; /*określa odstęp między elementami znajdującymi się wewnątrz */
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    width: 300px;
    object-fit: contain;
}

.logo span {
    font-family: "Cooper Black", sans-serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.phone-icon {
    color: green;
    margin-right: 9px;
}

nav {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

nav a {
    /*font-weight: 600;*/
    font-family: Raleway 400; 
    font-size: 23px; /*ustawia wielkosć czcionki menu pasek */
    /*color: #333; */

}

nav a:hover {
    color: #24713f;
}

.phone {
    /*background: #1d6137;*/
    color: black;
    padding: 12px 18px;
    border-radius: 8px;
    /*font-weight: bold;*/
    font-size: 25px;
    font-family: Berlin Sans FB;
}

.odstep {
    margin-left: 10px;
}

/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    display: none;
    background: none; /* brak tła */
    color: rgb(48, 47, 47);
    border: none; /* Usuwa obramowanie przycisku. */
    font-size: 32px; /* Ustawia wielkość symbolu */
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 700px;

    display: flex;
    align-items: center;

    color: rgb(246, 250, 246);
        background-size: 120%;
        
        background-position: center;
        background-repeat: no-repeat;
		background-image:url("images/tlo_3.png");
        }

.hero-content {
    max-width: 1000px;
}

.small-title {
    color: #78c48f;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #302f43;
}

.hero-text {
    max-width: 650px;
    font-size: 19px;
    color: #e2ebe4;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.button {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-green {
    background: #ffffff;
    color: #053967;
    margin-left: auto;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: 700;
    

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}
.button-grey {
    background-image: url("images/tlo_przycisku.jpg");
    /*background: #D9D9D9;*/
    color: #050505;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    width: 300px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: 15px;
    vertical-align: top;
    transition: 0.2s ease;
}

.button-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.button-white {
    background: white;
    color: #174d2e;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 40px 0;
}

.section-title {
    max-width: 5000px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.section-title p {
    color: #5094e1;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* =========================
   USŁUGI
========================= */

.services {
    display: grid;
    grid-template-columns: repeat(1fr, 1fr); /* lewa kolumna większa, prawa mniejsza */
    grid-template-rows: 1fr 1fr; /* dwa poziomy */
    grid-template-areas: 
        "duzy prawy" 
        "maly4 prawy";
    gap: 20px;
}


.service {
    border: 1px solid #e2e7e3;
    padding: 30px;
    border-radius: 12px;
    background: white;
}

.service:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.service h3 {
    font-size: 25px;
    margin-bottom: 12px;
    text-align: center;
}

.service p {
    color: #68726b;
    font-size: 16px; /* wielkość czcionki opisów kafelków */
    text-align: center;
}
/* usługi_v2.html 
.uslugi {
    background-image: url("images\20260313_134438_v4.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-position: 10%;

}


*/
/* usługi_v3.html
*/
.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: min(1100px, 94%);     
    gap: 5px;
}
.card {
    margin-top: 30px;
    
}

.przedpo {
    grid-template-columns: repeat(4, 1fr);
}

.card img {
    height: 230px;
    /*margin-left: 5px;
    object-fit: cover;
    /*border-radius: 20px;*/
}


/* =========================
   O NAS
========================= */

.about {
    padding: 90px 0;
    /*background: #0c6c62;*/
    background-image: url("images/tlo_kontakt.jpg");
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    min-height: 500px;
    border-radius: 50px;
    background: #b9d0bd;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    

    color: #315b3c;
}

.about-image img {
    font-size: 70px;
    border-radius: 50px;
    height: 500px;
}

.about-image span {
    font-size: 70px;
}

.about-image p {
    text-align: center;
    font-weight: bold;
}
.about-content  {
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: center;
}

.about-content h3 {
    font-size: 25px;
    line-height: 1.1;
    margin-top: 30px;
    margin-bottom: 18px;
    font-weight: normal;
    text-align: center;
    
}

.about-content  p {
    color: #68726b;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: left;
    text-align: center;
}

.about-content ul {
    list-style: none;
    margin: 25px 0;
}

.about-content li {
    margin-bottom: 10px;
    font-weight: bold;
}

/* =========================
   GALERIA
========================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    min-height: 300px;
    border-radius: 12px;
    background: #cbdacf;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #41634b;
    font-weight: bold;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 80px 0;
    background: #174d2e;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 45px;
    margin-bottom: 10px;
}

.cta p {
    color: #c9ddce;
    margin-bottom: 25px;
}

/* =========================
   KONTAKT
========================= */

.contact {
    background: #f3f6f3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.contact-grid p {
    color: #68726b;
    margin-bottom: 15px;
}

.big-phone {
    display: block;
    font-size: 42px;
    font-weight: bold;
    color: #174d2e;
    margin: 25px 0;
}

.contact-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-box h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #062951;
    color: white;
}

.footer {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    color: #9aa99f;
    font-size: 13px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

    .nav {
        justify-content: flex-start;
        min-height: 80px;
        gap: 10px;
    }

    .logo img {
        width: 150px;
    }

    /* Ukryj telefon w górnym menu */
    .phone {
        display: block;
        /*font-size: 15px;*/
        padding: 8px 10px;
        white-space: nowrap;
    }

    /* Pokaż hamburger */
    .menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }

    /* Ukryj menu */
    #menu {
        display: none;
    }

    /* Pokaż menu po kliknięciu */
    #menu.active {
        display: flex;

        position: absolute;

        top: 105px;
        right: 0;

        width: 220px;

        flex-direction: column;
        gap: 0;

        background: white;

        border-radius: 10px;

        box-shadow: 0 5px 20px rgba(0,0,0,0.15);

        overflow: hidden;

        z-index: 999;
    }

    #menu.active a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .services {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    

    .service:first-child {
        grid-row: auto;
    }

    .service:first-child .service-icon img {
        height: 420px;
    }

    .service:nth-child(2) .service-icon img,
    .service:nth-child(3) .service-icon img {
        height: 180px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        min-height: 350px;
    }
}

/* =========================
   TELEFON
========================= */

@media (width:100%; max-width: 750px) {

    body {
        padding-bottom: 65px;
    }
    .nav {
        gap: 0px;
        min-height: 40px;
    }

    .phone {
    display: block;
    font-size: 15px;
    padding: 8px 12px;
    white-space: nowrap;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-text {
        font-size: 16px;
    }

    .buttons {
        display: grid;
    }

    .button {
        text-align: center;
        width: 71%;
        
    }
    .button-green {
        font-size: 17px;
    }

    .section {
        padding: 35px;
    }

    .section-title h2,
    .about-content h2,
    .contact h2 {
        font-size: 34px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 34px;
    }

    .big-phone {
        font-size: 34px;
    }

    .footer {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 25px 0;
        text-align: center;
    }

    /* Stały przycisk telefonu na telefonie */

    .contact::after {
        content: "📞  ZADZWOŃ PO WYCENĘ";

        position: fixed;

        bottom: 0;
        left: 0;

        width: 100%;
        height: 65px;

        background: #9bd3a8;
        color: #12341e;

        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: bold;

        z-index: 100;
    }
}