/* --------------------------------------------------
   ZÁKLAD
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f6f2;
    color: #252525;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.7;
}

main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* --------------------------------------------------
   TYPOGRAFIA
-------------------------------------------------- */

h1,
h2 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(3.4rem, 8vw, 6.5rem);
    line-height: 0.95;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
}

.eyebrow,
.section-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.section-label {
    margin-bottom: 55px;
    opacity: 0.55;
}

.intro {
    margin: 35px 0 0;
    font-size: 1.25rem;
}

.location {
    margin: 3px 0 35px;
    opacity: 0.55;
}


/* --------------------------------------------------
   ÚVOD
-------------------------------------------------- */

.hero {
    min-height: 90vh;

    display: grid;
    grid-template-columns: 1fr 0.75fr;

    align-items: center;
    gap: 80px;

    padding: 70px 0 110px;
}

.hero-image {
    justify-self: end;
    width: min(100%, 430px);
}

.hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


/* --------------------------------------------------
   TLAČIDLO
-------------------------------------------------- */

.button {
    display: inline-block;

    padding: 12px 22px;

    color: #f7f6f2;
    background: #252525;

    text-decoration: none;

    font-size: 0.9rem;

    transition: opacity 0.2s ease;
}

.button:hover {
    opacity: 0.7;
}


/* --------------------------------------------------
   SEKcie
-------------------------------------------------- */

section {
    padding: 130px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

section h2 {
    max-width: 850px;
    margin-bottom: 65px;
}

.text {
    max-width: 680px;
    margin-left: auto;
}

.text p {
    margin: 0 0 28px;
}

.text p:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   PRAKTICKÉ INFORMÁCIE
-------------------------------------------------- */

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin-bottom: 60px;
}

.detail {
    padding: 28px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.detail:nth-child(odd) {
    margin-right: 40px;
}

.detail span {
    display: block;

    margin-bottom: 5px;

    font-size: 0.7rem;
    letter-spacing: 0.12em;

    opacity: 0.5;
}

.detail strong {
    font-weight: 400;
}


/* --------------------------------------------------
   KONTAKT
-------------------------------------------------- */

.contact {
    padding-bottom: 160px;
}

.contact-links {
    margin-top: 70px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contact-links a {
    color: #252525;

    font-size: clamp(1.5rem, 3vw, 2.5rem);

    text-decoration: none;

    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.contact-links a:hover {
    border-bottom-color: #252525;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    padding: 25px 0 40px;

    border-top: 1px solid rgba(0, 0, 0, 0.12);

    display: flex;
    justify-content: space-between;

    font-size: 0.75rem;

    opacity: 0.5;
}


/* --------------------------------------------------
   MOBIL
-------------------------------------------------- */


@media (max-width: 700px) {

    body {
        font-size: 17.5px;
    }

    main {
        width: min(100% - 14px, 600px);
    }

    .hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 55px;

        padding: 45px 0 90px;
    }

    .hero-image {
        width: 100%;
        max-width: none;

        order: 2;
    }

    .hero-text {
        order: 1;
    }
   
    h1 {
       font-size: clamp(3.2rem, 16vw, 5rem);
    }

   h2 {
       font-size: clamp(2.3rem, 11vw, 3.5rem);
   }

    section {
        padding: 90px 0;
    }

    .section-label {
        margin-bottom: 40px;
    }

    section h2 {
        margin-bottom: 45px;
    }

    .text {
        margin-left: 55;
    }

   .text p {
    margin-left: 55px;
    }

    .details {
        grid-template-columns: 1fr;
    }

    .detail:nth-child(odd) {
        margin-right: 0;
    }

    .contact {
        padding-bottom: 100px;
    }

    footer {
        flex-direction: column;
        gap: 5px;
    }
}
