/* =========================
   RefreshMS - STYLE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg: #080808;
    --bg2: #111;
    --card: #171717;
    --green: #39ff88;
    --green-dark: #19b85a;
    --white: #ffffff;
    --gray: #b8b8b8;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}


/* =========================
 HEADER
========================= */


.header {

    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    position: fixed;
    top: 0;

    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(15px);

    z-index: 1000;

}



.logo {

    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;

}


.logo span {

    color: var(--green);

}



nav {

    display: flex;
    gap: 35px;

}



nav a {

    color: white;
    font-size: 15px;

    transition: .3s;

}


nav a:hover {

    color: var(--green);

}



.nav-btn {

    background: var(--green);
    color: black;

    padding: 12px 25px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s;

}


.nav-btn:hover {

    transform: scale(1.05);
    background:white;

}




/* =========================
 HERO
========================= */


.hero {
    min-height: 100vh;
    padding: 150px 8% 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}




.hero-content {

    max-width: 900px;

}



.hero h1 {

    font-size: clamp(45px,6vw,75px);

    line-height: 1.1;

    font-weight: 800;

}



.hero h1 span {

    color: var(--green);

}



.hero p {

    margin-top: 25px;

    color: var(--gray);

    font-size: 19px;

    max-width: 550px;

}



.hero-buttons {

    display:flex;

    gap:20px;

    margin-top:40px;

}



.main-btn,
.second-btn {


    padding:16px 35px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

}



.main-btn {

    background:var(--green);

    color:black;

}



.second-btn {

    border:2px solid var(--green);

    color:white;

}



.main-btn:hover,
.second-btn:hover {

    transform:translateY(-5px);

}





.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
}

.logo-text h2{
    font-size:30px;
    color:#39ff88;
    margin:0;
}

.logo-text small{
    color:#aaa;
    letter-spacing:2px;
}

/* =========================
 SEKCJE
========================= */


section {

    padding:100px 8%;

}



.section-title {

    text-align:center;

    margin-bottom:60px;

}


.section-title h2 {

    font-size:45px;

}


.section-title p {

    color:var(--gray);

    margin-top:15px;

}



/* =========================
 ABOUT
========================= */


.about-boxes {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.box {


    background:var(--card);

    padding:40px 30px;

    border-radius:25px;

    text-align:center;

    transition:.4s;

}



.box:hover {

    transform:translateY(-10px);

}



.box i {

    font-size:45px;

    color:var(--green);

    margin-bottom:25px;

}



.box h3 {

    margin-bottom:15px;

}



/* =========================
 USŁUGI
========================= */


.services {

    background:#0d0d0d;

}



.service-grid {


    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;


}



.service-card {


    background:var(--card);

    padding:35px;

    border-radius:25px;

    transition:.3s;

}



.service-card:hover {


    border:1px solid var(--green);

    transform:translateY(-8px);


}



.service-card i {

    font-size:40px;

    color:var(--green);

    margin-bottom:25px;

}



.service-card h3 {

    margin-bottom:15px;

}



.service-card p {

    color:var(--gray);

    line-height:1.7;

}



/* =========================
 GALERIA
========================= */


.gallery-grid {


    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;


}



.gallery-item {


    height:250px;

    background:#151515;

    border-radius:25px;

    border:2px dashed #333;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#777;

    transition:.3s;

}



.gallery-item:hover {

    border-color:var(--green);

}




/* =========================
 KONTAKT
========================= */


.contact {

    background:#0d0d0d;

}



.contact-box {


    max-width:700px;

    margin:auto;

    background:var(--card);

    padding:45px;

    border-radius:30px;

}



.contact-box h3 {


    font-size:35px;

    color:var(--green);

    margin-bottom:25px;

}



.contact-box p {

    margin:20px 0;

    color:#ddd;

}



.contact-box a:hover {

    color:var(--green);

}





/* =========================
 FOOTER
========================= */


footer {


    padding:30px;

    text-align:center;

    background:#050505;

    color:#777;


}




/* =========================
 MOBILE
========================= */


@media(max-width:1000px){


.header {

    padding:0 5%;

}


nav {

    display:none;

}



.hero {

    flex-direction:column;

    text-align:center;

}



.hero-image {

    width:100%;

    max-width:450px;

}


.hero-buttons {

    justify-content:center;

}



.about-boxes,
.service-grid {

    grid-template-columns:1fr;

}



.gallery-grid {

    grid-template-columns:1fr 1fr;

}


}



@media(max-width:600px){


.logo {

    font-size:25px;

}



.nav-btn {

    padding:10px 15px;

}



.hero {

    padding-top:130px;

}



.hero-buttons {

    flex-direction:column;

}



.gallery-grid {

    grid-template-columns:1fr;

}



.section-title h2 {

    font-size:35px;

}



}


/* =========================
   ANIMACJE
========================= */


.hidden {

    opacity:0;

    transform:translateY(40px);

    transition:1s;

}



.show {

    opacity:1;

    transform:translateY(0);

}