/* ===========================
   EL-INSTALL
   STYLE.CSS
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f7f7;

    color:#222;

    line-height:1.6;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ===========================
HEADER
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#0c2446;

    z-index:999;

    box-shadow:0 4px 10px rgba(0,0,0,.2);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo{

    color:#FFD54A;

    font-size:30px;

    font-weight:700;

}

.logo i{

    margin-right:8px;

}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    color:white;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#FFD54A;

}

.menu-btn{

    display:none;

    color:white;

    font-size:30px;

    cursor:pointer;

}

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

.hero{

    height:100vh;

    background:url(images/hero.jpg);

    background-size:cover;

    background-position:center;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:5;

    text-align:center;

    color:white;

    width:90%;

    max-width:900px;

}

.hero h1{

    font-size:60px;

    margin-bottom:20px;

}

.hero p{

    font-size:22px;

    margin-bottom:35px;

}

.btn{

    display:inline-block;

    padding:16px 40px;

    background:#FFD54A;

    color:#222;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(0,0,0,.3);

}

/* ===========================
SEKCJE
=========================== */

section{

    padding:100px 0;

}

h2{

    text-align:center;

    font-size:40px;

    margin-bottom:60px;

    color:#0c2446;

}

.about{

    background:white;

}

.about p{

    max-width:900px;

    margin:0 auto 50px;

    text-align:center;

    font-size:18px;

}

.about-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.about-grid div{

    background:#fafafa;

    padding:40px;

    text-align:center;

    border-radius:12px;

    transition:.4s;

}

.about-grid div:hover{

    transform:translateY(-10px);

}

.about-grid i{

    font-size:50px;

    color:#FFD54A;

    margin-bottom:20px;

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

.services{

    background:#f4f6f9;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

    background:white;

    border-radius:18px;

    padding:40px 30px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.card i{

    font-size:58px;

    color:#FFD54A;

    margin-bottom:25px;

}

.card h3{

    margin-bottom:15px;

    color:#0c2446;

    font-size:24px;

}

.card p{

    color:#666;

    font-size:16px;

}

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

.gallery{

    background:white;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:20px;

}

.gallery-grid img{

    border-radius:12px;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.gallery-grid img:hover{

    transform:scale(1.04);

}

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

.contact{

    background:#0c2446;

    color:white;

}

.contact h2{

    color:white;

}

form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

input,

textarea{

    padding:18px;

    border:none;

    border-radius:8px;

    font-size:16px;

    font-family:Poppins,sans-serif;

}

textarea{

    min-height:180px;

    resize:vertical;

}

button{

    background:#FFD54A;

    color:#111;

    border:none;

    padding:18px;

    font-size:18px;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

    font-weight:600;

}

button:hover{

    background:#ffca1a;

}

.contact-info{

    margin-top:50px;

    text-align:center;

}

.contact-info p{

    margin:12px;

    font-size:18px;

}

/* ======================================
STOPKA
====================================== */

footer{

    background:#071528;

    color:white;

    text-align:center;

    padding:35px;

}

/* ======================================
ANIMACJE
====================================== */

.card,

.about-grid div,

.gallery-grid img{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.show{

    opacity:1!important;

    transform:translateY(0)!important;

}

/* ======================================
RESPONSYWNOŚĆ
====================================== */

@media(max-width:992px){

.hero h1{

font-size:46px;

}

.about-grid{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

nav{

display:none;

}

.menu-btn{

display:block;

}

.hero h1{

font-size:36px;

}

.hero p{

font-size:18px;

}

h2{

font-size:32px;

}

section{

padding:70px 0;

}

.cards{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

}

@media(max-width:480px){

.logo{

font-size:24px;

}

.hero{

padding:20px;

}

.hero h1{

font-size:30px;

}

.hero p{

font-size:16px;

}

.btn{

display:block;

width:100%;

text-align:center;

}

}
