 /* Images in Ubytovanie and Aktivity a Relax */
.member-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rezervujte si svoj pobyt */
.events-section .container {
  padding-left: 32px;
  padding-right: 32px;
}

/* Info pop up button */
.zem-info-btn {
  background-color: #3D405B;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.zem-info-btn:hover { background-color: #81B29A; }

/* Pop up styles page */
.zem-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.zem-popup-overlay.active { display: flex; }

.zem-popup {
  background: #fff;
  max-width: 780px;
  width: 90%;
  padding: 30px;
  max-height: 90vh;          /* KEY LINE */
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
  font-size: 16px;
}

/* Info pop up text */
.zem-popup h2 { color: #2f6f62; margin-top: 0;}
.zem-popup h4 { margin-top: 18px; font-size: 20px;}
.zem-popup p {
  font-size: 16px; /* menší odsek */
}

/* Info pop up close button */
.zem-close {
  position: sticky;
  float: right;
  top: 12px;
  right: 14px;
  cursor: pointer;
  color: #999;
  font-size: 30px;
}

/* Info pop up icons*/
.offers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  margin-top: 16px;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.offer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.offer-title {
  font-weight: 500;
  font-size: 15.5px;
}

.offer-text small {
  color: #6c757d;
  font-size: 13.5px;
}

.offers-list.unavailable .offer-icon {
  opacity: 0.35;
  filter: grayscale(100%);
}

.offers-list.unavailable i {
  opacity: 0.35;
}

.offer-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.offer-item i {
  font-size: 18px;
}

.offers-list.unavailable .offer-item {
  color: #999;
  text-decoration: line-through;
}

.offers-list.unavailable i {
  color: #bbb;
}

/* Dvojstĺpcový zoznam s bullet points */
.columns .column ul li {
  font-size: 16px; /* menší text v zozname */
}
 
.columns {
  display: flex;
  gap: 40px; /* vzdialenosť medzi stĺpcami */
  flex-wrap: wrap; /* aby sa stĺpce zalamovali na menších obrazovkách */
}

.columns .column ul {
  list-style: none; /* odstráni pôvodné bulletky */
  padding: 0;
}

.columns .column ul li {
  position: relative;
  padding-left: 25px; /* miesto pre šípku */
  margin-bottom: 8px;
}

.columns .column ul li::before {
  content: "-"; /* šípka ako bullet */
  position: absolute;
  left: 0;
  font-size: 16px; 
}

.column {
  flex: 1; /* každý stĺpec zaberie rovnakú šírku */
  min-width: 250px; /* zabráni príliš úzkym stĺpcom */
}

/* Mobile*/
@media (max-width: 768px) {
  .zem-popup {
    max-height: 85vh;
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .offers-list {
    grid-template-columns: 1fr;
  }
}

/* Cennik */
/* Button group styling */
.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.button-group .zem-info-btn {
  flex: 0 1 auto;
}

/* Wider popup for pricing table */
.zem-popup-wider {
  max-width: 850px;
}

/* Season sections */
.season-section {
  margin: 2px 0;
}

.season-dates {
  color: #6c757d;
  font-size: 15px;
  margin-bottom: 20px;
  font-style: italic;
}

.season-divider {
  border-top: 2px solid #e0e0e0;
}

/* Pricing table - DESKTOP */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.pricing-table thead {
  background-color: #3D405B;
  color: white;
}

.pricing-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: #f8f9fa;
}

.pricing-table td {
  padding: 16px 15px;
  font-size: 16px;
  vertical-align: middle;
}

.pricing-table td strong {
  color: #3D405B;
  font-size: 20px;
}

/* Season cell styling */
.season-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.season-cell i {
  font-size: 22px;
  color: #81B29A;
}

.season-name {
  font-weight: 500;
  color: #333;
  font-size: 16px;
}

/* MOBILE - CARD LAYOUT */
@media (max-width: 768px) {
  .zem-popup-wider {
    max-width: 95%;
  }
  
  .button-group {
    gap: 15px;
  }

  /* Zmena tabuľky na karty */
  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tr {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 18px;
  }
  
  .pricing-table tr:last-child {
    margin-bottom: 0;
  }
 
  .pricing-table tr:hover {
    background-color: #f0f0f0;
  }

  .pricing-table td {
    padding: 10px 0;
    border: none;
    text-align: left !important;
    position: relative;
    padding-left: 0;
  }

  .pricing-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #3D405B;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .pricing-table td:first-child {
    padding-top: 0;
  }

  .pricing-table td:last-child {
    padding-bottom: 12px;
    font-size: 18px;
  }

  .season-cell i {
    font-size: 20px;
  }

  .season-name {
    font-size: 15px;
  }

  .pricing-table td strong {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .button-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .button-group .zem-info-btn {
    width: 100%;
  }

  .pricing-table tr {
    padding: 12px;
  }

  .pricing-table td:before {
    font-size: 12px;
  }

  .season-cell {
    gap: 10px;
  }

  .season-cell i {
    font-size: 18px;
  }

  .season-name {
    font-size: 14px;
  }

  .pricing-table td strong {
    font-size: 20px;
  }
}