/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f2ed;
    color: #191917;
    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* ==================================================
   VARIABLES
================================================== */

:root {

    --background: #f4f2ed;
    --background-dark: #e6e1d8;

    --text: #191917;
    --muted: #68645c;

    --brown: #806a50;
    --brown-light: #b7a991;

    --dark: #242420;

    --container: 1400px;

}


/* ==================================================
   GENERAL
================================================== */

.header-inner,
.hero,
.section,
.footer {

    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;

}

.eyebrow {

    color: var(--brown);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* ==================================================
   HEADER
================================================== */

.header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

}

.header-inner {

    height: 90px;

    padding: 0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    display: flex;

    flex-direction: column;

    line-height: 1;

}

.logo strong {

    font-size: 24px;

    letter-spacing: -1px;

}

.logo span {

    margin-top: 5px;

    font-size: 12px;

    color: var(--brown);

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* NAVIGATION */

.navigation {

    display: flex;

    gap: 35px;

}

.navigation a {

    font-size: 14px;

    transition: color .2s ease;

}

.navigation a:hover {

    color: var(--brown);

}


/* HEADER BUTTON */

.header-button {

    border: 1px solid #242420;

    padding: 12px 18px;

    font-size: 13px;

    font-weight: 700;

    transition: all .2s ease;

}

.header-button:hover {

    background: var(--dark);

    color: white;

}


/* ==================================================
   MENU TOGGLE (HAMBURGER)
================================================== */

.menu-toggle {

    display: none;

    position: fixed;

    top: 18px;
    right: 20px;

    width: 48px;
    height: 48px;

    padding: 0;

    background: var(--background);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;

    box-shadow: 0 6px 20px rgba(0,0,0,.15);

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    z-index: 200;

    transition:
        background .25s ease,
        box-shadow .25s ease;

}

.menu-toggle.is-open {

    background: var(--dark);

}

.menu-toggle.is-open span {

    background: white;

}

.menu-toggle span {

    display: block;

    width: 26px;
    height: 2px;

    background: var(--dark);

    transition:
        transform .25s ease,
        opacity .25s ease;

}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* ==================================================
   MOBILE MENU PANEL
================================================== */

.mobile-menu {

    position: fixed;

    top: 0;
    right: 0;

    height: 100vh;
    width: min(320px, 80vw);

    background: var(--background);

    box-shadow: -10px 0 30px rgba(0,0,0,.15);

    z-index: 150;

    padding: 110px 35px 40px;

    display: flex;
    flex-direction: column;
    gap: 40px;

    transform: translateX(100%);

    transition: transform .3s ease;

}

.mobile-menu.is-open {

    transform: translateX(0);

}

.mobile-navigation {

    display: flex;
    flex-direction: column;
    gap: 26px;

}

.mobile-navigation a {

    font-size: 20px;
    font-weight: 600;

}

.mobile-menu-cta {

    margin-top: auto;

    width: fit-content;

}

body.menu-open {

    overflow: hidden;

}


/* ==================================================
   HERO
================================================== */

.hero {

    min-height: 850px;

    padding: 150px 40px 80px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.15fr);

    gap: 7vw;

    align-items: center;

}

.hero-content {

    max-width: 650px;

}

.hero h1 {

    margin-top: 20px;

    font-size: clamp(52px, 6vw, 88px);

    line-height: .94;

    letter-spacing: -5px;

    font-weight: 700;

}

.hero h1 span {

    display: block;

    color: var(--brown);

}

.hero p {

    max-width: 550px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

}


/* ==================================================
   BUTTON
================================================== */

.button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 30px;

    padding: 17px 25px;

    background: var(--dark);

    color: white;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;

}

.button:hover {

    transform: translateY(-2px);

    background: #000;

}

.button span {

    font-size: 20px;

    line-height: 0;

}


/* ==================================================
   HERO IMAGE
================================================== */

.hero-image {

    height: 620px;

    position: relative;

    overflow: hidden;

    background-color: #665746;

    background-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, 0) 60%
        ),
        url("images/hero.jpg");

    background-size:
        cover,
        cover;

    background-position:
        center,
        center;

    background-repeat:
        no-repeat,
        no-repeat;

}


/* RÁMEČEK */

.hero-image::before {

    content: "";

    position: absolute;

    inset: 8%;

    border: 1px solid
        rgba(255,255,255,.35);

    z-index: 2;

    pointer-events: none;

}


/* POPISEK */

.hero-caption {

    position: absolute;

    left: 35px;

    bottom: 30px;

    z-index: 3;

    color: white;

    display: flex;

    flex-direction: column;

}

.hero-caption strong {

    font-size: 25px;

}

.hero-caption span {

    margin-top: 5px;

    font-size: 14px;

    opacity: .8;

}


/* ==================================================
   SECTIONS
================================================== */

.section {

    padding: 120px 40px;

}

.section h2 {

    margin-top: 10px;

    font-size: clamp(45px, 5vw, 70px);

    line-height: .95;

    letter-spacing: -3px;

}

.section h2 span {

    color: var(--brown);

}


/* ==================================================
   REALIZACE
================================================== */

.cards {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}

.card {

    min-height: 430px;

    position: relative;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

    padding: 30px;

    color: white;

    background-color: #665746;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}


/* --------------------------------------------------
   FOTKY KARET
-------------------------------------------------- */

.card-kuchyne {

    background-image:
        linear-gradient(
            to top,
            rgba(0,0,0,.72),
            rgba(0,0,0,0) 65%
        ),
        url("images/kuchyne.jpg");

}


.card-vestavby {

    background-image:
        linear-gradient(
            to top,
            rgba(0,0,0,.72),
            rgba(0,0,0,0) 65%
        ),
        url("images/vestavby.jpg");

}


.card-interiery {

    background-image:
        linear-gradient(
            to top,
            rgba(0,0,0,.72),
            rgba(0,0,0,0) 65%
        ),
        url("images/interier.jpg");

}


/* --------------------------------------------------
   ZOOM FOTKY
-------------------------------------------------- */

.card::before {

    content: "";

    position: absolute;

    inset: 0;

    background: inherit;

    transform: scale(1);

    transition:
        transform .6s ease;

}


/* HOVER */

.card:hover::before {

    transform: scale(1.05);

}


/* --------------------------------------------------
   TEXT KARTY
-------------------------------------------------- */

.card-content {

    position: relative;

    z-index: 2;

}

.card h3 {

    font-size: 30px;

}

.card p {

    max-width: 300px;

    margin-top: 7px;

    color:
        rgba(255,255,255,.82);

}


/* ==================================================
   SERVICES
================================================== */

.services {

    max-width: none;

    background:
        var(--background-dark);

}

.services-grid {

    max-width: var(--container);

    margin:
        60px auto 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10vw;

}

.services-text {

    max-width: 600px;

}

.services-text p {

    margin-bottom: 25px;

    font-size: 18px;

    line-height: 1.7;

    color: var(--muted);

}


/* ==================================================
   SERVICE LIST
================================================== */

.service-list {

    max-width: var(--container);

    margin:
        80px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid #c9c2b7;

}

.service-list div {

    padding: 25px 0;

    border-bottom:
        1px solid #c9c2b7;

    display: flex;

    align-items: center;

    gap: 25px;

}

.service-list span {

    color: var(--brown);

    font-size: 12px;

}

.service-list strong {

    font-size: 18px;

}


/* ==================================================
   PROCESS
================================================== */

.process-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border-top:
        1px solid #d0cbc2;

    border-left:
        1px solid #d0cbc2;

}

.process-item {

    min-height: 240px;

    padding: 30px;

    border-right:
        1px solid #d0cbc2;

    border-bottom:
        1px solid #d0cbc2;

}

.process-number {

    color: var(--brown);

    font-size: 12px;

    font-weight: 700;

}

.process-item h3 {

    margin-top: 60px;

    font-size: 22px;

}

.process-item p {

    margin-top: 8px;

    color: var(--muted);

    font-size: 14px;

}


/* ==================================================
   CONTACT CTA
================================================== */

.contact-cta {

    max-width: none;

    padding:
        110px max(
            40px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    background: var(--dark);

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 60px;

}

.contact-cta h2 {

    margin-top: 15px;

    font-size:
        clamp(45px, 5vw, 70px);

    line-height: .95;

    letter-spacing: -3px;

}

.contact-cta h2 span {

    display: block;

    color: #b7a991;

}

.contact-action {

    max-width: 350px;

}

.contact-action p {

    color:
        rgba(255,255,255,.65);

}

.button-light {

    background: #eee7dc;

    color: #222;

}

.button-light:hover {

    background: white;

}


/* ==================================================
   FOOTER
================================================== */

.footer {

    padding:
        45px 40px;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    gap: 30px;

    font-size: 13px;

}

.footer-logo {

    display: flex;

    flex-direction: column;

    line-height: 1;

}

.footer-logo strong {

    font-size: 20px;

}

.footer-logo span {

    margin-top: 4px;

    color: var(--brown);

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}

.footer-contact {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px 20px;

    color: var(--muted);

}

.footer-contact a {

    white-space: nowrap;

}

.footer-contact a:hover {

    color: var(--brown);

}

.footer-copy {

    text-align: right;

    color: var(--muted);

}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 1000px) {

    .navigation {

        display: none;

    }

    .header-button {

        display: none;

    }

    .menu-toggle {

        display: flex;

    }

    .hero {

        grid-template-columns: 1fr;

    }

    .hero-image {

        height: 500px;

    }

    .cards {

        grid-template-columns: 1fr;

    }

    .services-grid {

        grid-template-columns: 1fr;

    }

    .service-list {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .contact-cta {

        display: block;

    }

    .contact-action {

        margin-top: 40px;

    }

    .footer {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 15px;

    }

    .footer-logo {

        align-items: center;

    }

    .footer-copy {

        text-align: center;

    }

}


/* ==================================================
   RESPONSIVE — MOBIL
================================================== */

@media (max-width: 600px) {

    .header-inner {

        height: 75px;

        padding:
            0 20px;

    }


    /* HERO */

    .hero {

        padding:
            120px 20px 50px;

    }

    .hero h1 {

        font-size: 50px;

        letter-spacing: -3px;

    }

    .hero p {

        font-size: 16px;

    }

    .hero-image {

        height: 380px;

    }


    /* SECTIONS */

    .section {

        padding:
            80px 20px;

    }

    .section h2 {

        font-size: 45px;

    }


    /* CARDS */

    .cards {

        margin-top: 40px;

    }

    .card {

        min-height: 350px;

    }


    /* SERVICES */

    .service-list {

        grid-template-columns: 1fr;

    }


    /* PROCESS */

    .process-grid {

        grid-template-columns: 1fr;

    }

    .process-item {

        min-height: 180px;

    }

    .process-item h3 {

        margin-top: 35px;

    }


    /* CONTACT */

    .contact-cta {

        padding:
            80px 20px;

    }


    /* FOOTER */

    .footer {

        padding:
            35px 20px;

        grid-template-columns: 1fr;

    }

    .footer-contact {

        justify-content: flex-start;

        flex-direction: column;

        gap: 8px;

    }

    .footer-copy {

        text-align: left;

    }

}