﻿html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    font-size: 18px;
}
:root {
    --main_dark_bg: #132A18 /*#5E5D59*/;
    --alt_dark_bg: #060E08;
    --main_light_bg: #F5F0E0;
    --alt_light_bg: #F4F4F4 /*#ECE2C1*/;
    --main_light_text: var(--main_light_bg);
    --main_dark_text: var(--alt_dark_bg);
    --h_dark_text: var(--alt_dark_bg); /*#18040C;*/
    --h_light_text: #E4D6A7;
    --h_uni_bar: #DA9A1B;
    --highlight: #DA9A1B;
    --cta_hover_bg: #362707;
    --bg_grad_low_alpha: rgba(19, 42, 24, 0.85);
    --bg_light_low_alpha: rgba(96, 94, 87, 0.85);
    --bg_image_overlay: linear-gradient(var(--bg_grad_low_alpha) 65%,var(--main_light_bg));
    --bg_hero_overlay: linear-gradient(to left, rgba(19, 42, 24, 0.3), rgba(19, 42, 24, 0.7) 30%, rgba(19, 42, 24, 0.7) 70%, rgba(19, 42, 24, 0.3));
}
body {
    margin: 0px;
    padding: 0px;
    
    font-weight: 300;
    color: var(--main_light_text);
    font-family: 'Oswald', sans-serif;
    background: var(--main_light_bg);
    animation: web-load-fade-in 0.5s ease-in-out;
}
p {
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: 300;
    /*font-family: 'EB Garamond', serif;*/
}
h1 {
    text-align: center;
    color: var(--h_light_text);
    font-size: 2rem;
    padding: 4%;

}
h2 {
    text-align: center;
    color: var(--h_light_text);
    font-size: 2rem;
    padding: 0px;
    font-weight: 500;
    text-transform: uppercase;
}
h3 {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    color: var(--h_dark_text);
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
    color: var(--highlight);
    transition-duration: 0.25s;
}

    a:hover {
        text-decoration: underline;
    }
strong {
    font-weight: 400;
}
.welcome-pic {
    flex: 1 1 50%;
    display: flex;
    align-items: flex-end; /* zarovnání na dolní okraj */
    justify-content: flex-end; /* zarovnání doprava */
}
    .welcome-pic img {
        width: 80%;
        height: auto;
        max-width: 80%;
        object-fit: contain;
    }
.welcome-text {
    flex: 1 1 50%;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    width: clamp(200px, 80%, 2000px);
    margin: auto;
    height: 70vh;
    justify-content: flex-start;
    align-items: center;
    animation: web-load-drop 0.75s ease-out;
}
    .welcome-text h1 {
        position: relative;
        font-weight: 300;
        font-size: 4rem;
        color: var(--main_light_text);
        text-align: center;
        padding: 0px;
        z-index: 100;
    }
        .welcome-text h1::before {
            content: '\201E';
            position: absolute;
            transform: translate(-0.2em, -0.4em);
            z-index: -1;
            font-size: 1.5em;
            font-weight: 600;
            color: var(--highlight);
        }
        .welcome-text h1::after {
            content: '\201C';
            position: absolute;
            transform: translate(-0.1em, -0.3em);
            z-index: -1;
            font-size: 1.5em;
            font-weight: 600;
            color: var(--highlight);
        }
.welcome-text img {
    height: 6rem;
}

.cta-btn {
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    color: var(--main_dark_text);
    border: 1px solid var(--highlight);
    border-radius: 3px;
    padding: 12px 34px;
    background: var(--highlight);
    position: relative;
    cursor: pointer;
    transition: 0.25s;
}
    .cta-btn:hover {
        color: var(--main_light_text);
        border: 1px solid var(--highlight);
        text-decoration: none;
    }
.hero-sec {
    width: clamp(350px, 100%, 100%);
    background-image: var(--bg_image_overlay), url(background-brno3.jpg);
    background-position: top left;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.hero-panel {
    width: clamp(350px, 90%, 90%);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2rem;
    padding-top: 4rem;
}

    .header h2 {
        font-weight: 400;
        margin-left: 18%;
        margin-right: 18%;
        font-size: 32px;
    }
nav {
    background: var(--main_dark_bg);
    display: inline-flex;
    width: clamp(350px, 100vw, 100vw);
    flex-direction: row;
    height: clamp(42px, 4rem, 4rem);
    position: fixed;
    justify-content: space-between;
    align-items: center;
    background: var(--main_dark_bg);
    top: 0;
    z-index: 1000;
    box-shadow: var(--alt_dark_bg) 0px 1px 3px;
    animation: web-load-drop 0.5s ease-out 0.1s;
}
    nav a {
        margin: 0px 5%;
    }
    nav .ak-logo {
        padding: 10px 5px 5px 18px;
        margin: 0px 5%;
        text-decoration: none;
        color: var(--main_light_text);
    }
        nav .ak-logo img {
            height: clamp(42px, 3.5rem, 3.5rem);
        }
.nav-links {
    margin: 0px 5%;
}
.mobile-menu-wrapper {
    margin: 0;
    padding: 0;
    text-align: center;
    flex: 1;
}
.mobile-menu-btn {
    appearance: none;
    text-decoration: none;
    color: var(--main_light_text);
    font-weight: 300;
    font-size: 24px;
    border: 1px solid var(--main_light_text);
    border-radius: 3px;
    padding: 1px 4px;
    margin-right: 1em;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: none;
    transition: 0.25s;
}
    .mobile-menu-btn::before {
        content: "M";
        font-family: 'Oswald', sans-serif;
    }
.nav-links ul {
    margin: 0px;
    padding: 0;
}

.nav-links ul li {
    list-style:none;
    display:inline-flex;
    position:relative;
}
    .nav-links ul li.mobile-only {
        display: none;
    }
    .nav-links ul li a {
        text-decoration: none;
        display: inline-block;
        margin: 0px;
        padding: 12px 18px;
        color: var(--main_light_text);
        transition-duration: 0.25s;
    }
        .nav-links ul li a:hover {
            color: var(--highlight);
            text-decoration: none;
        }

.luxury {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: clamp(350px, 80%, 80%);
    
    border-radius: 10px;
}
.flex {
    display: flex;
}
    .luxury img {
        
        height: auto;
        margin: 0px;
        border-radius: 10px;
        max-width: 35%;
        max-height: 100%;
        object-fit: cover;
    }
.auto-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    overflow: hidden;
    word-wrap: break-word;
}
.sekce {
    margin: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    padding-bottom: 5vh;
}
    .sekce .cta-btn {
        margin-top: 2rem;
    }
    .sekce h2 {
        color: var(--h_dark_text);
    }
        .sekce h2::after {
            content: '';
            display: block;
            text-align: center;
            width: 60%;
            height: 2px;
            margin: auto;
            background: var(--h_uni_bar);
        }
    .sekce p {
        padding-bottom: 3px;
        margin-bottom: 3px;
        padding-top: 3px;
        margin-top: 3px;
        color: var(--main_dark_text);
    }
    .sekce .bordered-text {
        border: 1px solid var(--alt_light_bg);
        border-radius: 5px;
        background: var(--alt_light_bg);
        width: clamp(350px, 80%, 1200px);
        padding: 50px 2%;
        padding-top: 7vh;
        margin-bottom: 0px;
    }
.framed {
    background: var(--main_light_bg);
    border: 1px solid var(--alt_light_bg);
    border-radius: 5px;
    transition: 0.25s;
    box-shadow: var(--alt_dark_bg) 0 0 10px -5px;
}

.about-text p.podpis {
    text-align: right;
    padding-top: 2rem;
}
.col {
    flex-basis: 30ch;
    flex-grow: 1;
    
    color: var(--main_dark_text);
    min-width: 30ch;
    padding: 1.4rem;
    box-sizing: border-box;
    margin: 8px 8px;
    
}
    .col p {
        text-align: left;
    }
    .col h3 {
        text-align: left;
    }

    .col h3::after {
        content: '';
        display: block;
        text-align: left;
        width: 2ch;
        height: 2px;
        background: var(--h_uni_bar);
        transition: 0.25s;
    }
    .col:hover h3::after {
        width: 100%;
    }

/* OBECNÉ FORMÁTY SEKCÍ*/
.two-col {
    margin: auto;
    width: clamp(350px, 100%, 100%);
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    background-image: var(--bg_image_overlay), url(background-brno-vert.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.two-col a {
    text-decoration: none;
    transition-duration: 0.25s;
}

    .two-col a:hover {
        color: var(--highlight);
        text-decoration: underline;
    }
    .two-col .bordered-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--alt_light_bg);
        width: clamp(350px, 50%, 1000px);
        text-align: justify;
        text-justify: distribute;
        padding: 50px 0px;
        padding-top: 7vh;
        margin-bottom: 0px;
    }
        .two-col .bordered-text p {
            text-align: justify;
            color: var(--main_dark_text);
            width: clamp(350px, 60%, 1000px);
            margin-top: 0px;
            padding-top: 0px;
        }
            .two-col .bordered-text p::before {
                content: '';
                display: block;
                text-align: center;
                width: 65%;
                height: 2px;
                margin: auto;
                margin-bottom: 30px;
                background: var(--h_uni_bar);
            }
    .two-col h2 {
        color: var(--h_dark_text);
        text-align: center;
        margin: 0px 0px;
        width: 100%;
    }
    .two-col .cta-btn {
        color: var(--main_dark_text);
        border: 1px solid var(--main_dark_text);
        margin-top: 20%;
    }
        .two-col .cta-btn:hover {
            color: var(--main_light_text);
            border: 1px solid var(--h_dark_text);
            background: var(--h_dark_text);
        }
.one-col {
    margin: auto;
    width: clamp(350px, 70%, 70%);
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
}
    .one-col p {
        text-align: justify;
        width: 80%;
        margin-top: 0px;
        padding-top: 0px;
        color: var(--main_light_text);
    }
    .one-col .centered-text {
        text-align: center;
    }
    .one-col h2 {
        color: var(--h_light_text);
    }
    .one-col h3 {
        text-align: left;
        color: var(--h_light_text);
    }
.one-col h2::after {
    content: '';
    display: block;
    text-align: center;
    width: 60%;
    height: 2px;
    margin: auto;
    background: var(--h_uni_bar);
}

.ramecky {
    color: var(--h_dark_text);
    font-weight: 400;
    width: clamp(300px, 80%, 1600px);
    margin: auto;
    display: flex;
    align-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
    .ramecky p {
        padding: 0;
        margin: 0;
        padding-top: 8px;
        margin-top: 3px;
        color: var(--main_dark_text);
    }
    .ramecky h3 {
        padding: 0;
        margin: 0;
    }
.ram-dole {
    border: 1px solid var(--main_dark_bg);
    border-radius: 5px;
    background: var(--main_dark_bg);
    width: clamp(350px, 100%, 1600px);
    text-align: left;
    padding: 50px 2%;
    padding-top: 7vh;
    margin-bottom: 0px;
}

/*ZMĚNY FORMÁTU KONKRÉTNÍCH SEKCÍ*/

.about-text {
    padding: 5%;
}
.about-text p {
    padding: 2% 5%;
    font-size: 1.3rem;
}
.blka a {
    color: var(--main_dark_text);
}

.translateY {
    transform: translateY(-10vh);
    z-index: 2;
}
.header p {
    margin-top: 5vh;
    margin-bottom: 5vh;
}
#sluzby {
    background: var(--alt_light_bg);
}
#cenik {
    background: var(--alt_light_bg);
}
#faq {
    background: var(--main_dark_bg);
    align-content: center;
    justify-items: center;
    
    
}
    #faq h2 {
        color: var(--h_light_text);
    }
    #faq h3 {
        color: var(--h_light_text);
        font-weight: 300;
    }
    #faq p {
        color: var(--h_light_text);
    }

.omne {
    background-image: var(--bg_image_overlay), url(background-brno-vert.jpg);
    align-items: flex-end;
    background-position: left;
}

.cenik {
    background-image: var(--bg_image_overlay), url(background.jpg);
    align-items: flex-start;
    background-position: right;
}
/* FAQ styles */
#faq-container {
    margin: 3rem 0;
    width: clamp(300px, 60%, 60%);
}
.faq-item {
        
}


.faq-question {
    cursor: pointer;
    padding: 15px;
    font-size: 1.5rem;
    padding: 0.5rem;
    font-weight: 200;
    transition: background 0.3s;
}
    .faq-question::after {
        content: '';
        display: block;
        text-align: left;
        width: 2ch;
        height: 2px;
        background: var(--h_uni_bar);
        transition: 0.25s;
    }
    .faq-question:hover::after {
        width: 100%;
    }
    .faq-question.open::after {        
        width: 100%;        
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

    .faq-answer.open {
        padding: 15px;
        max-height: 500px;
        
    }

.faq {
    padding-bottom: 75px;
}
.kontakt ul {
    list-style: none;
}
.kontakt ul li {
    display: block;
    color: var(--main_dark_text);
}
.kontakt strong {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--highlight);
}


.footer-notes {
    width: clamp(350px, 100%, 100%);
    flex-direction: row;
    background: var(--main_dark_bg);
}
.footer-notes p {
    padding: 1vh 2vw;
    margin: 0;
    text-align: center;
    color: var(--main_light_text);
}

/* PŘIZPŮSOBENÍ MENŠÍ ŠÍŘCE OKNA */

@media(max-width: 1150px),(max-height: 750px) {
    .row {
        flex-direction: column;
    }
    .nav-links {
        text-align: right;
    }
    nav .cta-btn {
        display: none;
    }
    .welcome-text h1 {
        font-size: 3rem;
    }
    .welcome-pic {
        flex: 1 1 70%;
    }
    .welcome-pic img {
        width: 100%;
        max-width: 100%;
    }
    .header {
        background-position: center;
    }
}

/* PŘIZPŮSOBENÍ MOBILNÍMU ZAŘÍZENÍ */

@media(max-width: 768px) {
    .nav-links ul li.mobile-only {
        display: list-item;
    }
    .mobile-menu-btn {
        display: inline-block;
        pointer-events: all;
    }
    nav {
        flex-direction: row;
    }
    .nav-links {
        margin: 0;
        font-size: 2.2rem;
        width: 100%;
        position: absolute;
        top: clamp(42px, 4rem, 4rem);
        right: 0px;
        background: var(--alt_dark_bg);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s;
    }
    .mobile-menu-wrapper {
        display: block;
        text-align: right;
        align-items: end;
        width: 100%;
    }

            .mobile-menu-btn:checked ~ .nav-links {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }
        .mobile-menu-btn:checked::before {
            content: "X";
        }
    .nav-links ul li {
        display: flex;
        flex-direction: column;
        padding: 0;
        text-align: center;
    }
    .luxury {
        flex-direction: column;
    }
    .luxury div {
        width: 100%;
        padding: 1em;
    }
    .luxury img {
        width: 100%;
        max-width: 100%;
        max-height: 75%;
    }
    .hero-sec {
        justify-content: center;
    }
    .welcome-pic {
        display: none;
        overflow: hidden;
        pointer-events: none;
    }
    .welcome-text {
        justify-content: center;
    }
        .welcome-text h1 {
            font-size: 2rem;
            text-align: center;
        }
        .welcome-text p {
            padding: 2% 8%;
            text-align: center;
        }
    .omne {
        align-items: center;
    }

    .cenik {
        align-items: center;
    }

    .kontakt {
        align-items: center;
    }

    .two-col .bordered-text {
        width: clamp(350px, 80%, 1000px);
    }
    .kontakt ul {
        padding-left: 20%;
    }
}
@media(max-width: 630px) {
    html {
        font-size: 14px;
    }
    nav {
        height: 6rem;
    }
    .nav-links {
        top: clamp(42px, 6rem, 6rem);
    }
    
}
@keyframes web-load-drop {
    0% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes web-load-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
