
/* ==========================================
   TECHNIKA HRUŠKA
   ========================================== */

:root {
    --primary: #245782;
    --primary-dark: #183c5b;

    --text: #26313b;
    --text-muted: #65717b;

    --background: #ffffff;
    --background-alt: #f3f5f7;

    --border: #dce2e7;

    --container-width: 1200px;
    --header-height: 88px;
}

/* ZÁKLAD */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--primary);
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

h1, h2, h3 {
    line-height: 1.2;
}

h2 {
    font-size: clamp(28px, 3vw, 38px);
    margin: 0 0 32px;
}

h3 {
    margin-top: 0;
}

p {
    margin-top: 0;
}

/* HLAVIČKA */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: var(--header-height);

    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--primary-dark);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.navigation a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.navigation a:hover {
    color: var(--primary);
}

.navigation .client-link {
    color: #ffffff;
    background: var(--primary);
    padding: 10px 16px;
    border-radius: 4px;
}

.navigation .client-link:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

/* ÚVOD */

.hero {
    background: var(--background-alt);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;

    min-height: 500px;
    padding-block: 70px;
}

.eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(36px, 4vw, 56px);
    margin: 15px 0 25px;
    color: var(--primary-dark);
}

.hero-content > p:not(.eyebrow) {
    color: var(--text-muted);
    max-width: 480px;
}

.hero-image {
    aspect-ratio: 4 / 3;
    background: #dce3e9;
    border-radius: 4px;


    background-image: url("img/uvod.jpg");
    background-size: cover;
    background-position: center;

}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;

    color: #ffffff;
    background: var(--primary);
    border-radius: 4px;
    text-decoration: none;
}

.button:hover {
    background: var(--primary-dark);
}

/* OBECNÉ SEKCE */

.section {
    padding-block: 90px;
}

.section-alt {
    background: var(--background-alt);
}

.content {
    max-width: 800px;
}

.section-intro {
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* CENÍK */

.price-list {
    max-width: 800px;
    margin-top: 60px;
}

.price-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.price-list th,
.price-list td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.price-list th {
    background: var(--background-alt);
}

.price-list th:last-child,
.price-list td:last-child {
    text-align: right;
    white-space: nowrap;
}

.note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* REFERENCE */

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reference-image {
    aspect-ratio: 4 / 3;
    background: #dce3e9;
    border-radius: 4px;
    margin-bottom: 20px;
}

.reference-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.reference-card p {
    color: var(--text-muted);
}

/* KONTAKT */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.contact-grid h3 {
    color: var(--primary-dark);
}

/* PATIČKA */

.footer {
    background: var(--primary-dark);
    color: #ffffff;
    padding-block: 28px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* RESPONZIVITA */

@media (max-width: 900px) {

    :root {
        --header-height: 120px;
    }

    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-block: 12px;
    }

    .navigation {
        justify-content: center;
        gap: 12px 20px;
    }

    .hero-inner {
        gap: 30px;
    }

    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    :root {
        --header-height: 160px;
    }

    .container {
        width: min(100% - 30px, var(--container-width));
    }

    .brand {
        font-size: 18px;
    }

    .brand img {
        width: 45px;
        height: 45px;
    }

    .navigation {
        gap: 10px 15px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-block: 50px;
    }

    .section {
        padding-block: 55px;
    }

    .reference-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
