/*====================================================
  SOTO SERWIS — style.css
  CZĘŚĆ 1: reset, zmienne, układ, header, hero
======================================================*/

/*====================================================
  RESET
======================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    font-size:16px;
    line-height:1.8;
    color:#555;
    background:#fff;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/*====================================================
  ZMIENNE
======================================================*/

:root{

    --primary:#1565C0;
    --primary-dark:#0D47A1;
    --secondary:#42A5F5;

    --white:#ffffff;
    --light:#F5F8FC;
    --gray:#EDF2F7;

    --heading:#263238;
    --text:#616161;

    --shadow:0 15px 35px rgba(0,0,0,.08);

    --radius:24px;

    --transition:.35s ease;
}

/*====================================================
  UKŁAD
======================================================*/

.container{
    width:90%;
    max-width:1280px;
    margin:auto;
}

section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:14px;
    font-weight:600;
}

.section-title h2{
    font-size:44px;
    color:var(--heading);
    margin:18px 0;
}

.section-title p{
    max-width:760px;
    margin:auto;
    color:var(--text);
}

/*====================================================
  PRZYCISKI
======================================================*/

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 32px;
    background:var(--primary);
    color:#fff;
    border-radius:18px;
    font-weight:600;
    transition:var(--transition);
    box-shadow:var(--shadow);
}

.button:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

.button-light{
    background:#fff;
    color:var(--primary);
}

.button-light:hover{
    background:#f3f7fb;
}

.button i{
    font-size:16px;
}

/*====================================================
  HEADER
======================================================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);
    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

.header .container{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:60px;
    width:auto;
}

.navigation ul{
    display:flex;
    gap:35px;
}

.navigation a{
    position:relative;
    font-weight:500;
    color:var(--heading);
    transition:.3s;
}

.navigation a:hover{
    color:var(--primary);
}

.navigation a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;
}

.navigation a:hover::after{
    width:100%;
}

.navigation a.active{
    color:var(--primary);
}

.navigation a.active::after{
    width:100%;
}

.mobile-menu{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:var(--primary);
}

/*====================================================
  HERO — POPRAWIONY
======================================================*/

.hero{
    position:relative;
    width:92%;
    max-width:1600px;
    margin:120px auto 40px;
    height:620px;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
}

.hero img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center; /* desktop */
    z-index:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
    background:linear-gradient(
        90deg,
        rgba(13,71,161,.82) 0%,
        rgba(13,71,161,.60) 35%,
        rgba(13,71,161,.18) 100%
    );
}

.hero .container{
    position:relative;
    z-index:3;
    max-width:1280px;
}

.hero-top{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:24px;
}

.hero-top span{
    color:#fff;
    padding:8px 18px;
    background:rgba(255,255,255,.18);
    border-radius:50px;
    backdrop-filter:blur(8px);
    font-size:15px;
    font-weight:500;
}

.hero-top i{
    margin-right:8px;
}

.hero h1{
    font-size:60px;
    line-height:1.05;
    color:#fff;
    margin-bottom:22px;
    max-width:520px;
}

.hero h1 span{
    color:#CFE8FF;
}

.hero p{
    color:#fff;
    font-size:22px;
    max-width:560px;
    margin-bottom:32px;
    line-height:1.7;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

/*====================================================
  ANIMACJE
======================================================*/

.fade{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*====================================================
    O NAS
======================================================*/

.about{

    background:#ffffff;

}

.about-content{

    max-width:1050px;
    margin:auto;
    text-align:center;

}

.about-text p{

    margin-bottom:24px;
    font-size:17px;
    color:var(--text);

}

.about-text strong{

    color:var(--heading);

}


/*====================================================
    USŁUGI
======================================================*/

.services{

    background:var(--light);

}

.services-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;

}

.service-card{

    background:#fff;

    padding:45px 35px;

    border-radius:18px;

    box-shadow:0 10px 35px rgba(0,0,0,.06);

    text-align:center;

    transition:.35s;

    border-top:5px solid transparent;

}

.service-card:hover{

    transform:translateY(-10px);

    border-top:5px solid var(--primary);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.service-card i{

    font-size:56px;

    color:var(--primary);

    margin-bottom:25px;

    transition:.35s;

}

.service-card:hover i{

    transform:scale(1.15);

}

.service-card h3{

    color:var(--heading);

    margin-bottom:18px;

    font-size:24px;

}

.service-card p{

    font-size:15px;
    color:var(--text);

}


/*====================================================
    KLIMATYZACJA
======================================================*/

.air{

    background:linear-gradient(
        180deg,
        #F8FBFF,
        #EDF6FF
    );

}

.air-content{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.air-text h2{

    font-size:42px;

    color:var(--heading);

    margin-bottom:25px;

}

.air-text p{

    margin-bottom:18px;

}

.air-list{

    margin-top:30px;

}

.air-list li{

    margin-bottom:15px;

    display:flex;

    align-items:center;

}

.air-list i{

    color:var(--primary);

    margin-right:15px;

    font-size:20px;

}

.air-image img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}


/*====================================================
    DLACZEGO MY
======================================================*/

.features{

    background:#ffffff;

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.feature-card{

    background:#fff;

    padding:40px 30px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.feature-card i{

    width:90px;
    height:90px;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:0 auto 25px;

    border-radius:50%;

    background:#EAF4FF;

    color:var(--primary);

    font-size:38px;

    transition:.35s;

}

.feature-card:hover i{

    background:var(--primary);

    color:#fff;

}

.feature-card h3{

    margin-bottom:15px;

    color:var(--heading);

    font-size:24px;

}

.feature-card p{

    color:var(--text);

}