/*
Theme Name: Eloi Travel
Theme URI: https://eloi.test
Author: PC-Clock
Description: Custom tema za turističku agenciju Eloi Travel. Dizajn iz Faze 0 (demo). Pregled ponude + forma za upit za rezervaciju; kupovni tok (Faza 4) dodaje se naknadno.
Version: 0.3.10
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: eloi
Tags: travel, custom
*/

/* ==========================================================================
   ELOI TRAVEL — demo dizajn sustav (Faza 0)
   ========================================================================== */

:root {
  --navy: #0d2b4e;
  --navy-deep: #081b32;
  --navy-soft: #16385f;
  --ivory: #f6efe2;
  --sand: #ecdfc4;
  --sand-dark: #d8c39c;
  --gold: #b8935a;
  --gold-soft: #cfae7c;
  --text: #1c2a38;
  --text-soft: #5a6a78;
  --white: #fffdf8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --header-h: 78px;
  --header-h-compact: 66px;
  --catbar-h: 58px;
  --banner-h: 0px;

  --shadow-soft: 0 10px 30px rgba(8, 27, 50, 0.12);
  --shadow-strong: 0 20px 50px rgba(8, 27, 50, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

section[id] { scroll-margin-top: calc(var(--banner-h) + var(--header-h) + var(--catbar-h) + 14px); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.15; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(184, 147, 90, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(184, 147, 90, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--ivory); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(246, 239, 226, 0.6);
}
.btn-outline-light:hover { background: var(--ivory); color: var(--navy-deep); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.section-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ==========================================================================
   NAVIGATION — gornji meni + donja kategorijska traka
   ========================================================================== */
.top-nav {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  height: var(--header-h);
  z-index: 320;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.35s var(--ease);
}
.top-nav > .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 60px; width: auto; transition: height .35s var(--ease); }

.main-links { display: flex; align-items: center; gap: 34px; }
.main-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.main-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--gold);
  transition: right .35s var(--ease);
}
.main-links a:hover::after { right: 0; }

.lang-select {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ivory);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.lang-select select {
  background: transparent;
  border: none;
  color: var(--ivory);
  appearance: none;
  /* Fallback for the rare case JS doesn't run — script.js replaces this
     with the fully custom, rounded dropdown below (see CUSTOM SELECT). */
  color-scheme: dark;
}
.lang-select select option { background: var(--navy); color: var(--ivory); }

/* ==========================================================================
   CUSTOM SELECT — rounded dropdown popup
   A native <select>'s open popup is drawn by the OS/browser chrome, not the
   page — border-radius on the select itself has zero effect on it. To get
   rounded corners on the open list we replace the visual control with a
   custom button + listbox (built in script.js's enhanceSelect()), while the
   original <select> stays in the DOM — invisible, but still the thing that
   actually holds the value — so existing form logic and 'change' listeners
   (e.g. the dynamic dob-djeteta fields) keep working untouched.
   ========================================================================== */
.custom-select { position: relative; }
.custom-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.custom-select-arrow {
  width: 8px; height: 8px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  opacity: .65;
  margin-top: -3px;
}
.custom-select.open .custom-select-arrow { transform: rotate(-135deg); margin-top: 3px; }

.custom-select-list {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  z-index: 60;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.custom-select.open .custom-select-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.custom-select-option {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  transition: background-color .15s ease;
}

/* Light variant — form fields on ivory/white backgrounds */
.field .custom-select-trigger {
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--ivory);
  color: var(--text);
  transition: border-color .25s ease, background-color .25s ease;
}
.field .custom-select.open .custom-select-trigger { outline: none; border-color: var(--gold); background: var(--white); }
.field .custom-select-list { background: var(--white); border: 1px solid var(--sand-dark); }
.field .custom-select-option:hover,
.field .custom-select-option.active { background: var(--sand); }

/* Dark variant — language switcher on the navy nav */
.lang-select .custom-select { width: auto; }
.lang-select .custom-select-trigger {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--ivory);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.lang-select .custom-select-list {
  left: auto; right: 0;
  min-width: 150px;
  background: var(--navy);
  border: 1px solid rgba(246,239,226,0.15);
}
.lang-select .custom-select-option { color: var(--ivory); }
.lang-select .custom-select-option:hover,
.lang-select .custom-select-option.active { background: rgba(246,239,226,0.12); color: var(--gold-soft); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--ivory); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

/* Category bar
   position:sticky, placed in normal document flow right after the hero
   (see HTML) and pulled up over the hero's bottom edge with a negative
   margin. Because it's in-flow, it scrolls together with the hero at the
   same rate — unlike position:fixed, which stays glued to the viewport
   from scroll position zero and immediately "detaches" from the hero the
   moment the user scrolls, floating over whatever content is underneath.
   Once its in-flow position would scroll above `top`, it sticks there. */
.category-bar {
  position: sticky;
  top: calc(var(--banner-h) + var(--header-h));
  left: 0; right: 0;
  height: var(--catbar-h);
  background: rgba(13, 43, 78, 0.32);
  backdrop-filter: blur(6px);
  z-index: 190;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(246, 239, 226, 0.18);
  transition: background-color .45s var(--ease), top .45s var(--ease), border-color .45s var(--ease);
}
body.has-hero .category-bar { margin-top: calc(-1 * var(--catbar-h)); }
.category-bar .container { width: 100%; }
.cat-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-links::-webkit-scrollbar { display: none; }
.cat-links a {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ivory);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: background-color .3s ease;
}
.cat-links a:hover { background: rgba(246, 239, 226, 0.14); }

/* Scrolled / merged state (toggled via JS on <body>) */
body.nav-scrolled .top-nav {
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  height: var(--header-h-compact);
}
body.nav-scrolled .brand img { height: 48px; }
body.nav-scrolled .category-bar {
  top: calc(var(--banner-h) + var(--header-h-compact));
  background: var(--navy);
  border-top: 1px solid var(--gold);
}

/* Pages without a hero (e.g. detail page) keep bars solid from the start —
   the category bar sits immediately after the header with no hero to pull
   up over, so it reads as "already stuck" from the first paint. */
body.no-hero .top-nav { background: var(--navy); box-shadow: var(--shadow-soft); }
body.no-hero .category-bar { background: var(--navy); border-top: 1px solid var(--gold); }
body.no-hero.nav-scrolled .top-nav { height: var(--header-h-compact); }

/* Mobile nav ------------------------------------------------------------- */
@media (max-width: 880px) {
  .main-links { display: none; }
  .hamburger { display: flex; }
  .cat-links { justify-content: flex-start; }
  .cat-links a { padding: 8px 16px; font-size: 0.75rem; }

  .mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(84vw, 360px);
    height: 100vh;
    background: var(--navy);
    z-index: 300;
    padding: 100px 32px 40px;
    transition: right .45s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .mobile-menu.open { right: 0; }
  .mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); }
  .mobile-menu .lang-select { align-self: flex-start; }
  .menu-backdrop {
    position: fixed; inset: 0; background: rgba(8,20,35,0.55);
    z-index: 290; opacity: 0; pointer-events: none; transition: opacity .4s ease;
  }
  .menu-backdrop.open { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 881px) {
  .mobile-menu, .menu-backdrop { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease, transform 9s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,38,0.55) 0%, rgba(8,20,38,0.25) 38%, rgba(8,20,38,0.55) 78%, rgba(8,20,38,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-content h1 {
  /* Cormorant Garamond's caron (č/ž/š) mark detaches from the base letter
     above ~72px in Chromium — capped comfortably below that threshold. */
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section { padding: 100px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--navy); color: var(--ivory); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark .section-sub { color: rgba(246,239,226,0.72); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; }

/* ==========================================================================
   FEATURED TRIPS CAROUSEL
   ========================================================================== */
.carousel { position: relative; }
/* Padding + matching negative margin gives each card's box-shadow room to
   render before the viewport's overflow:hidden clips it — otherwise the
   shadows of adjacent cards visually merge into one flat rectangular band
   and every card's shadow gets a hard cut-off edge. Net effect on layout
   is zero (padding and margin cancel out). */
.carousel-viewport {
  overflow: hidden;
  padding: 18px 10px 64px;
  margin: -18px -10px -64px;
}
.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s var(--ease);
  touch-action: pan-y;
}
.trip-card {
  flex: 0 0 calc((100% - 56px) / 3);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.trip-card-media { position: relative; height: 260px; overflow: hidden; }
.trip-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trip-card:hover .trip-card-media img { transform: scale(1.09); }
.trip-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.trip-card-body { padding: 26px 26px 28px; }
.trip-card-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.trip-card-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.trip-card-body p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 18px; }
.trip-card-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-soft); margin-bottom: 20px; }
.trip-card-meta span { display: flex; align-items: center; gap: 6px; }

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 34px;
}
.carousel-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.carousel-arrow:hover { background: var(--navy); color: var(--ivory); }
.carousel-arrow:active { transform: scale(0.92); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sand-dark);
  transition: background-color .3s ease, transform .3s ease;
}
.carousel-dots button.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 880px) {
  .trip-card { flex: 0 0 100%; }
}

/* ==========================================================================
   FLEET SLIDER
   ========================================================================== */
.fleet-track {
  display: flex; gap: 24px;
  transition: transform .6s var(--ease);
  /* Without this, a horizontal drag on touch devices is ambiguous between
     "scroll the page" and "drag the carousel" — the browser can grab the
     gesture for its own vertical-scroll-only default before our pointer
     handlers see meaningful movement. Restricting native handling to
     vertical panning hands horizontal drags to the JS carousel instead. */
  touch-action: pan-y;
}
/* Centering is applied only when there's nothing to scroll (JS toggles
   this once maxIndex() is 0) — see the comment in Carousel.update(). */
.carousel-track.is-centered, .fleet-track.is-centered { justify-content: center; }
.fleet-card {
  flex: 0 0 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.fleet-card img { height: 190px; width: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fleet-card:hover img { transform: scale(1.08); }
.fleet-card-body { padding: 20px 22px 24px; }
.fleet-card-body h4 { font-size: 1.2rem; margin-bottom: 6px; }
.fleet-card-body p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 10px; }
.fleet-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fleet-tags span {
  font-size: 0.72rem; font-weight: 600;
  background: var(--sand);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
@media (max-width: 640px) { .fleet-card { flex: 0 0 82vw; } }

/* ==========================================================================
   GALLERY TEASER
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-soft);
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.album-card:hover img { transform: scale(1.1); }
.album-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,38,0) 40%, rgba(8,20,38,0.85) 100%);
}
.album-info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--white); }
.album-info .year { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold-soft); font-weight: 700; margin-bottom: 6px; }
.album-info h3 { color: var(--white); font-size: 1.4rem; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.review-card {
  background: rgba(246,239,226,0.06);
  border: 1px solid rgba(246,239,226,0.15);
  border-radius: var(--radius-md);
  padding: 28px;
}
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-card p.quote { font-size: 0.98rem; color: rgba(246,239,226,0.9); margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
}
.review-author strong { font-size: 0.9rem; color: var(--ivory); }
.review-author span { font-size: 0.78rem; color: rgba(246,239,226,0.6); }

@media (max-width: 880px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ABOUT TEASER
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; height: 460px; object-fit: cover; }
.about-text .section-kicker { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.about-text p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 30px; }

@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-split img { height: 280px; order: -1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(246,239,226,0.75); padding: 70px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246,239,226,0.12);
}
.footer-grid img { height: 64px; margin-bottom: 16px; }
.footer-grid p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: var(--ivory); font-size: 1.1rem; margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; font-size: 0.9rem; margin-bottom: 12px; color: rgba(246,239,226,0.75); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 22px; border-top: 1px solid rgba(246,239,226,0.12); }
.footer-legal a { font-size: 0.86rem; color: rgba(246,239,226,0.8); text-decoration: underline; text-decoration-color: rgba(246,239,226,0.3); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; font-size: 0.8rem; color: rgba(246,239,226,0.45); flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   SCROLL-REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .18s; }
.reveal-3 { transition-delay: .28s; }

/* ==========================================================================
   DETAIL PAGE — hero, tabovi, formular
   ========================================================================== */
.detail-hero {
  position: relative;
  height: 56vh;
  min-height: 380px;
  margin-top: 0;
  overflow: hidden;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,38,0.25) 0%, rgba(8,20,38,0.75) 100%);
}
.detail-hero-content {
  position: absolute; left: 0; right: 0; bottom: 40px;
  z-index: 2; color: var(--white); text-align: center;
}
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold-soft); margin-bottom: 12px; text-transform: uppercase; }
.detail-hero-content h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); }

.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 70px 0 100px;
}

.detail-tabs { display: flex; gap: 10px; margin-bottom: 34px; border-bottom: 1px solid var(--sand-dark); }
.detail-tab {
  padding: 14px 4px;
  margin-right: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.detail-tab.active, .detail-tab:hover { color: var(--navy); border-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }

.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.info-item { background: var(--white); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.info-item .label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.info-item .value { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }

.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.included-grid h4 { margin-bottom: 14px; font-size: 1.1rem; }
.included-grid li { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 10px; padding-left: 24px; position: relative; }
.included-grid .yes li::before { content: "✓"; position: absolute; left: 0; color: #2f8f5b; font-weight: 800; }
.included-grid .no li::before { content: "✕"; position: absolute; left: 0; color: #c25b4a; font-weight: 800; }

.program-day { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--sand-dark); }
.program-day:last-child { border-bottom: none; }
.program-day .day-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); flex: 0 0 70px; }
.program-day h4 { margin-bottom: 8px; }
.program-day p { color: var(--text-soft); font-size: 0.94rem; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid img { border-radius: var(--radius-md); height: 220px; width: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid img:hover { transform: scale(1.04); }
.photo-grid .tall { grid-row: span 2; height: 100%; }

/* ---- Booking form -------------------------------------------------------- */
.booking-card {
  position: sticky;
  top: calc(var(--banner-h) + var(--header-h) + var(--catbar-h) + 20px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 32px;
}
.booking-card h3 { margin-bottom: 4px; }
.booking-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); margin-bottom: 22px; }
.booking-price small { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-soft); font-weight: 500; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 7px; }
.field select, .field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--ivory);
  transition: border-color .25s ease, background-color .25s ease;
  color-scheme: light;
}
.field select option { background: var(--white); color: var(--text); }
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea { resize: vertical; min-height: 80px; }

.children-ages { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.children-ages .field { margin-bottom: 0; }
.children-ages.empty { display: none; }

.booking-actions { display: flex; gap: 12px; margin-top: 22px; }
.booking-note { font-size: 0.78rem; color: var(--text-soft); margin-top: 14px; text-align: center; }

@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .info-list, .included-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .info-list, .included-grid, .photo-grid, .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LISTING STRANICE (Privatni izleti / Jednodnevni izleti / Putovanja)
   ========================================================================== */
.page-intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.page-intro p { color: var(--text-soft); font-size: 1.05rem; margin-top: 14px; }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .trip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .trip-grid { grid-template-columns: 1fr; } }

.trip-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.trip-card-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--navy);
}
.trip-card-tags span.offer { background: var(--gold); color: var(--navy-deep); }

.trip-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
}
.trip-card-price small { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-soft); font-weight: 500; }
.trip-card-price .old-price { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-soft); text-decoration: line-through; font-weight: 500; }

/* ==========================================================================
   JEDNOSTAVNE STRANICE S FORMULAROM (Team building / Tailor made)
   ========================================================================== */
.simple-form-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
  padding: 90px 0 110px;
}
.simple-form-intro h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 20px; }
.simple-form-intro p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 18px; }
.simple-form-intro .section-kicker { margin-bottom: 14px; display: inline-block; }
.simple-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}
@media (max-width: 900px) {
  .simple-form-page { grid-template-columns: 1fr; padding: 60px 0 80px; gap: 36px; }
}

/* Demo banner ------------------------------------------------------------- */
.demo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 340;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .demo-banner { font-size: 0.68rem; padding: 0 12px; }
}

/* Demo toast ---------------------------------------------------------------- */
.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-strong);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: min(90vw, 460px);
  text-align: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ==========================================================================
   DODACI TEME (izvan Faza 0 demo dizajn sustava)
   ========================================================================== */

/* ---- Cookie / GDPR obavijest ------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  width: min(92vw, 720px);
  z-index: 400;
  background: var(--navy-deep);
  color: rgba(246, 239, 226, 0.92);
  border: 1px solid rgba(246, 239, 226, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  transition: transform .5s var(--ease);
}
.cookie-bar.show { transform: translate(-50%, 0); }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--gold-soft); text-decoration: underline; }
.cookie-bar .btn { flex: 0 0 auto; }
.cookie-bar-actions { display: flex; gap: 10px; flex: 0 0 auto; }
/* Dok je traka otvorena, dno stranice (pravne poveznice) mora se moći spustiti iznad nje */
body.cookie-bar-open .site-footer { padding-bottom: calc(var(--cookie-bar-h, 90px) + 40px); }
.footer-firm { margin: 14px 0 0; font-size: 0.76rem; line-height: 1.6; color: rgba(246,239,226,0.45); }
.footer-cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie-link:hover { color: var(--gold-soft); }
.firm-details { margin-top: 28px; }
.firm-details h3 { font-size: 1.25rem; margin-bottom: 10px; }
.firm-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 0.9rem; }
.firm-details dt { color: var(--text-soft); }
.firm-details dd { margin: 0; }
@media (max-width: 560px) { .firm-details dl { grid-template-columns: 1fr; gap: 0; } .firm-details dd { margin-bottom: 8px; } }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-bar-actions { justify-content: center; }
}

/* ---- 404 ------------------------------------------------------------------ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--sand-dark);
  line-height: 1;
  margin-bottom: 10px;
}
.error-page .links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---- Search form -------------------------------------------------------- */
.eloi-search { display: flex; gap: 10px; max-width: 420px; margin: 22px auto 0; }
.eloi-search input[type="search"] {
  flex: 1;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  background: var(--white);
}
.eloi-search input[type="search"]:focus { outline: none; border-color: var(--gold); }

/* ---- Duže pravne/tekstualne stranice (Opći uvjeti, Politika privatnosti...) ---- */
.page-content { line-height: 1.75; }
.page-content p { margin-bottom: 18px; color: var(--text); }
.page-content ul { margin: 0 0 18px; padding-left: 22px; }
.page-content li { margin-bottom: 10px; }
.page-content li::marker { color: var(--gold); }

.page-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 52px 0 24px;
  padding-top: 30px;
  border-top: 1px solid var(--sand-dark);
}
.page-content h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 34px 0 16px;
}
.page-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-content > *:first-child { margin-top: 0; }
.page-content h2[id], .page-content h3[id] { scroll-margin-top: calc(var(--banner-h) + var(--header-h) + var(--catbar-h) + 14px); }

.legal-letterhead { text-align: center; margin-bottom: 8px; }
.legal-letterhead h2 {
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft); margin: 0 0 4px; padding: 0; border: none;
}
.legal-letterhead p { color: var(--text-soft); font-size: 0.88rem; margin-bottom: 4px; }

.legal-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px;
  margin: 28px 0 36px; padding: 22px 26px;
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.legal-meta p { margin: 0; font-size: 0.92rem; }
.legal-meta strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 4px;
}
@media (max-width: 640px) { .legal-meta { grid-template-columns: 1fr; } }

.legal-lead { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: 8px !important; }

.legal-toc-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 10px !important;
}
.legal-toc {
  background: var(--sand); border-radius: var(--radius-md);
  padding: 26px 28px; margin: 0 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px;
}
.legal-toc-group > a {
  font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.legal-toc-group > a:hover { color: var(--gold); }
.legal-toc-group ul { list-style: none; margin: 8px 0 0; padding-left: 0; }
.legal-toc-group li { margin-bottom: 6px; font-size: 0.88rem; }
.legal-toc-group li::marker { content: none; }
.legal-toc a { color: var(--text-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 640px) { .legal-toc { grid-template-columns: 1fr; } }

.legal-box {
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 24px 28px; margin: 4px 0 24px;
}
.legal-box ul { margin: 0; }
.legal-box li:last-child { margin-bottom: 0; }

.legal-checklist { list-style: none; padding-left: 0; }
.legal-checklist li { position: relative; padding-left: 30px; }
.legal-checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #2f8f5b; font-weight: 800;
}

/* ---- Language switcher (Polylang) ------------------------------------- */
.lang-switcher { display: flex; align-items: center; gap: 10px; }
.lang-switcher a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ivory); opacity: 0.65; text-transform: uppercase;
  transition: opacity .25s ease;
}
.lang-switcher a:hover, .lang-switcher a.current-lang { opacity: 1; color: var(--gold-soft); }
body.no-hero .lang-switcher a { color: var(--ivory); }

/* ---- Kartica vozila (klik → lightbox) ------------------------------------ */
a.fleet-card { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.fleet-card-media { position: relative; overflow: hidden; }
.fleet-card-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(20, 18, 14, .62); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
[data-lightbox-grid] img { cursor: zoom-in; }

/* ---- Lightbox ------------------------------------------------------------ */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(12, 11, 9, .94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-stage { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 72px; box-sizing: border-box; }
.lightbox-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px;
  opacity: 0; transition: opacity .3s ease; user-select: none;
}
.lightbox-stage img.loaded { opacity: 1; }
.lightbox-top {
  position: absolute; top: 0; left: 0; right: 0; height: 60px; padding: 0 16px 0 24px;
  display: flex; align-items: center; gap: 16px; color: #fff; z-index: 2;
}
.lightbox-title { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox-count { font-size: .9rem; opacity: .75; font-variant-numeric: tabular-nums; }
.lightbox-close, .lightbox-nav {
  background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-close { width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; font-size: 2.2rem; line-height: 1; padding-bottom: 4px;
}
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox.single .lightbox-nav { display: none; }
@media (max-width: 640px) {
  .lightbox-stage { padding: 60px 8px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.8rem; top: auto; bottom: 14px; transform: none; }
  .lightbox-nav.prev { left: calc(50% - 52px); }
  .lightbox-nav.next { right: calc(50% - 52px); }
}

/* ---- Kapacitet vozila (ikona + broj ispod slike) ------------------------- */
.fleet-capacity {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); margin-bottom: 8px;
}
.fleet-capacity strong { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   OPIS IZLETA (.trip-content) — strukturirani tekst iz bin/import-sadrzaj.py
   ========================================================================== */
.trip-content { color: #45545f; font-size: 1.02rem; line-height: 1.75; max-width: 720px; }
.trip-content p { margin: 0 0 1em; }
.trip-content strong { color: var(--navy); font-weight: 600; }
.trip-content h3, .trip-content h4 { margin: 0; }

/* Opis napisan običnim blokovima u uređivaču (novi izleti) — isti izgled kao uvezeni */
.trip-content > h2, .trip-content > h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.5rem, 2.2vw, 1.8rem); margin: 44px 0 18px;
}
.trip-content > h2::after, .trip-content > h3::after {
  content: ""; flex: 1; height: 1px; margin-left: 6px;
  background: linear-gradient(90deg, var(--sand-dark), transparent);
}
.trip-content > h2:first-child, .trip-content > h3:first-child { margin-top: 8px; }
.trip-content > h4 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy); margin: 22px 0 6px;
}
.trip-content > ul { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; }
.trip-content > ul > li { position: relative; padding-left: 30px; }
.trip-content > ul > li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.trip-content > ol { padding-left: 1.4em; margin: 4px 0 18px; }
.trip-content > ol > li { margin-bottom: 6px; }
.trip-content > figure { margin: 28px 0; }
.trip-content > figure img { width: 100%; height: auto; border-radius: var(--radius-md); }
.trip-content > figure figcaption { font-size: .85rem; color: var(--text-soft); margin-top: 6px; }

.trip-lead {
  font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.3; color: var(--navy) !important; font-weight: 500;
  margin: 8px 0 22px !important; padding-left: 20px; border-left: 3px solid var(--gold);
}
.trip-intro { margin-bottom: 8px; }

.trip-section, .trip-booking { margin-top: 44px; }
.trip-section > h3, .trip-booking > h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.5rem, 2.2vw, 1.8rem); margin-bottom: 18px;
}
.trip-section > h3::after {
  content: ""; flex: 1; height: 1px; margin-left: 6px;
  background: linear-gradient(90deg, var(--sand-dark), transparent);
}
.trip-ico {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sand); font-size: 1.2rem; line-height: 1;
}
.trip-section h4 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy); margin: 22px 0 6px;
}
.trip-section h4:first-of-type { margin-top: 4px; }

.trip-list { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; }
.trip-list li { position: relative; padding-left: 30px; }
.trip-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Opcije / paketi */
.trip-options { display: grid; gap: 18px; margin: 32px 0 8px; }
.trip-section .trip-options { margin-top: 8px; }
.trip-option {
  background: var(--white); border-radius: var(--radius-md);
  padding: 24px 26px 10px; box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
}
.trip-option-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.trip-option-head .trip-ico { width: 38px; height: 38px; font-size: 1.1rem; }
.trip-option-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.trip-option-head h3, .trip-option-head h4 {
  flex-basis: 100%; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0; margin: 0;
}
.trip-option-head .trip-ico + .trip-option-label + h3,
.trip-option-head .trip-ico + .trip-option-label + h4 { flex-basis: 100%; }
.trip-option-chip {
  font-size: .75rem; font-weight: 600; color: var(--navy);
  background: var(--sand); padding: 4px 12px; border-radius: 999px;
}
.trip-option-sub { font-style: italic; color: var(--navy) !important; margin-bottom: .8em !important; }

/* Rezervacije i cijene + završni poziv */
.trip-booking {
  background: var(--navy); color: rgba(246, 239, 226, .82);
  border-radius: var(--radius-lg); padding: 30px 32px 14px;
}
.trip-booking > h3 { color: var(--ivory); }
.trip-booking .trip-ico { background: rgba(255, 255, 255, .1); }
.trip-booking strong, .trip-booking h4 { color: var(--gold-soft); }
.trip-booking h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trip-closing { text-align: center; margin: 36px 0 8px; }
.trip-tagline {
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem;
  color: var(--navy) !important; margin-bottom: 18px !important;
}
.trip-closing .btn { white-space: normal; text-align: center; }

/* Isti dijelovi složeni iz Uzoraka (patterns/izlet-*.php) u uređivaču blokova */
.trip-option-head > p { margin: 0 !important; }
.trip-closing .wp-block-buttons { display: flex; justify-content: center; }
.trip-closing .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.94rem; letter-spacing: 0.02em;
  background: var(--gold); color: var(--navy-deep); text-decoration: none;
  box-shadow: 0 8px 20px rgba(184, 147, 90, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.trip-closing .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(184, 147, 90, 0.45); }

@media (max-width: 560px) {
  .trip-option { padding: 20px 18px 6px; }
  .trip-booking { padding: 24px 20px 10px; }
  .trip-lead { padding-left: 14px; }
}
