:root {
  --primary: #0a4985;
  --accent: #f95738;
  --background: #f4f4f4;
  --text: #222;
  --white: #fff;
  --text-muted: white;
  --border-color: var(--white);
  --header-btn-color: black;
  --nav-color: #0054a3;
  --footer-color: #083d6e;
  --hover-color: #f57c00;
  --formbutton: #f95738;
  --card-background: #eef2f7;


  --small--distance: 1em;
  --medium--distance: 1.5em;
  --large--distance: 6em;
}

.services h2 {
  text-align: center;
}

.cenik-header {
  background: var(--primary);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  height: 20vh;
}

.cenik-header h1 {
  margin: 0;
}

.validity {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cenik--main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.cenik--main h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
}

.cenik--main table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cenik--main td:nth-child(3),
.cenik--main th:nth-child(3) {
  white-space: nowrap;
}


.cenik--main th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.cenik--main th {
  background-color: var(--accent);
  color: var(--white);
}

.note {
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  color: #555;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.5;
  background-color: var(--background);
}

.text--bold {
  font-weight: bold;
}

.flex {
  display: flex;
}

.flex--column {
  flex-direction: column;
}

.sticky {
  position: sticky;
  top: 0;
  background-color: var(--nav-color);
  font-size: 1em;
  z-index: 9999;
}

#burger {
  display: none;
  background: none;
  background-color: var(--nav-color);
  border: none;
  font-size: 2em;
  color: var(--text-muted);
}

.items-center {
  align-items: center;
}

.just-center {
  justify-content: center;
}

.button--review {
  width: 6em;
  background-color: var(--formbutton);
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  transition: background 0.3s, color 0.3s;
}

.button--review:hover {
  background-color: var(--hover-color);
}

.navigace {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.3s;
}


.right {
  justify-content: flex-end;
}

.margin-left {
  margin-left: 1em;
}

.list {
  list-style: none;
  gap: 1.5em;
}

.left {
  margin-right: auto;
}

.margin-right {
  margin-right: 1em;
}

.logo {
  width: 18vw;
  height: 6vw;
}

header {
  background-image: url('opravaKola.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6.25em 1.25em;
  text-align: center;
  height: 65vh;
  scroll-margin-top: 10em;

}

.container .button {
  border: 2px solid #ffffff;
}

.header__hero-content__title {
  margin: 0 0 1rem;
}

.header__hero-content__subtitle {
  font-size: 2em;
  margin-bottom: 1em;
}

.header__hero-content__btn {
  color: var(--white);
  font-weight: bold;
  font-size: 1.5em;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s;
}



.service__button {
  color: var(--header-btn-color);
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s;
  margin-left: auto;
}

.button {
  padding: 0.75rem 1.5rem;
  border: 1px solid #2a3b5d;
  text-decoration: none;
}

.card--limited {
  max-width: 500px;
  font-size: 1.3em;
  padding: 2.5em;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--card-background);
}

.center {
  justify-content: center;
  align-items: center;
}

.border {
  border: 2px solid var(--border-color);
  padding: 0.8em 1em;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 140px;
}

.text-center {
  text-align: center;
}

.margin--small {
  margin: var(--small--distance);
}

.about-container {
  gap: 8rem;
  text-align: left;
}

.margin--top--large {
  margin-top: var(--large--distance);
}

.margin--top--large-first {
  margin-top: 10em;
}

.margin--bottom--large {
  margin-bottom: var(--large--distance);
}

.icon--medium {
  font-size: 1.5em;
}

.grid {
  display: grid;
}

.grid--even {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 7em;
}

.flex--horizontal {
  flex-direction: column;
}

.margin--top--small {
  margin-top: var(--small--distance);
}

.flex--even-space__half__icon-container {
  gap: 1vw;
}

.flex--even-space__half__icon-container img {
  align-self: center;
  height: 2em;
  width: 3em;
}

.margin-none {
  margin: 0px;
}

.form--container {
  flex-direction: column;
  max-width: 500px;
  gap: 10px;
}

.form--container__input {
  padding: 10px;
  border: none;
  background-color: var(--white);
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form--container__button {
  background-color: var(--formbutton);
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.form--container__button:hover {
  background-color: var(--hover-color);
}



.services {
  padding: 4em em;
}


.services p {
  text-align: left;
  margin: 0.8em;
}

.services-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 5em;
  max-width: 800px;
  margin: 0 auto;
}


.service-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.3);
  padding: 0.4em;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: var(--card-background);
}


.image-placeholder {
  width: 100%;
  height: 12em;
}

.service-card h3 {
  text-align: left;
  font-weight: bold;
  margin: 0.8em;
  min-height: 3.2em;
  align-items: flex-end;
}

.flex--gap {
  gap: 2em;
  margin: 0.8em;
}

.service-card p {
  line-height: 1.4;
}

.container {
  top: 30%;
  left: 10%;
  position: absolute;
  text-align: left;
  backdrop-filter: blur(4px);
  padding: 1em;
  border-radius: 25%;
}

.width-button {
  width: 4em;
  font-size: 2em;
}

.width-button:hover {
  background-color: var(--hover-color);
  color: var(--white);
}

.border:hover {
  background-color: var(--hover-color);
  color: var(--white);
}

h1 {
  font-size: 5.5em;
  color: white;
}

h2 {
  font-size: 2.5em;
}

.footer {
  background-color: var(--footer-color);
  color: var(--white);
  padding: 1em;
}

#main-page-button {
  display: none;
}

section {
  scroll-margin-top: 10em;
}

.review-card {
  border: 2px solid #333;
  padding: 1em 1.2em;
  margin-top: var(--small--distance);
  width: 40vw;
  align-items: center;
}

.review-left {
  flex-direction: column;
  align-items: flex-start;
  width: 150px;
  margin-right: 20px;
}

.review-name {
  font-size: 14px;
  margin-bottom: 5px;
}

.review-rating {
  align-items: center;
  gap: 5px;
}

.rating-box {
  background-color: #3b82f6;
  color: white;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-weight: bold;
  font-size: 13px;
}

.star {
  font-size: 16px;
  color: black;
}

.review-right p {
  margin: 0;
  font-size: 14px;
}

.emoji {
  margin-left: 4px;
}


@media screen and (max-width: 1200px) {
  .grid--even {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--medium--distance);
    justify-items: center;
    text-align: center;
  }

  .form--container__input {
    width: 35em;
  }

  .margin--top--large-first {
    margin-top: 5em;
  }
}

@media screen and (max-width: 860px) {
  .flex:not(.review-card) {
    flex-direction: column;
  }

  .review-card {
    width: 60vw;
  }

  .flex--gap {
    gap: 1em;
  }

  .service__button {
    color: var(--header-btn-color);
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
    margin-left: 0px;
  }

  .container .button {
    border: 2px solid #000000;
  }

  .container h1 {

    color: black;
  }

  .header__hero-content__btn {
    color: black;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-container {
    gap: 0em;
  }

  .card--limited {
    max-width: 500px;
    font-size: 1em;
    margin-left: 1em;
    margin-right: 1em;
  }

  .border {
    border: none;
  }

  #burger {
    display: block;
  }

  #main-page-button {
    display: block;
  }

  .logo-container {
    display: none;
  }

  #nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
    background-color: var(--nav-color);
    padding: 1em 0;
  }

  #nav-list.active {
    display: flex;
  }

  header {
    background-image: none;
    padding: 6.25em 1.25em;
    text-align: center;
    height: 60vh;
    scroll-margin-top: 10em;
  }

  .container {
    position: static;
    text-align: center;
    backdrop-filter: blur(4px);
    padding: 1em;
    border-radius: 0%;
    margin: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


}



@media screen and (max-width: 550px) {
  .flex:not(.review-card) {
    flex-direction: column;
  }

  .review-card {
    width: 75vw;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
  }

  .grid--even {
    display: flex;
    flex-direction: column;
  }

  .form--container__input {
    width: 80%;
    max-width: 30em;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    box-sizing: border-box;
  }

  .form--container__button {
    width: 80%;
    max-width: 30em;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: 3.5em;
  }

  .header__hero-content__subtitle {
    font-size: 1.5em;
    margin-bottom: 1em;
  }

  .width-button {
    width: 100%;
    max-width: 4em;
    font-size: 1.5em;
  }
}

@media screen and (max-width: 400px) {
  .none {
    display: none;
  }
}