/* ==========================================================================
   rafting-montenegro.me — theme layer
   base.css is a byte-identical copy of book-montenegro's site.css.
   Everything site-specific lives here, so the base can be re-synced with cp.
   ========================================================================== */

:root {
  --accent:      #0E9AA7;
  --accent-dark: #0A7C87;
  --accent-soft: #E1F5F6;

  --ink:    #0B2B33;
  --ink-2:  #2E4E56;
  --ink-3:  #5F7B83;
  --ink-4:  #93A9AF;

  --bg-tint: #F2FAFA;
  --navy:    #0B2B33;
  --line:    #DCEDEF;

  --grad:      linear-gradient(115deg, #0E9AA7 0%, #17B3B0 55%, #4FCBC0 100%);
  --grad-navy: linear-gradient(115deg, #0B2B33 0%, #124450 100%);

  --shadow-sm: 0 2px 10px rgba(11, 43, 51, .06);
  --shadow:    0 12px 34px rgba(11, 43, 51, .10);
  --shadow-lg: 0 26px 60px rgba(11, 43, 51, .14);
}

.btn--primary { box-shadow: 0 8px 20px rgba(14, 154, 167, .30); }

.hero::before {
  background: radial-gradient(circle, rgba(79, 203, 192, .28), transparent 65%);
}

/* the canyon is portrait country — let the hero image run taller */
.hero__art-main { height: 480px; }

/* difficulty pill, rafting-only */
.grade {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
}
.dest__body .grade { background: rgba(255,255,255,.9); color: var(--ink); }

/* meeting point line — the one thing GetYourGuide reviews complain about */
.meet {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px; margin-top: 22px;
}
.meet svg { flex: none; color: var(--accent); margin-top: 2px; }
.meet b { display: block; font-size: 13px; }
.meet span { font-size: 13px; color: var(--ink-3); }

@media (max-width: 860px) {
  .hero__art-main { height: 340px; }
}

.dest__body .grade { margin-bottom: 8px; }

/* ==========================================================================
   Featured operators
   ========================================================================== */

.operator {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.operator + .operator { margin-top: 22px; }

.operator__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.operator__badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 12px;
}
.operator__head h3 { font-size: clamp(20px, 2.2vw, 26px); }
.operator__head p  { margin-top: 10px; font-size: 15px; color: var(--ink-3); max-width: 62ch; }
.operator__where { font-size: 13px !important; }
.operator__where a { color: var(--accent); font-weight: 600; }

.operator__stat { text-align: right; flex: none; }
.operator__stat b { display: block; font-size: 26px; color: var(--accent); line-height: 1.1; }
.operator__stat span { font-size: 12px; color: var(--ink-3); }

.pkg-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }
.pkg-filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 700;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.pkg-filter:hover { border-color: var(--accent); color: var(--accent); }
.pkg-filter.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* minmax(0,1fr) or a wide price row makes its own column wider than the rest */
.pkg-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.pkg {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform .22s cubic-bezier(.22,.8,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }

/* flex:none or the grid stretches the photo instead of the text block,
   and cards in the same row end up with different image heights */
.pkg__media {
  position: relative; flex: none; min-height: 0;
  aspect-ratio: 3/2; background: var(--bg-tint);
}
.pkg__media img { width: 100%; height: 100%; object-fit: cover; }
.pkg__media--empty { display: grid; place-items: center; color: var(--accent); }
.pkg__count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(11, 43, 51, .72); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}

.pkg__thumbs { display: flex; gap: 6px; padding: 10px 10px 0; }
.pkg__thumb {
  width: 46px; height: 34px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: none; flex: none;
  transition: border-color .16s ease, opacity .16s ease;
  opacity: .65;
}
.pkg__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pkg__thumb:hover { opacity: 1; }
.pkg__thumb.is-on { border-color: var(--accent); opacity: 1; }

.pkg__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 20px; }
.pkg__name   { font-size: 16px; line-height: 1.3; }
.pkg__meta   { display: block; font-size: 12px; color: var(--accent-dark); font-weight: 700; margin-top: 6px; }
.pkg__detail { display: block; font-size: 13px; color: var(--ink-3); margin-top: 10px; }

.pkg__buy {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 18px;
}
.pkg__price { font-size: 22px; font-weight: 800; color: var(--ink); }

.pkg-more { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.pkg-more a { color: var(--accent); font-weight: 700; }

@media (max-width: 1080px) {
  .pkg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .operator { padding: 22px; }
  .operator__head { flex-direction: column; gap: 16px; }
  .operator__stat { text-align: left; display: flex; gap: 26px; align-items: baseline; }
  .operator__stat b { font-size: 20px; }
  .pkg-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- open slots on the home page */
.operator-list { display: grid; gap: 20px; }

.slot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 2px dashed var(--line); border-radius: var(--r-xl);
  padding: 26px 30px; background: transparent;
}
.slot:hover { border-color: var(--accent); }
.slot__tag {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 10px;
}
.slot h4 { font-size: 18px; }
.slot p { font-size: 14px; color: var(--ink-3); margin-top: 8px; max-width: 62ch; }

/* tier styling for the directory blocks */
.operator--partner { border-color: var(--accent); }
.operator--osnovni { padding: 22px; }
.operator--osnovni .operator__head h3 { font-size: 18px; }
.pkg-more { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

@media (max-width: 640px) {
  .slot { flex-direction: column; align-items: flex-start; }
}

/* language switch in the nav */
.lang-switch { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.lang-switch a, .lang-switch .lang {
  font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  color: var(--ink-3);
}
.lang-switch a:hover { color: var(--accent); background: var(--accent-soft); }
.lang-switch .lang.is-on { background: var(--accent); color: #fff; }
@media (max-width: 640px) { .lang-switch a, .lang-switch .lang { padding: 5px 7px; font-size: 11px; } }
