:root{
    --yellow:#FFE223;
    --yellow-dark:#e0c81d;
    --graphite:#111827;
    --graphite-light:#1f2937;
    --white:#ffffff;
    --light:#f8f9fb;
    --gray:#6b7280;

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:var(--graphite);
    background:#fff;
    line-height:1.7;
}

/* HEADER */

header{
    position:sticky;
    top:0;
    z-index:1000;

    background:#fff;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

    padding:18px 8%;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:1.5rem;
    font-weight:700;
    color:var(--graphite);
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:var(--graphite);
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:var(--yellow-dark);
}

/* HERO */

.hero{
    min-height:85vh;

    background:
    linear-gradient(
        rgba(255,226,35,.95),
        rgba(224,200,29,.95)
    );

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

    text-align:center;

    padding:50px 30px;
}

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

.hero h1{
    font-size:3.5rem;
    line-height:1.15;
    color:var(--graphite);
    margin-bottom:20px;
}

.hero p{
    font-size:1.2rem;
    color:#222;
    margin-bottom:35px;
}

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

/* BUTTONS */

.btn{
    display:inline-block;

    background:var(--graphite);
    color:var(--yellow);

    padding:14px 30px;

    border-radius:6px;

    text-decoration:none;
    font-weight:600;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    background:#000;
    color:#fff;
}

.btn-secondary{
    background:#fff;
    color:var(--graphite);
    border:2px solid var(--graphite);
}

.btn-secondary:hover{
    background:var(--graphite);
    color:#fff;
}

/* SECTIONS */

section{
    padding:100px 8%;
}

section h2{
    text-align:center;
    margin-bottom:50px;
    font-size:2.3rem;
    color:var(--graphite);
}

/* STATS */

.stats{
    background:var(--graphite);

    color:#fff;

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

    gap:30px;

    text-align:center;
}

.counter{
    font-size:3rem;
    font-weight:700;
    color:var(--yellow);
}

.counter-box p{
    color:#d1d5db;
    font-size:1rem;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* CARDS */

.card{
    background:#fff;

    border-top:5px solid var(--yellow);

    border-radius:12px;

    padding:35px;

    box-shadow:var(--shadow);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.icon{
    width:70px;
    height:70px;

    background:var(--yellow);

    border-radius:50%;

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

    font-size:30px;

    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:var(--gray);
}

/* REALIZACJE */

#realizacje{
    background:var(--light);
}

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

.photo{
    height:260px;

    background-size:cover;
    background-position:center;

    border-radius:12px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.4s;
}

.photo:hover{
    transform:scale(1.03);
}

/* DLACZEGO MY */

.section-light{
    background:#fffef4;
}

/* KONTAKT */

#kontakt{
    background:var(--graphite);
    color:#fff;
}

#kontakt h2{
    color:#fff;
}

.contact-box{
    text-align:center;
    margin-bottom:40px;
}

.contact-box h3{
    color:var(--yellow);
    margin-bottom:15px;
    font-size:1.8rem;
    font-weight:600;
}

.contact-box h3::after{
    content:"";
    display:block;
    width:80px;
    height:3px;
    background:var(--yellow);
    margin:15px auto 0;
}

.contact-subtitle{
    color:#d1d5db;
    margin-bottom:25px;
    font-size:1rem;
    letter-spacing:1px;
}

.contact-box p{
    margin:12px 0;
    font-size:1.15rem;
}

.contact-box a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.contact-box a:hover{
    color:var(--yellow);
}

/* FORMULARZ */

form{
    max-width:700px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea{
    padding:16px;

    border:2px solid #000;

    border-radius:8px;

    font-family:inherit;
    font-size:16px;

    background:#fff;
    color:#111827;
}

input::placeholder,
textarea::placeholder{
    color:#6b7280;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:var(--yellow);
    box-shadow:0 0 0 4px rgba(255,226,35,.25);
}

textarea{
    min-height:180px;
    resize:vertical;
}

button{
    border:none;
    cursor:pointer;
}

/* FOOTER */

footer{
    background:#000;
    color:var(--yellow);

    text-align:center;

    padding:40px 20px;
}

footer p{
    margin:8px 0;
}

/* MOBILE MENU */

.mobile-menu-btn{
    display:none;
}

/* RESPONSIVE */

@media(max-width:768px){

    .hero h1{
        font-size:2.2rem;
    }

    .hero p{
        font-size:1rem;
    }

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

    .mobile-menu-btn{
        display:block;
        font-size:28px;
        cursor:pointer;
    }

    nav{
        display:none;

        position:absolute;

        top:75px;
        left:0;

        width:100%;

        background:#fff;

        flex-direction:column;

        padding:20px;

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

    nav.active{
        display:flex;
    }

    section{
        padding:70px 20px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn{
        width:100%;
        max-width:300px;
        text-align:center;
    }
}