/* albert-sans-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-200.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* albert-sans-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* albert-sans-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* albert-sans-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* albert-sans-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* albert-sans-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/albert-sans-v1-latin_latin-ext-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/albert-sans-v1-latin_latin-ext-900.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* petrona-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Petrona';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/petrona-v28-latin_latin-ext-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/petrona-v28-latin_latin-ext-200.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* petrona-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Petrona';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/petrona-v28-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/petrona-v28-latin_latin-ext-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
:root {
  --black: #111;
  --grey: #bbb;
  --dark-grey: #444;
  --white: #fefefe;
  --seashell: #FFF5EE;
  --primary: #E52A1F;
  --primary-dark: #A8221B;
  --secondary: #2793F5;
  --secondary-dark: #2369A8;
  --max-width: 1200px;
}

:root {
  --swiper-pagination-bullet-inactive-color: var(--white);
  --swiper-pagination-bullet-inactive-opacity: 0.8;
  --swiper-pagination-color: orange;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Albert Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}


.module {
  width: 100%;
  padding: 2rem 2rem;

}

.width-container {
  max-width: clamp(700px, 70vw, 1200px);
  margin: 0 auto;
}

.fa-star.checked {
  color: orange;
  font-size: 1.5rem;
}
#tophead {
  width: 100%;
  padding: 0 2rem;
}
#tophead header{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 1rem 0;
}

#tophead ul {
  list-style-type: none;
  display: flex;
  padding-left: 0;
}

#tophead a.logo {
  text-transform: uppercase;
}
#tophead a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  transition: 0.5s all ease-out;
  padding: 1rem 1rem;
}
#tophead a:hover {
  color: var(--secondary);
}

.bg-full {
  min-height: 100vh;
  background-color: #F8EDE3;
  background-image: linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.99)), url("images/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 94px - 94px); /*kinda unstable */
}
#hero .width-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  gap: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}
#hero .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 2;
}

#hero h1.big {
  margin-top: 0;
  margin-bottom: 0;
}

#hero img {
  /*border-radius: 20px;*/
  border-radius: 50%;
  width: 100%;
  justify-self: center;
  order: 1;
}

#hero h1 {
  color: #fefefe;
}

#hero h1.big {
  font-size: 4rem;
  font-weight: 900;
}
#hero h1.light {
  font-size: 3rem;
  font-weight: 200;
}

#hero img {
  max-width: 100%;
  align-self: center;
}


a.button {
  background: linear-gradient(to right, var(--secondary), #1db5b3);
  padding: 1rem 2rem;
  border-radius: 30px;
  color: #fefefe;
  text-decoration: none;
  transition: all 0.5s;
  border: none;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px 0 var(--secondary);
  background-size: 400% 100%;
  margin-top: 40px;
  font-weight: 600;
}
a.button::after {
  content: " »";
}

a.button:hover {
  background-position: 100% 0;
  box-shadow: 0 4px 15px 0 #1db5b3;
}

/* Mé služby */
#me-sluzby {
  min-height: 50vh;
}
#me-sluzby .flexbox {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
#me-sluzby .flexbox .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem;
  text-align: center;
  gap: 1rem;
}
#me-sluzby .flexbox h3 {
  color: var(--dark-grey);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 0;
}

#me-sluzby .flexbox img {
  max-width: 50%;
}

/* Hodnocení od zákazníků */
#testimonials {
  background: linear-gradient(45deg, var(--secondary) 0%, var(--primary) 200%);
}

#testimonials .swiper {
  margin: 0 auto 4rem auto;
}
#testimonials h2 {
  color: #fefefe;
}
#testimonials .card {
  border-radius: 20px;
  background: #fefefe;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
  font-family: 'Petrona';
}
#testimonials .card .by {
  float: right;
  font-weight: 200;
  font-size: 1.25rem;
  color: var(--dark-grey);
}
#testimonials blockquote {
  font-style: italic;
  position: relative;
  margin: 0;
  padding-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}
#testimonials blockquote::before {
  content: "“";
  font-size: 100px;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
  font-style: normal;
  color: var(--grey);
}
#testimonials blockquote::after {
  content: "„";
  font-size: 100px;
  line-height: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  font-style: normal;
  color: var(--grey);
}
.swiper-pagination {
  margin-top: 2rem;
  position: relative;
}

#fotogalerie .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
#fotogalerie .grid img {
  max-width: 100%;
}

.common-background-contact {
  background: linear-gradient(45deg, #1fb590 0%, var(--secondary) 200%);
}
#kontakt {
  min-height: 100vh;
  color: #fefefe;
}
#kontakt .flexbox {
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  flex-basis: 100%;
}
#kontakt .flexbox li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2rem;
}
#kontakt .flexbox li label {
  flex: 1 0 120px;
  max-width: 150px;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1.125rem;
  text-align: right;
}
#kontakt .flexbox li input, #kontakt .flexbox li textarea  {
  flex: 1 0 420px;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.125rem;
  transition: outline 0.2s ease-in-out;
  outline: 0px solid #fefefe;
  font-family: inherit;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
}

#kontakt .flexbox li textarea {
  min-height: 30vh;
}
#kontakt .flexbox input:focus, #kontakt .flexbox textarea:focus {
  outline: 3px solid #fefefe;
}
#kontakt .flexbox input[type="submit"] {
  max-width: 200px;
  padding: 1rem 2rem;
  border: none;
  font-weight: 600;
  color: #fefefe;
  transition: all 0.5s;
  background: linear-gradient(to right, var(--black), var(--secondary));
  border-radius: 30px;
  font-size: 1.25rem;
  background-size: 1000% 100%;
  margin-top: 40px;
  margin-left: auto;
}

#kontakt .flexbox input[type="submit"]:hover {
  cursor: pointer;
  box-shadow: 0 4px 15px 0 var(--secondary);
  background-position: 100% 0;

}
#kontakt .flexbox input[type="submit"]:focus {
  outline: none;
}

#kontakt .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

#kontakt .contact-grid .element {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
}

#kontakt .contact-grid .element h3, #kontakt .contact-grid .element i {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3rem;
  font-weight: 600;
  color: #eee;
}


#kontakt .contact-grid .element a, #kontakt .contact-grid .element span {
  color: #fefefe;
  font-size: 1.4rem;
}
#kontakt .contact-grid img {
  max-width: 25%;
}
footer {
  background-color: var(--black);
  text-align: center;
  padding: 2rem;
  color: var(--grey);
  background: linear-gradient(rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 1) 20%);

}
footer a {
  color: var(--secondary);
}

h2.section-heading {
  font-size: 2.5rem;
}
.color-secondary {
  color: var(--secondary);
  text-shadow: var(--secondary) 1px 0 25px;
}

#kontakt #response {
    border: 2px solid var(--white);
    border-radius: 10px;
    background-color: var(--white);
    padding: 1rem;
    font-size: 1.25rem;
    display: none;
    color: #1fb590;
    font-weight: 600;
}
#kontakt #response.visible {
    display: block;
}
#kontakt #response.error {
    border-color: #AD5221;
    background-color: #AD5221;
    color: var(--white);
}



@media screen and (max-width: 800px) {
  #tophead ul {
    flex-wrap: wrap;
    gap: 1rem;
    display: flex;
    flex-direction: row-reverse;
  }
  #hero img {
    max-width: 50%;
  }

  .width-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  #kontakt .flexbox li  {
    gap: 0.5rem;
  }
  #kontakt .flexbox li label {
    text-align: left; /*TODO*/
  }

}
