/* IMPORTS */
@font-face {
    font-family: 'Open Sauce Sans';
    font-weight: normal;
    src: url('fonts/OpenSauceSans-Regular.ttf');
}
@font-face {
    font-family: 'Open Sauce Sans';
    font-weight: bold;
    src: url('fonts/OpenSauceSans-Bold.ttf');
}
:root {
    --primary-lighter: #ffe6f3;
    --primary: #ffcee8;
    --primary-darker: #d0a0b9;
    --primary-darkest: #966981;
    --accent-darker: #796162;/*#5b4546;*/
}

/* GENERAL */

* {
    margin: 0;
    cursor: default;
}
body {
    font-family: 'Open Sauce Sans', sans-serif;
    font-size: 18px;
}
div {
    display: flex;
    box-sizing: border-box;
    gap: 1em;
}
section {
    width: 100%;
}
.container {
    margin: 0 auto;
    padding: 0 3em;
    max-width: 1240px;
}
.stretch {
    flex-grow: 1;
}
div.vertical {
    flex-direction: column;
}

h1 {
    font-family: 'Old Standard TT', serif;
    font-weight: normal;
    font-size: 72px;
}
h2 {
    font-family: 'Old Standard TT', serif;
    font-weight: normal;
    font-size: 48px;
}
p {
    line-height: 1.45em;
}
li {
    margin-bottom: 0.35em;
}
a, button {
    cursor: pointer;
    text-decoration: underline;
}
button {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
}
button.button {
    padding: 0.8em 1.2em;
    border-radius: 1.2em;
    box-shadow: inset 0 0 0 1px black;
    color: black;
    text-decoration: none;
}
button.button:hover {
    color: white;
    /*background-color: #7fb387;*/
    background-color: var(--accent-darker);
    box-shadow: none;
}
hr {
  color: var(--accent-darker);
}

/* SPECIFIC */

#pc-objednani {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

#pc-objednani > div {
  background: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 2em 3em;
}

.header {
    height: 188px;
}
.header .container {
    height: 100%;
    align-items: center;
    gap: 1.5em;
    justify-content: space-between;
}
.header .container > div {
    gap: 1.25em;
}
.header img {
    width: 233px;
    height: 112px;
}
.header button {
    padding: 0.75em 0.25em;
    text-decoration: none;
}
.header button:hover {
    box-shadow: 0px 1px 0px 0px black;
}

#hamburger-menu {
    display: flex;
    flex-direction: column;
    background-color: white;
}

#hamburger-menu button {
    text-decoration: none;
    padding: 0.75em;
    margin: auto;
}

.important-message p {
    background-color: var(--accent-darker);
    text-align: center;
    padding: 1em 0;
    color: white;
}
.important-message p::after, .important-message p::before {
    content: '\2755';
}

.landing {
    background-image: url('images/landing_new.jpg');
    background-size: cover;
    background-position: 70% 60%;
    /*background: var(--primary-lighter);*/
}
.landing #omne {
    max-width: 940px;
    flex-direction: column;
    gap: 1em;
    padding: 4em 0;
}
#omne p {
    width: 70%;
}
#omne p button {
    display: inline;
}
#omne .calltoaction {
    margin-top: 1.5em;
    gap: 1.5em;
}

#gallery .gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
#gallery .gallery-grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
#gallery .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

#sluzby .container > div {
    width: 100%;
    padding: 4em 0;
}
#sluzby .tabs {
    width: 100%;
    gap: 0;
    /*background-color: #b8ddbe;*/
    background-color: var(--primary-lighter);
    align-items: center;
}
#sluzby .tabs button {
    flex-grow: 1;
    text-align: center;
    padding: 1em;
    cursor: pointer;
    text-decoration: none;
}
#sluzby .tabs button.active {
    font-size: 24px;
    flex-grow: 3;
    /*background-color: #98cfa2;*/
    background-color: var(--primary);
    font-weight: bold;
    cursor: default;
}
#cenik .container > div {
    width: 100%;
}
#cenik h3 {
    margin: 1em 0;
}
#cenik .grid {
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0;
}
#cenik .grid div {
    height: 1.2em;
    padding: 1.3em 1em;
    align-items: center;
    justify-content: start;
    /*background-color: #98cfa2;*/
    background-color: var(--primary);
}
#cenik .grid div.head {
    font-weight: bold;
    border-bottom: 2px solid black;
}
#cenik .grid div:nth-child(6n), #cenik .grid div:nth-child(6n-1), #cenik .grid div:nth-child(6n-2) {
    /*background-color: #b8ddbe;*/
    background-color: var(--primary-lighter);
}

#reference .container div.vertical {
    width: 100%;
    padding: 4em 0 0 0;
    gap: 1em;
}

#reference .review {
    flex-direction: column;
}

#reference .review-flex {
    display:flex;
    justify-content: space-between;
}

#reference .review-col {
    width: 33.3%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#reference .review-item, #reference a.review-readmore {
    box-shadow: 0px 4px 12px rgba(112,112,112,0.2);
    margin-bottom: 28px;
}

#reference a.review-readmore {
    font-family: 'Open Sauce Sans', sans-serif;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    border: none;
    /*background: linear-gradient(170deg, #7fb387, #5fa56c);*/
    background: linear-gradient(170deg, var(--primary), var(--primary-darker));
    color: white;
    padding: 12px 0;
    cursor: pointer;
}

#reference .review-col .review-item {
    background-color: #fafafa;
    background-image: url('images/paper_light.png');
    background-repeat: no-repeat;
    background-position: 0 -7px;
    background-size: cover;
    height: 100%;
}

#reference .review-col .review-item .review-decoration {
    height: 100%;
    background-image: url('images/quotep.png');
    background-repeat: no-repeat;
    background-size: auto 48px;
    background-position: calc(100% - 20px) 20px;
    /* center child div vertically */
    display: flex;
    align-items: center;
}

#reference .review-col .review-item .review {
    width: 100%;
    margin: 24px;
    color: #383838;
}

#reference .review-col .review-item h3 {
    font-size: 28px;
    font-weight: normal;
    margin: 0 0 12px 0;
}

#reference .review-col .review-item p {
    font-size: 18px;
    line-height: 26px;
    margin: 0;
}

#kontakt .container > .vertical {
    width: 100%;
    padding: 2em 0;
}
#kontakt .container > .vertical > div {
    align-items: flex-start;
    padding: 1em 0;
}
#kontakt .container .vertical div div {
    width: 40%;
}
#kontakt .container .vertical div .vertical {
    width: 60%;
    gap: 0.5em;
}
#kontakt iframe {
    /*outline: 2px solid #98cfa2;*/
    outline: 2px solid var(--primary);
}

#gdpr .container > .vertical {
    width: 100%;
    padding: 2em 0;
}
#gdpr .container > .vertical > div {
    align-items: flex-start;
    padding: 1em 0;
}

.footer {
    height: 94px;
    /*background-color: #98cfa2;*/
    background-color: var(--primary);
}
.footer .container {
    height: 100%;
    align-items: center;
    gap: 1.5em;
    justify-content: space-between;
}
/* GAP NOT SUPPORTED */
* {
    gap: 0 !important;
}
.header .container > div > button {
    margin-left: 1.25em;
}
#omne p {
    margin: 1em 0;
}
.calltoaction button.button {
    margin-right: 1.5em;
}
#sluzby .tabs, #cenik p {
    margin: 1em 0;
}
#reference .review-col {
    padding: 0 20px;
}
#reference .review-item {
    margin: 1em;
}
#kontakt .container .vertical div .vertical {
    margin-right: 1em;
    margin-bottom: 1em;
}

/* WIDE SCREENS */

@media screen and (min-width: 1600px) {
    .landing {
        background-position: 70% 40%;
    }
}

/* NARROW SCREENS */

.header .container div .hamburger, #hamburger-menu {
    display: none;
}
@media screen and (max-width: 1130px) {
    .header .container div button:not(.hamburger) {
        display: none;
    }
    .header .container div .hamburger {
        display: block;
    }
    #hamburger-menu {
      display: flex;
    }
    div.container {
        padding: 0 5em;
    }

    .landing {
        background-position: 80% 60%;
    }
    #omne {
        width: 70%;
    }
    #omne p {
        width: 90%;
    }

    #reference .review-flex {
        flex-direction: column;
        gap: 0;
    }
    #reference .review-col {
        flex-direction: row;
        width: auto;
    }
    #reference .review-col .review-item {
        height: auto;
        background-repeat: repeat;
        background-size: auto;
        margin-bottom: 0;
    }
    #reference .review-col:nth-last-child(1) {
        justify-content: center;
    }
    #reference .review-col:nth-last-child(1) > div {
        display: none;
    }
    #reference .review-col:nth-last-child(1) > a {
        padding: 0.7em 1em;
        border-radius: 0.3em;
    }

    /* GAP NOT SUPPORTED */
    #reference a {
        margin-top: 1em;
    }
    /**/
}

@media screen and (max-width: 830px) {
    body {
        font-size: 16px;
    }
    .header {
        height: 124px;
    }
    .header img {
        width: 186px;
        height: 90px;
    }
    div.container {
        padding: 0 2.5em;
    }
    h1 {
        font-size: 40px;
        margin-top: 2em;
    }
    h2 {
        font-size: 40px;
    }
    .landing {
        /*background: linear-gradient(65deg, #98cfa2, #b8ddbe);*/
        background: var(--primary-lighter);
    }
    .landing #omne {
        width: auto;
    }
    .landing #omne h1 {
        text-shadow: 0 0 50px #98cfa2;
        margin-top: 0;
    }
    .landing #omne p {
        /*display: none;*/
        text-align: justify;
        width: auto;
        text-shadow: 0 0 50px #98cfa2;
    }
    /*#omne .calltoaction {
        flex-direction: column;
        align-items: flex-start;
    }*/

    #sluzby .tabs {
        flex-direction: column;
    }
    #sluzby .tabs button {
        width: 100%;
        box-sizing: border-box;
    }
    #sluzby .tabs button.active {
        font-size: 20px;
    }

    #cenik .grid > div {
        padding: 2em 1em;
    }

    #reference .review-col {
        flex-direction: column;
        padding: 0;
    }

    #kontakt .container .vertical > div {
        flex-direction: column;
    }
    #kontakt .container .vertical div div {
        width: 100%;
    }
    #kontakt .container .vertical div .vertical {
        width: 100%;
    }

    .footer .container {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 0.4em;
    }
    .footer .container .stretch {
        display: none;
    }
}
