/* ==========================================================
   ZLZINFO — zajednički stylesheet za sve informativne sekcije
   ========================================================== */

/* ====== GLOBAL ====== */
.zlzinfo-section {
  /* max-width: 1000px; */
  
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d0e6f8;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,61,122,.15);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: var(--font-base);
 
}

/* ====== TITLES ====== */
.zlzinfo-title {
  font-size: var(--font-xlarge);
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0 0 18px;
  border-bottom: 2px solid #cce4f7;
  padding-bottom: 8px;
}

/* ====== PARAGRAPHS ====== */
.zlzinfo-section p {
  margin: 0 0 16px;
  font-size: var(--font-base);
  color: var(--text-dark);
}

/* ====== SUBHEADINGS ====== */
.zlzinfo-subheading {
  color: var(--primary-blue);
  font-size: var(--font-large);
  border-bottom: 1px solid #d6e3f0;
  padding-bottom: 6px;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}

.zlzinfo-subheading-small {
  color: var(--primary-blue);
  font-size: 18px;
  margin: 18px 0 10px;
  font-weight: 700;
}

/* ====== ALERT BOX ====== */
.zlzinfo-alert {
  background-color: #fdeaea;
  border: 1px solid #f2c8c8;
  border-left: 6px solid var(--danger);
  padding: 14px 16px;
  border-radius: 10px;
  margin: 16px 0;
  color: #8b1a1a;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.zlzinfo-alert-icon {
  font-size: 20px;
  line-height: 1;
}

/* ====== LINK BOX ====== */
.zlzinfo-linkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  background: #eaf3ff;
  border: 1px solid #cfe3fb;
  border-left: 6px solid var(--primary-blue);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,61,122,.15);
  transition: all .15s ease;
}

.zlzinfo-linkbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,61,122,.25);
  background: #f3f8ff;
}

.zlzinfo-linkbox-icon {
  width: 22px;
  height: 22px;
  opacity: .95;
}

.zlzinfo-link {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: none;
}

.zlzinfo-link:hover {
  text-decoration: underline;
}

/* ====== CONTACT BOX ====== */
.zlzinfo-contactbox {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #eaf3ff;
  border: 1px solid #cfe3fb;
  border-left: 6px solid var(--primary-blue);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,61,122,.15);
}

.zlzinfo-contactbox strong {
  font-size: var(--font-base);
  color: var(--primary-blue);
  display: block;
  margin-bottom: 4px;
}

/* ====== LAYOUT SLIKE + TEKST ====== */
.zlzinfo-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  margin-top: 26px;
  align-items: start;
}

.zlzinfo-main {
  min-width: 0;
}

/* ====== LISTS ====== */
.zlzinfo-section ul {
  padding-left: 20px;
  margin: 8px 0 18px;
}

.zlzinfo-section li {
  margin-bottom: 8px;
}

/* ====== EXPANDABLE IMAGE ====== */
.zlzinfo-img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid #cfd9e6;
  background: #fff;
  cursor: zoom-in;
  transition: all .15s ease;
}

.zlzinfo-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,61,122,.25);
  border-color: #b7d4f1;
}

/* ====== FULL WIDTH IMAGE ====== */
.zlzinfo-img-full {
  max-width: 860px;
  width: 100%;
  margin: 26px auto 10px;
  display: block;
  border-radius: 10px;
  border: 1px solid #cfd9e6;
  cursor: zoom-in;
  transition: all .15s ease;
}

.zlzinfo-img-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,61,122,.25);
  border-color: #b7d4f1;
}

/* ====== MODAL ====== */
.zlzinfo-modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0,0,0,.9);
}

.zlzinfo-modal-content {
  max-width: 90%;
  max-height: 90%;
  
  border-radius: 10px;
}

.zlzinfo-modal-close {
  position: fixed;
  top: 16px;
  right: 26px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .zlzinfo-layout {
    grid-template-columns: 1fr;
  }
  .zlzinfo-img-full {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .zlzinfo-section {
    padding: 20px;
  }
  .zlzinfo-title {
    font-size: var(--font-large);
  }
  .zlzinfo-section p {
    font-size: 15px;
  }
}




/* =========================================
   WEB CHECK-IN (lista aviokompanija)
   koristi .zlz-info-* klase samo za ovu stranicu
   ========================================= */

/* Glavni box */
.zlz-info-box {
  display: flex;
  flex-wrap: wrap;
  max-width: 1140px;
 
  gap: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Naslov sekcije */
.zlz-info-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-blue);
  border-bottom: 2px solid #d0e6f8;
  padding-bottom: 6px;
}

/* Lijevi stupac – kompanije */
.zlz-list-box {
  flex: 1;
  min-width: 320px;
}

.zlz-list-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #f9fbfd;
  border: 1px solid #d0e6f8;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #000;
}

.zlz-list-item:hover {
  background-color: #eaf3ff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,61,122,.25);
}

.zlz-list-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
}

.zlz-list-name {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
}

/* Desni stupac – tekst */
.zlz-info-text {
  flex: 1;
  min-width: 320px;
}

.zlz-info-intro {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.zlz-info-subtitle {
  font-size: 16px;
  font-weight: 700;
  background-color: #e9f1fb;
  color: var(--primary-blue);
  padding: 8px 12px;
  text-transform: uppercase;
  margin: 25px 0 12px;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.zlz-info-list {
  margin-left: 20px;
  padding-left: 0;
}

.zlz-info-list-item {
  margin-bottom: 10px;
  list-style-type: disc;
  font-size: 15px;
}


/* ============================
   ZLZINFO — TABLICE
   ============================ */

.zlzinfo-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid #d0e6f8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,61,122,.10);
}

.zlzinfo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.zlzinfo-table th {
  background: var(--primary-blue);
  color: #ffffff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
}



/* Responsive samo za ovaj box */
@media (max-width: 768px) {
  .zlz-info-box {
    flex-direction: column;
  }
}


/* ============================
   ZLZINFO  ---> tablice 
   ============================ */

.zlzinfo-table-wrap {
  margin: 16px 0;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(58, 82, 134, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
}

.zlzinfo-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

/* header */
.zlzinfo-table thead th {
  background: var(--primary-blue);
  color: #ffffff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
}

/* vertikalna linija izmedu  stupaca */
.zlzinfo-table thead th + th,
.zlzinfo-table td + td {
  border-left: 1px solid #dce3ee;
}

/* celije */
.zlzinfo-table td {
  padding: 14px 16px;
  border-top: 1px solid #e5e9f2;
  font-size: 15px;
  color: var(--text-dark);
}

/* zebra redovi */
.zlzinfo-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

/* stupac s cijenama */
.zlzinfo-price {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;


  
}


/* Taxi dio u sekciji kako do nas  */
.yellow {
  background: #fff7d6;
  border-left: 6px solid #f4c534;
  color: #704c00;
  
}


/* ============================
   ZLZINFO — JAVNI PRIJEVOZ (TABOVI + TABLICE)
   ============================ */

/* Sekcija za javni prijevoz (modifier na postojećoj .zlzinfo-section) */
.zlzinfo-section--tabs {
  padding-top: 20px;
}

/* --------- TABS (dani u tjednu) --------- */

.zlzinfo-tabs {
  display: flex;
  align-content: center;
  overflow-x: auto;
  gap: .5rem;
  margin-bottom: 1rem;
}

.zlzinfo-tab {
  appearance: none;
  border: 1px solid var(--primary-blue);
  background: #eaf3ff;
  color: var(--primary-blue);
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}

.zlzinfo-tab:hover {
  background: #dff2ff;
}

.zlzinfo-tab.active {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,61,122,.25);
}

/* Tab panela (sadržaj po danima) */

.zlzinfo-tabpanel {
  display: none;
}

.zlzinfo-tabpanel.active {
  display: block;
}

/* --------- TABLICE (samo za javni prijevoz ) --------- */

/* wrapper oko tablice – dodatni modifier da ne dira druge tablice */
.zlzinfo-table-wrap--bus {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d0e6f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,61,122,.15);
  background: #fff;
}

/* tablica – modifier preko postojece .zlzinfo-table */
.zlzinfo-table--bus {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px; /* da ostane citljivo, scroll na manjim sirinama */
}

.zlzinfo-table--bus th,
.zlzinfo-table--bus td {
  border-bottom: 1px solid #cce4f7;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
}

/* sticky header */
.zlzinfo-table--bus thead th {
  background-color: var(--primary-blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* zebra redovi */
.zlzinfo-table--bus tbody tr:nth-child(even) {
  background-color: #eaf3ff;
}

/* hover efekt */
.zlzinfo-table--bus tbody tr:hover {
  background: #f6fbff;
}

/* --------- Utility oznaka (zelene napomene) --------- */

.zlzinfo-note-green {
  color: #1b8d3b;
  font-weight: 700;
}

/* --------- Responsive ponasanje tabova --------- */

@media (min-width: 1100px) {
  .zlzinfo-tabs {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .zlzinfo-tab {
    padding: .45rem .85rem;
  }
}


/* svijetlija pozadina samo za parking sekciju */
.zlzinfo-section--parking {
  background: #f9fbfd;
}

/* redovi-naslovi unutar tablice (Osobni automobil, Parkiranje po satu...) */
.zlzinfo-table-rowtitle--parking td {
  background: #f3f8ff;
  color: var(--primary-blue);
  font-weight: 700;
}

/* plava napomena ispod tablice */
.zlzinfo-parking-note {
  background: #eef7ff;
  border: 1px solid #d8ebff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  color: var(--primary-blue);
  font-weight: 600;
}


/*  */
.zlzinfo-layout .zlzinfo-table {
  min-width: 0;
}



