/**
 * Theme Name: Restaurant Menu
 * Description: Simple restaurant menu - Blocksy Child theme
 * Author: Tuning4Web
 * Template: blocksy
 * Text Domain: blocksy
 */

.hero--image {
  display: block;
  margin: 0 auto;
}

@media (min-width: 1300px) {
  .hero--image {
    max-width: 1300px;
  }
}
/* Container for menu items */
.menu-category-button {
  border: 2px solid #fff;
  padding: 10px 12px;
  margin-bottom: 8px;
  margin-right: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-family: Comfortaa, sans-serif;
}

.menu-category-button.active {
  border-color: #60cb00;
}

.ct-container {
  margin: 30px 0;
}

.menu-items-container {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .menu-items-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Menu item styles */
.menu-item {
  padding: 15px;
  border: 1px solid #60cb00;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  margin-bottom: 20px;
}

.menu-item.show {
  opacity: 1;
  transform: translateY(0);
}

.menu-item-thumbnail {
  width: 100%;
  height: 200px; /* Ustalona wysokość obrazka, możesz dostosować */
  object-fit: cover;
  border-radius: 10px;
}

.menu-item-title {
  margin-top: 10px;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 0;
  color: #60cb00;
}

.menu-item-btn {
  cursor: pointer;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 20px;
  color: #fff;
  background: #60cb00;
}

.menu-item-category {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.menu-item-price {
  margin: 0;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

/* Modal styles */
.modal {
  display: none; /* Ukryj modal domyślnie */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 35px 20px;
  border-radius: 10px;
  border: 2px solid #60cb00;
  width: 600px;
  max-width: 98%;
  position: relative;
}

@media (max-width: 768px) {
  .modal-content {
    width: 94%;
  }
}

.modal-content h2 {
  color: #60cb00;
}

.modal-close {
  position: absolute;
  top: -8px;
  right: 8px;
  font-size: 30px;
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.modal-price {
  font-size: 24px;
  color: red;
  margin-top: 0;
  margin-bottom: 15px;
}

.modal-description {
  margin-top: 10px;
}

.allergen-title {
  font-weight: bold;
  margin-bottom: 8px;
}

hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.modal-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Odstępy między kolumnami */
  justify-content: flex-start;
}

.modal-allergens div {
  flex-basis: calc(25% - 20px); /* Maksymalnie 4 kolumny */
  text-align: center;
}

.allergen-icon {
  width: 40px; /* Ustalona szerokość obrazka alergenu */
  height: auto; /* Zachowaj proporcje */
  margin-bottom: 2px;
}

.allergen {
  display: block;
  font-size: 13px; /* Możesz dostosować rozmiar tekstu */
}

.modal-additional-info {
  margin-top: 20px;
}

.modal-additional-info img {
  width: 25px;
  margin-right: 10px;
}

.recommended-item {
  position: absolute;
  top: 3px;
  left: 8px;
}

.recommended-icon {
  max-width: 100px;
}

.modal-thumbnail {
  width: 100%;
}

.modal-content > h2 {
  margin-bottom: 0;
  margin-top: 10px;
  font-size: 25px;
}

.ct-footer-copyright,
.ct-footer-copyright a {
  color: #fff !important;
}

.slick-slider {
  margin-bottom: 5px;
}

.slider-nav {
  text-align: center;
}

.slider-nav .slick-dots {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.slider-nav .slick-dots li {
  margin: 0 5px; /* Odstęp między kropkami */
}

/* Styl kropek nawigacyjnych */
.slider-nav .slick-dots li button {
  background-color: white;
  border: 1px solid #60cb00;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  font-size: 0; /* Usuwa numery z kropek */
  text-indent: -9999px; /* Dodatkowe zabezpieczenie na ukrycie tekstu */
}

/* Aktywna kropka */
.slider-nav .slick-dots li.slick-active button {
  background-color: green;
  border-color: white;
}

/* Hover na kropkach */
.slider-nav .slick-dots li button:hover {
  background-color: green;
  border-color: white;
}

.top-flags {
  position: absolute;
  left: 25px;
  top: 20px;
  z-index: 3332;
}

.top-flags a {
  margin-right: 10px;
}

.top-flags img {
  max-width: 22px;
}

.menu-item-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #fff;
  margin-top: 10px;
  padding-top: 20px;
  position: relative;
}

.recommended-item-cat {
  position: absolute;
  left: 40%;
  bottom: -32px;
}

.recommended-item-cat .recommended-icon {
  max-width: 65px;
}

.menu-categories-column .menu-category-button {
  width: 100%;
}

.home-btn {
  text-align: center;
  border-radius: 50%;
  background-color: #f5f5f5;
  font-size: 25px;
  width: 45px;
  height: 45px;
  box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.2);
  position: fixed;
  right: 10px;
  bottom: 20px;
}

.home-btn img {
  width: 30px;
}

#back-button button {
  background: none;
  color: #fff;
  cursor: pointer;
}

.menu-item--opis {
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
}

.menu-item--opis p {
  margin-bottom: 5px;
}