html {
  box-sizing: border-box;
}
*,
::after,
::before {
  box-sizing: inherit;
}

body {
  background-color: #eeeae4;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat";
  font-size: 18px;
  padding: 0;
  align-items: center;
  margin: 0;
  max-width: 100%;
  font-family: montserrat;
  font-weight: 400;
  /*overflow-x: hidden;*/
}

.line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  background-color: #070c12;
  height: 45px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (max-width: 500px) {
  /*.menu {
    max-width: fit-content;
    font-size: 2rem;
    margin-right: 2%;
  }*/
}
@media only screen and (min-width: 500px) {
  .line {
    height: 45px;
  }
}

.menu {
  /* max-width: fit-content;*/
  position: absolute;
  right: 18px;
  top: 5px;

  top: 50%;
  transform: translateY(-50%);
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 2vw;
  font-family: forum, serif;
  font-weight: 300;
  border-left: solid 1px #c69b34;
  padding-left: 0.3em;
  padding-right: 0.2em;
  margin: 1vw;
}

@media only screen and (max-width: 800px) {
  .bio,
  .kontakt,
  .maloobchod {
    display: none;
  }
}

a.kontakt {
  color: #c69b34;
  font-weight: 300;
}

.ham {
  /*hamburger a krizek*/
  position: absolute;
  right: 15px; /* Pevná vzdálenost od pravého okraje */
  top: 7px; /* Vertikálně vycentrovaný */

  width: 30px; /* Pevná šířka místo 3vw */
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 9999;
}
.cara1,
.cara2,
.cara3 {
  width: 100%;
  flex-shrink: 0;
  height: 2px;
  background-color: white;
  /*background-color: #ccbd71;*/
}
.cara2 {
  background-color: #c69b34;
}
@media only screen and (min-width: 800px) {
  .ham,
  .cara1,
  .cara2,
  .cara3 {
    display: none;
  }
}
@media only screen and (min-width: 500px) {
  .ham {
    right: 20px; /* Na mobilu trochu blíž ke kraji */
    width: 30px; /* Na mobilu trochu menší */
  }
}
.caraB {
  display: none;
}
.caraA {
  transform: rotate(45deg);
  position: relative;
  top: 20%;
}
.caraC {
  transform: rotate(-45deg);
  position: relative;
  bottom: 30%;
}

/*logo small v navigaci*/

.logoS {
  width: auto;
  height: 30px;
  padding: 5px;
  box-sizing: border-box; /* padding se počítá dovnitř */
  position: absolute;
  left: 32px; /* stejná vzdálenost jako má .ham od pravého okraje */
  top: 7.5px; /* vycentrované vertikálně */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logoS.visible {
  opacity: 1;
  visibility: visible;
}
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visible {
  opacity: 1;
  visibility: visible;
}

/*navigace na klik*/
.nav {
  background-color: #070c12;
  position: fixed;
  z-index: 9000;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  padding: 10%;
  padding-top: 30%;
}
ul {
  list-style: none;
  line-height: 300%;
  display: flex;
  flex-direction: column;
}
a.nav-link {
  color: #c69b34;
}
.nav-link {
  text-align: left;
  text-decoration: none;
  font-family: quicksand;
  font-size: 1.6rem;
  color: #c69b34;

  /*border-bottom: 1px solid #07192f;*/
}

@media only screen and (min-width: 800px) {
  .nav {
    display: none;
  }
}

.hidden {
  display: none;
}

.stop {
  height: 45px;
}

.velkohead {
  display: block;
  padding: 15% 10% 5% 8%;
  margin: 0;
  font-size: 25px;
  font-family: montserrat;
  font-weight: 500;
  color: #070c12;
  text-decoration: overline 1px #c69b34;
}

@media only screen and (min-width: 800px) {
  .velkohead {
    font-size: 32px;
    padding: 10% 10% 5% 10%;
  }
}
.text {
  padding: 0% 12% 5% 12%;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto;
}

.text strong {
  font-weight: 400;
  transition: font-weight 0.3s ease;
}

strong {
  font-weight: 400;
  transition: font-weight 0.3s ease;
}

.text strong.bold-visible,
strong.bold-visible {
  font-weight: 600;
}
.nabizime {
  padding: 5% 10% 5% 10%;
}

.nabidka {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-content: center;
  padding-bottom: 10%;
}
.off1,
.off2 {
  justify-items: center;
}
.offers {
  background: linear-gradient(135deg, rgb(36, 60, 90), rgba(36, 60, 90, 0.773));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 80%;
  padding: 1%;
  margin: 2%;
  border-radius: 0 0 0 10px;
  color: #eeeae4;
  font-weight: 500;
  text-align: center;
  border: 3px solid #c69b34;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease, transform 2s ease;
  align-self: center;
}

.offers.show {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (min-width: 800px) {
  .nabidka {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    align-items: start;
    gap: 2%;
  }

  .off1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 1;
    grid-column: 1;
    margin: 0;
    padding: 0;
  }

  .off2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    padding: 0;
  }

  .offers {
    width: 90%;
    margin: 2% auto;
    font-weight: 300;
  }
}

.objednavka {
  width: 100vw;
  background-color: #070c12;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #eeeae4;
  font-style: bold;
  width: 80vw;
}
.forms p {
  padding: 2rem 10% 5% 10%;
}
.forms input,
textarea {
  width: 90%;
  height: 2rem;
  margin: 1%;
  background-color: #eeeae4;
  border-radius: 0 0 0 10px;
  border-color: #243c5a;
}

textarea {
  height: auto;
}
label {
  padding: 1% 0 1% 0;
  text-align: center;
}
.forms button {
  background-color: #c69b34;
  width: max-content;
  height: 3rem;
  border-radius: 2px 2px 2px 10px;
  margin: 2rem;
  margin-bottom: 3rem;
  color: #070c12;
  font-size: 17px;
}
.forms button:hover {
  opacity: 0.4;
}
.formRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.footer {
  width: 100%;
  padding: 0;
  text-align: center;
}
.footer p {
  background-color: #070c12;
  color: #eeeae4;
  margin: 0;
  padding: 5%;
  text-align: center;
  font-size: 10px;
}

@media only screen and (min-width: 800px) {
  .forms {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 80vw;
    align-items: center;
  }

  .formLeft {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .formsText {
    padding: 0 2rem 0 0 !important;
    text-align: left;
    line-height: 1.6;
  }

  .formRight {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
  }

  .formRight label {
    margin-bottom: 0.3rem;
    padding-bottom: 0;
  }

  .formRight input,
  .formRight textarea {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .formRight button {
    align-self: center;
    margin-top: 1.5rem;
  }
  @media only screen and (min-width: 800px) {
    .footer {
      padding: 0;
    }
    .footer p {
      width: 100%;
      padding: 2% 5% 2% 5%;
    }
  }
}

/* Language Switcher Styles */
.lang-switcher {
  display: inline-flex;
  gap: 0.3em;
  margin-left: 1em;
  align-items: center;
  vertical-align: middle;
  padding-bottom: 1%;
}

.lang-btn {
  background-color: transparent;
  color: white;
  border: 1px solid #c69b34;
  font-size: 1.6vw;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
  margin: 0;
}
.lang-btn:hover {
  background-color: #c69b34;
  color: #070c12;
}

.lang-btn.active {
  background-color: #c69b34;
  color: #070c12;
  font-weight: 600;
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em 0;
  border-top: 1px solid #c69b34;
  margin-top: 1em;
}

.lang-switcher-mobile .lang-btn {
  font-size: 1.2rem;
  padding: 0.5em 1.2em;
}

/* Hide desktop language switcher on mobile */
@media only screen and (max-width: 800px) {
  .menu .lang-switcher {
    display: none;
  }
}

/* Hide mobile language switcher on desktop */
@media only screen and (min-width: 801px) {
  .lang-switcher-mobile {
    display: none;
  }
}

/* Pop-up okno */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 12, 18, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.popup-overlay.hidden {
  display: none;
  opacity: 0;
}

.popup-content {
  background-color: #eeeae4;
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  width: 400px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #243c5a;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
}

.popup-close:hover {
  color: #c69b34;
}

.popup-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.popup-content p {
  font-size: 20px;
  color: #243c5a;
  font-family: montserrat;
  font-weight: 500;
  margin: 0;
}

/* Fix styles for viewports 1350px and above */
@media only screen and (min-width: 1350px) {
  body {
    font-size: 20px;
  }

  .line {
    overflow: visible;
    max-width: 1350px;
    margin: 0 auto;
    height: 60px;
    left: 0;
    right: 0;
  }

  .menu a {
    font-size: 24.3px;
    margin: 13.5px;
  }

  .lang-btn {
    font-size: 21.6px;
  }

  .stop {
    max-width: 1350px;
    margin: 0 auto;
    height: 60px;
  }

  .text {
    font-size: 20px;
    width: 1350px;
    margin: 0 auto;
    padding: 0;
  }

  .velkohead {
    font-size: 36px;
  }

  .nabidka {
    max-width: 1350px;
    margin: 0 auto;
  }

  .objednavka {
    max-width: 1350px;
    margin: 0 auto;
    padding-bottom: 4rem;
  }

  .footer {
    text-align: center;
    max-width: 1350px;
    margin: 0 auto;
  }

  .footer p {
    padding: 1rem;
    font-size: 17px;
    text-align: center;
    width: 100%;
  }
  .forms {
    width: 1080px;
    max-width: 1080px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #070c12;
    color: #eeeae4;
  }
  .velkohead {
    color: #eeeae4;
  }
  .objednavka {
    background-color: #070c12;
  }
  .forms {
    color: #c69b34;
  }
  .forms input,
  textarea {
    background-color: #eeeae4;
  }

  .popup-content {
    background-color: #070c12;
    color: #eeeae4;
  }

  .popup-content p {
    color: #eeeae4;
  }

  .popup-close {
    color: #eeeae4;
  }

  .popup-close:hover {
    color: #c69b34;
  }
}
