* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7f9;
    color: #17202a;
}


/* =========================
   HEADER
========================= */

header {
    height: 75px;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #123b5d;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #17202a;
    font-weight: 600;
    transition: 0.2s;
}

nav a:hover {
    color: #1677c8;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    background: linear-gradient(
        135deg,
        #082d4a,
        #123b5d
    );

    color: white;
}

.hero-content {
    width: 100%;
    max-width: 1300px;

    margin: auto;
    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.small-title {
    color: #36a9e1;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 80px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #36a9e1;
}

.description {
    max-width: 650px;

    font-size: 19px;
    line-height: 1.7;

    color: #e4edf3;

    margin-bottom: 35px;
}


/* =========================
   LOGO V HERO
========================= */

.hero-logo {
    flex: 0 0 400px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;

    display: block;

    /* biele pozadie loga zostane čisté */
    border-radius: 50%;
}


/* =========================
   BUTTON
========================= */

.button {
    display: inline-block;

    padding: 16px 28px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.2s;
}

.phone {
    background: #1687d9;
    color: white;
}

.phone:hover {
    background: #0e6eae;
    transform: translateY(-2px);
}


/* =========================
   SERVICES
========================= */

.services {
    padding: 90px 8%;

    text-align: center;

    background: white;
}

.section-small {
    color: #36a9e1;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.services h2,
.contact h2 {
    font-size: 42px;

    margin-bottom: 50px;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1200px;

    margin: auto;
}

.service {
    padding: 35px 25px;

    background: #f5f7f9;

    border-radius: 15px;

    border: 1px solid #e4e8eb;

    transition: 0.2s;
}

.service:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon {
    font-size: 42px;

    margin-bottom: 20px;
}

.service h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.service p {
    color: #64717a;

    line-height: 1.6;
}


/* =========================
   INFO
========================= */

.emergency {
    padding: 90px 20px;

    text-align: center;

    background: #123b5d;

    color: white;
}

.emergency p {
    color: #36a9e1;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.emergency h2 {
    font-size: 42px;

    margin-bottom: 30px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 90px 20px;

    text-align: center;

    background: white;
}

.contact h2 {
    margin-bottom: 25px;
}

.contact p:not(.section-small) {
    font-size: 19px;

    margin: 12px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px;

    text-align: center;

    background: #0b273b;

    color: #b9c8d2;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero-content {
        gap: 30px;
    }

    .hero-logo {
        flex: 0 0 300px;
    }

    .hero-logo img {
        max-width: 300px;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services h2,
    .contact h2,
    .emergency h2 {
        font-size: 32px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    header {
        padding: 0 20px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 6%;

        flex-direction: column;

        text-align: center;

        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .description {
        font-size: 17px;
    }

    .hero-logo {
        flex: none;

        width: 100%;
    }

    .hero-logo img {
        width: 260px;
        max-width: 80%;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .contact {
        padding: 70px 20px;
    }

    .services h2,
    .contact h2,
    .emergency h2 {
        font-size: 32px;
    }

    .emergency {
        padding: 70px 20px;
    }
}