* {
  padding: 0;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  font-optical-sizing: auto;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

:root {
  --light-blue: #00ccff;
  --black: #1d1c1b;
  --medium-blue: #336699;
  --element-blue: #86bbd8;
  --bg-clr: #fdfdfd;
}

body {
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: var(--bg-clr);
  color: var(--black);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
}

body,
html {
  position: relative;
  min-height: 100vh;
}

.mobile-menu.closed {
    background-image: url(../../assets/img/svg/icons/menu-icon.svg);
}
.mobile-menu.opened {
    background-image: url(../../assets/img/svg/icons/close-icon.svg);
}


.mobile-menu {
  display: none;
    width: 50px;
    height: 50px;
    border: none;
    object-fit: contain;
    background-size: contain;
    z-index: 9090999;
    background-color:transparent;
}

body::before {
  position: absolute;
  content: "";
  background-image: url("../img/png/bbq-grill.png");
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-repeat: space;
  background-size: 250px auto;
  z-index: -1;
}

.modal-target {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-target:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

.modal-arrow {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

#modal-prev {
  left: 10px;
}
#modal-next {
  right: 10px;
}

.modal-arrow:hover {
  color: #bbb;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 900px;
  opacity: 1 !important;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  background-color: transparent !important;
}

/* Add Animation */
.modal-content,
.modal-caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-atransform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.modal-target {
  border-radius: 10px;
}

/* #bg {
     position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  opacity: 0.15;
  filter: blur(15px);
} */

img {
  display: block;
}

.load {
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
}

.load.sl {
  transition-delay: 200ms;
}

.visible {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: 45px;
  color: black;
}

.container {
  max-width: 1140px;
  width: calc(100% - 15px);
}

#scroll-top {
  position: fixed;
  bottom: 5%;
  padding: 15px;
  right: 5%;
  transform: translate(-5%, -5%);
  z-index: 80;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  background-color: hsla(
    357.82608695652175,
    74.09765625%,
    35.60546875%,
    1
  ) !important;
  box-shadow: 1px 1px 8px #0000004f;
  img {
    width: 30px;
    object-fit: contain;
    filter: invert(1);
  }
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: #c0392b;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 0 0 black;
}

header::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  border-radius: 0 0 10px 10px;
  background: #ffffffb5;
  backdrop-filter: blur(15px);
  box-shadow: 0px 5px 8px 4px #00000012;
}

header nav {
  display: flex;
  flex-direction: row;
  padding-block: 0.5rem;
  align-items: center;
  position: relative;
}

header nav ul {
  display: flex;
  gap: 5rem;
  background: hsla(
    357.82608695652175,
    74.09765625%,
    35.60546875%,
    1
  ) !important;
  padding: 10px 40px;
  border-radius: 10px;
  margin-right: 0;
}

header nav ul li {
  list-style-type: none;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-size: 20px;
}

header nav ul li a.active {
  font-weight: 800;
  text-shadow: 0px 2px 0px #00000063;
  position: relative;
}

header nav ul li a.active::after {
  position: absolute;
  content: "";
  bottom: 5px;
  height: 1px;
  background: white;
}

/* header nav .img-container {
    position:absolute;
    top: 40px;
} */

.img-container {
  margin-left: 0;
}
/* header nav .img-container::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #ffffff0d;
    filter: blur(5px);
    border-radius: 50px;
} */

header nav img {
  width: 180px;
  position: relative;
  margin-left: 0;
}

.intro {
  margin-top: 200px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #c0392b, black);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  margin-top: 10px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
  color: black;
}

h3 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
  color: #c0392b;
}

p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.intro figure img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.intro figure {
  position: relative;
  z-index: 50;
}

article.bg-article {
  padding: 2.5rem;
  margin-block: 20px;
  box-shadow: 0px 2px 60px #e4e4e4, -20px -20px 60px #ffffff;
  border-radius: 10px;
  background: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 5;
}

/* article.bg-article::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.737);
    backdrop-filter: blur(10px);
    z-index: -1;
} */

.intro {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.gallery-row {
  display: grid;
  gap: 1rem; /* odstup mezi obrázky, volitelné */
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
}

#overlay-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 9999;
    display: none; /* skryté defaultně */
    text-align: center;
    padding: 20px;
}

form button {
  padding: 10px 20px;
  border: none;
  background-color: #c0392b;
  color:white;
  border-radius: 10px;
}

.gallery-row figure {
  margin: 0;
}

.gallery-row img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery {
  margin-bottom: 80px;
}

.pricing {
  margin-top: 200px;
  margin-bottom: 80px;
}

.pricelist-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  text-align: start;
}

.pricelist-table tr {
  border-bottom: 1px solid #eee;
}

.pricelist-table td {
  padding: 12px 10px;
}

.pricelist-table .name {
  font-weight: 600;
  color: #c0392b;
}

.pricelist-table .weight,
.pricelist-table .price {
  white-space: nowrap;
}

.pricelist-table tr:hover {
  background-color: #fafafa;
}

.gallerypage {
  margin-top: 200px;
  margin-bottom: 80px;
}

.gallery-row.page {
  margin-top: 22px;
}

.contact {
  margin-top: 200px;
  margin-bottom: 80px;
  position: relative;
}

.contact article figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
  flex: 1 0 48%;
  gap: 2rem;
  justify-content: space-around;

  > * {
    margin: 0;
  }

  .map {
    iframe {
      width: 100%;
      border-radius: 10px;
    }
  }
}

.contact article figure .info-wrapper {
  display: flex;
  gap: 3rem;
  > * {
    margin: 0;
  }
}

.contact-wrapper {
  flex-direction: row !important;
  flex-wrap: wrap;
}

form {
  display: flex;
  flex-direction: column;
  background: rgb(247, 247, 247);
  min-width: 50%;
  padding: 2rem;
  border-radius: 10px;
  flex: 1 0 48%;
}

form input,
textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid black;
  margin-bottom: 1rem;
  transition: 0.25s;
  position: relative;
  resize: none;
  text-align: start;
}

form label {
  margin-left: 0;
  margin-bottom: 10px;
}


#open_preferences_center {
  display: none;
    border-radius: 100px;
    background-color: var(--secondary-color);
    position: fixed;
    z-index: 20;
    bottom: 20px;
    left: 20px;
    padding: 10px;

    img {
      width: 42px;
      height: 42px;    
      object-fit: contain;
      display: block;

    }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  width: 100%;
  position: relative;
  background-color: black;
  color: white;
  text-align: center;
  margin-top: auto;
}

footer section {
  padding-block: 2.5rem;
}

header nav button {
  display: none;
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1100px) {
}

@media screen and (max-width: 870px) {
      #menu {
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 0;
        left: 0;
        background: #fffffff5;
        gap: 20px;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        padding: 3rem;
        transition: 500ms;
        transform: translateY(-100%);
width: 100%;
        height: 100%;
        border-radius: 0;
        justify-content: center;
    }

    .mobile-menu {
        display: inline-block;
    }

       #menu.active {
        transform: translateY(0);
 
    }

  header nav button {
    display: block;
    margin-right:15px;
  }
}

@media screen and (max-width: 768px) {
  .pricelist-table td {
    display: block;
    text-align: left;
    width: 100%;
  }

  .pricelist-table .weight,
  .pricelist-table .price {
    text-align: left;
    margin-top: 4px;
  }

  .pricelist-table tr {
    margin-bottom: 15px;
    display: block;
    border-bottom: 2px solid #ddd;
  }
}

@media screen and (max-width: 540px) {

  .gallery-row {
        grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  }
}
