* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f4f4f1;
    color: #151515;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}


:root {

    --black: #111111;
    --dark: #191919;
    --dark2: #222222;

    --white: #ffffff;

    --grey: #777777;
    --light: #f4f4f1;

    --orange: #EF7F1A;

    --border: #ddddda;

    --container: 1280px;
}


.container {

    width: min(
        var(--container),
        calc(100% - 80px)
    );

    margin: 0 auto;
}


.section {
    padding: 120px 0;
}


.about,
.services,
.references {
    border-bottom: 1px solid #d8d8d4;
}


.eyebrow {

    color: var(--orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 20px;
}


.section-heading {

    max-width: 720px;

    margin-bottom: 65px;
}


.section-heading h2,
.about-content h2,
.contact-header h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        40px,
        5vw,
        68px
    );

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;
}


.section-heading h2 span,
.about-content h2 span,
.contact-header h2 span {

    display: block;

    color: #888;
}


.section-heading p {

    max-width: 600px;

    color: var(--grey);

    margin-top: 25px;
}


/* HEADER */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    color: white;

    transition: .3s ease;
}


.header.scrolled {

    background: rgba(
        17,
        17,
        17,
        .96
    );

    backdrop-filter: blur(15px);
}


.nav {

    min-height: 90px;

    display: flex;

    align-items: center;

    gap: 40px;
}


.logo {

    display: flex;

    align-items: center;
}


.logo img {

    display: block;

    width: 250px;

    height: auto;
}


.navigation {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 32px;
}


.navigation a {

    font-size: 12px;

    font-weight: 600;

    color: #ddd;

    transition: .2s;
}


.navigation a:hover {
    color: var(--orange);
}


.menu-toggle {

    display: none;

    border: 0;

    background: none;

    width: 35px;

    cursor: pointer;
}


.menu-toggle span {

    display: block;

    height: 2px;

    margin: 6px 0;

    background: white;
}


/* BUTTON */

.button {

    min-height: 54px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .5px;

    transition: .25s;
}


.button span {
    font-size: 18px;
}


.button-primary {

    background: var(--orange);

    color: #111;
}


.button-primary:hover {

    background: white;

    transform: translateY(-2px);
}


.button-outline {

    border: 1px solid rgba(
        255,
        255,
        255,
        .4
    );

    color: white;
}


.button-outline:hover {

    background: white;

    color: #111;
}


/* HERO */

.hero {

    min-height: 850px;

    height: 100vh;

    max-height: 1000px;

    position: relative;

    display: flex;

    align-items: center;

    color: white;

    background: #111;

    overflow: hidden;
}


.hero-background {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.55),
            rgba(0,0,0,.15)
        ),

        url("images/hero.jpg")
        center / cover no-repeat;

    transform: scale(1.03);
}


.hero-content {

    position: relative;

    z-index: 2;
}


.hero-text {
    max-width: 800px;
}


.hero h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        55px,
        7vw,
        95px
    );

    line-height: .96;

    letter-spacing: -5px;

    font-weight: 800;
}


.hero h1 span {

    display: block;

    color: #999;
}


.hero p {

    max-width: 620px;

    color: #ccc;

    font-size: 18px;

    margin: 30px 0;
}


.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 35px;
}


/* HLAVNÍ BENEFITY */

.hero-features {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 50px;
}


.hero-features div {

    padding: 0;

    border: 0;
}


.hero-features span {

    display: block;

    color: #fff;

    font-size: 25px;

    font-weight: 100;

    margin-top: 1px;
}


/* SCROLL */

.hero-scroll {

    position: absolute;

    right: 40px;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 15px;

    color: #888;

    font-size: 9px;

    letter-spacing: 2px;
}


.hero-scroll div {

    width: 50px;

    height: 1px;

    background: #666;
}


/* O NÁS */

.about {
    background: #e8e8e4;
}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.about-image {
    position: relative;
}


.about-image img {

    height: 600px;

    object-fit: cover;

    filter: grayscale(100%);
}


.about-badge {

    position: absolute;

    right: -30px;

    bottom: 30px;

    width: 150px;

    height: 150px;

    background: var(--orange);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.about-badge img {

    display: block;

    width: 100%;

    height: auto;

    max-height: 100%;

    object-fit: contain;
}


.about-content p {

    max-width: 560px;

    color: #666;

    margin-top: 25px;
}


/* O NÁS – ŠEDÉ ČTVEREČKY */

.about-stats {

    display: flex;

    gap: 15px;

    margin-top: 50px;
}


.about-stats div {

    min-width: 150px;

    min-height: 100px;

    padding: 20px;

    background: #d8d8d4;

    display: flex;

    align-items: center;

    justify-content: center;
}


.about-stats span {

    display: block;

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.15;

    text-align: center;

    color: #222;
}


/* SLUŽBY */

.services {
    background: var(--light);
}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);
}


.service-card {

    min-height: 380px;

    padding: 40px;

    position: relative;

    overflow: hidden;

    color: white;

    background-color: #222;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    display: flex;

    flex-direction: column;
}


.service-topeni {

    background-image:

        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.78)
        ),

        url("images/sluzby-topeni.jpg");
}


.service-voda {

    background-image:

        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.78)
        ),

        url("images/sluzby-voda.jpg");
}


.service-plyn {

    background-image:

        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.78)
        ),

        url("images/sluzby-plyn.jpg");
}


.service-cerpadla {

    background-image:

        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.78)
        ),

        url("images/sluzby-tepelna-cerpadla.jpg");
}


.service-card-content {

    margin-top: auto;

    max-width: 520px;

    transform: translateY(20px);
}


.service-card h3 {

    font-family: "Manrope", sans-serif;

    font-size: 36px;

    line-height: 1.05;

    margin-bottom: 15px;

    color: var(--orange);
}


.service-card p {

    max-width: 450px;

    color: #ddd;

    font-size: 14px;

    margin: 0 0 28px;
}


.service-card a {

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    color: white;

    transition: .2s;
}


.service-card a:hover {
    color: var(--orange);
}


/* REFERENCE */

.references {
    background: #f4f4f1;
}


.gallery {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 300px;

    gap: 5px;
}


.gallery-item {

    position: relative;

    overflow: hidden;

    cursor: pointer;
}


.gallery-item.large {
    grid-row: span 2;
}


.gallery-item img {

    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transition: .6s;
}


.gallery-item:hover img {

    transform: scale(1.07);

    filter: grayscale(0);
}


.gallery-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 25px;

    color: white;

    background:

        linear-gradient(
            transparent 40%,
            rgba(0,0,0,.9)
        );
}


.gallery-overlay span {

    color: var(--orange);

    font-size: 18px;

    font-weight: 800;

    line-height: 1;

    margin-bottom: 5px;
}


.gallery-overlay h3 {

    font-family: "Manrope", sans-serif;

    font-size: 20px;
}


/* CERTIFIKACE */

.certifications {

    padding: 80px 0;

    background: var(--orange);

    border-bottom: 0;
}


.certifications .eyebrow {
    color: #111;
}


.certifications h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        42px,
        5vw,
        68px
    );

    line-height: 1;

    letter-spacing: -3px;

    color: #111;
}


.certifications h2 span {

    display: block;

    color: #ffffff;
}


.certifications p {

    color: #111;

    margin-top: 15px;
}


/* KONTAKT */

.contact {

    padding: 110px 0;

    background: #191919;

    color: white;
}


.contact-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    padding-bottom: 70px;

    border-bottom: 1px solid #333;
}


.contact-header .eyebrow {
    font-size: 11px;
}


.contact-header > div:first-child > p {

    margin-top: 30px;

    color: #bbb;
}


/* VELKÁ TELEFONNÍ ČÍSLA */

.contact-phones {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 12px;
}


.contact-phone {

    display: flex;

    flex-direction: column;

    align-items: flex-end;
}


.contact-phones a {

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        25px,
        4vw,
        50px
    );

    font-weight: 700;

    line-height: 1.05;
}


.contact-phone span {

    color: #777;

    font-size: 15px;

    margin-top: 5px;
}


.contact-phones a:hover {
    color: var(--orange);
}


.contact-details {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 50px;

    padding-top: 55px;
}


.contact-details span {

    display: block;

    color: #777;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.contact-details a,
.contact-details p {

    color: #ddd;

    font-size: 14px;
}


.contact-details a {

    display: block;

    margin-bottom: 5px;
}


.contact-details a:hover {
    color: var(--orange);
}


/* FOOTER */

.footer {

    background: #0d0d0d;

    color: white;

    padding: 70px 0 25px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 70px;
}


.footer-brand p {

    max-width: 330px;

    color: #666;

    font-size: 13px;

    margin-top: 20px;
}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-column h4 {

    color: var(--orange);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.footer-column a,
.footer-column p {

    color: #777;

    font-size: 12px;
}


.footer-column a:hover {
    color: white;
}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #222;

    margin-top: 60px;

    padding-top: 20px;

    color: #555;

    font-size: 10px;
}


.footer-bottom a {

    color: inherit;

    transition: .2s;
}


.footer-bottom a:hover {
    color: var(--orange);
}


/* LIGHTBOX */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 3000;

    background: rgba(
        0,
        0,
        0,
        .95
    );

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: .3s ease;
}


.lightbox.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.lightbox-content {

    max-width: 1100px;

    width: 100%;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


.lightbox-content img {

    max-width: 100%;

    max-height: 80vh;

    width: auto;

    object-fit: contain;
}


.lightbox-caption {

    color: white;

    font-size: 13px;

    margin-top: 15px;

    text-align: center;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {

    position: absolute;

    border: 0;

    background: none;

    color: white;

    cursor: pointer;

    z-index: 5;

    transition: .2s;
}


.lightbox-close {

    top: 20px;

    right: 30px;

    font-size: 45px;

    font-weight: 300;
}


.lightbox-prev {

    left: 30px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 70px;
}


.lightbox-next {

    right: 30px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 70px;
}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {

    color: var(--orange);
}


/* SCROLL ANIMACE */

.service-card,
.gallery-item,
.about-image,
.about-content {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.visible {

    opacity: 1;

    transform: translateY(0);
}


/* TABLET */

@media (max-width: 1050px) {

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 11px;
    }

    .about-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


/* MOBIL */

@media (max-width: 800px) {

    .container {
        width: calc(100% - 40px);
    }


    .section {
        padding: 80px 0;
    }


    .nav {
        min-height: 75px;
    }


    .logo img {
        width: 190px;
    }


    .menu-toggle {

        display: block;

        margin-left: auto;

        position: relative;

        z-index: 20;
    }


    .navigation {

        position: fixed;

        top: 75px;

        right: 20px;

        left: 20px;

        bottom: auto;

        background: rgba(
            17,
            17,
            17,
            .94
        );

        backdrop-filter: blur(12px);

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        gap: 0;

        padding: 10px 25px;

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;

        border: 1px solid rgba(
            255,
            255,
            255,
            .08
        );
    }


    .navigation.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }


    .navigation a {

        width: 100%;

        padding: 15px 10px;

        text-align: center;

        font-size: 18px;

        color: #ddd;

        border-bottom: 1px solid rgba(
            255,
            255,
            255,
            .16
        );
    }


    .navigation a:last-child {
        border-bottom: 0;
    }


    .navigation a:hover {
        color: var(--orange);
    }


    .hero {
        min-height: 720px;
    }


    .hero h1 {

        font-size: 53px;

        letter-spacing: -3px;
    }


    .hero p {
        font-size: 15px;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }


    .hero-features {

        gap: 8px;

        margin-top: 40px;
    }


    .hero-features span {
        font-size: 18px;
    }


    .hero-scroll {
        display: none;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }


    .about-image img {
        height: 450px;
    }


    .about-badge {

        right: 15px;

        bottom: 20px;
    }


    .about-stats {
        gap: 10px;
    }


    .about-stats div {

        min-width: 0;

        flex: 1;

        min-height: 90px;

        padding: 12px;
    }


    .about-stats span {
        font-size: 15px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {

        min-height: 350px;

        padding: 30px;
    }


    .service-card h3 {
        font-size: 31px;
    }


    .gallery {
        grid-template-columns: 1fr 1fr;
    }


    .contact-header {

        align-items: flex-start;

        flex-direction: column;
    }


    .contact-phones {

        align-items: flex-start;
    }


    .contact-phone {
        align-items: flex-start;
    }


    .contact-details {

        grid-template-columns:
            1fr 1fr;
    }


    .lightbox {
        padding: 30px 15px;
    }


    .lightbox-prev {

        left: 5px;

        font-size: 50px;
    }


    .lightbox-next {

        right: 5px;

        font-size: 50px;
    }

}


/* MALÝ MOBIL */

@media (max-width: 520px) {

    .container {
        width: calc(100% - 30px);
    }


    .logo img {
        width: 170px;
    }


    .hero {
        min-height: 680px;
    }


    .hero h1 {
        font-size: 46px;
    }


    .hero-features {
        gap: 7px;
    }


    .hero-features span {
        font-size: 17px;
    }


    .gallery {

        grid-template-columns: 1fr;

        grid-auto-rows: 280px;
    }


    .gallery-item.large {
        grid-row: span 1;
    }


    .contact-details {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-bottom {

        flex-direction: column;
    }


    .lightbox-close {

        top: 10px;

        right: 15px;

        font-size: 38px;
    }


    .about-stats {

        gap: 8px;
    }


    .about-stats div {

        min-height: 85px;

        padding: 10px;
    }


    .about-stats span {
        font-size: 14px;
    }

}