/* =========================================
   FRUU CLEAN
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #031426;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(3, 20, 38, 0.90);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Na razie tekstowe logo w menu.
   Później możemy podmienić je na images/logo.png */

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 170px;
    height: auto;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

nav a {
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

nav a:hover {
    color: #00bfff;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(2, 15, 29, 0.94) 0%,
            rgba(2, 15, 29, 0.78) 32%,
            rgba(2, 15, 29, 0.30) 55%,
            rgba(2, 15, 29, 0.05) 100%
        ),
        url("images/hero.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-text {
    max-width: 650px;
}

.eyebrow,
.section-label {
    color: #00bfff;

    text-transform: uppercase;
    letter-spacing: 3px;

    font-size: 13px;
    font-weight: 800;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(46px, 6vw, 82px);

    line-height: 0.98;
    letter-spacing: -3px;

    margin-bottom: 28px;
}

.hero h1 span,
section h2 span {
    color: #00bfff;
}

.hero-description {
    max-width: 590px;

    color: #d6e0ea;

    font-size: 18px;

    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 27px;

    border-radius: 6px;

    font-weight: 800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        #00c8ff,
        #008cff
    );

    color: #ffffff;

    box-shadow:
        0 10px 35px rgba(0, 174, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 40px rgba(0, 174, 255, 0.40);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.05);

    color: #ffffff;
}

.btn-secondary:hover {
    border-color: #00bfff;
    color: #00bfff;
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.services,
.about,
.contact {
    padding: 110px 0;
}

section h2 {
    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 55px;
}


/* =========================================
   SERVICES
   ========================================= */

.services {
    background: #061b30;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    min-height: 285px;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(0, 191, 255, 0.50);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.18);
}

.service-number {
    display: block;

    color: #00bfff;

    font-weight: 900;

    margin-bottom: 45px;
}

.service-card h3 {
    font-size: 24px;

    margin-bottom: 15px;
}

.service-card p {
    color: #aebdca;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
    background: #031426;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about h2 {
    margin-bottom: 0;
}

.about-text {
    font-size: 18px;

    color: #bdc9d4;
}

.about-text p + p {
    margin-top: 22px;
}


/* =========================================
   CONTACT
   ========================================= */

.contact {
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 174, 255, 0.14),
            transparent 55%
        ),
        #061b30;
}

.contact-content {
    max-width: 850px;
}

.contact h2 {
    margin-bottom: 25px;
}

.contact-content > p:not(.section-label) {
    color: #bdc9d4;

    font-size: 18px;

    margin-bottom: 32px;
}
/* =========================
   CONTACT FORM
========================= */

.contact-form {
    width: 100%;
    max-width: 850px;
    margin: 45px auto 30px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00bfff;
    background: rgba(0, 191, 255, 0.08);
}

.form-group select option {
    color: #031426;
    background: #ffffff;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.contact-email {
    margin-top: 25px;
    font-size: 14px;
}

.contact-email a {
    color: #00bfff;
    text-decoration: none;
    font-weight: 700;
}

.contact-email a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 40px 0;

    background: #020d18;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: #8393a2;

    font-size: 14px;
}

.footer-content strong {
    color: #ffffff;
}


/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 800px) {

    .nav {
        min-height: 65px;
    }

    .brand {
        font-size: 20px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 100svh;

        background:
            linear-gradient(
                90deg,
                rgba(2, 15, 29, 0.94) 0%,
                rgba(2, 15, 29, 0.78) 45%,
                rgba(2, 15, 29, 0.35) 100%
            ),
            url("images/hero.png");

        background-size: cover;

        /*
           Dziewczyna znajduje się bardziej po lewej,
           dlatego na telefonie lekko przesuwamy kadr.
        */

        background-position: 43% center;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .services,
    .about,
    .contact {
        padding: 80px 0;
    }

    .service-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 35px;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 580px) {

    .container {
        width: 88%;
    }

    nav a:nth-child(3) {
        display: none;
    }

    nav {
        gap: 11px;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .service-card {
        min-height: auto;
    }
}
/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 700px) {

    .header .nav {
        position: relative;
    }

    .brand img {
        width: 125px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1001;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: center;
        gap: 0;

        background: #031426;
        border-top: 1px solid rgba(255, 255, 255, 0.1);

        padding: 15px 0 20px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 20px;
        text-align: center;
        font-size: 16px;
    }
}
@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content,
    .about-grid,
    .service-grid,
    .contact-content {
        width: 100%;
        max-width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 64px);
        line-height: 0.98;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .service-card h3 {
    font-size: clamp(20px, 6vw, 26px);
    overflow-wrap: break-word;
    hyphens: auto;
}
}