/* ============================================================
   ALTA Boat Rental — Rabac
   Coastal-premium design system
   ============================================================ */

:root {
  --navy: #0b2237;
  --navy-2: #123350;
  --navy-3: #1b466b;
  --teal: #0e7f8c;
  --teal-bright: #2fb5c3;
  --aqua: #7fd6df;
  --sand: #f6f2ea;
  --ivory: #fdfbf6;
  --white: #ffffff;
  --ink: #22303c;
  --ink-soft: #55636f;
  --gold: #c2a05a;
  --line: rgba(11, 34, 55, 0.1);
  --shadow-sm: 0 2px 10px rgba(11, 34, 55, 0.07);
  --shadow-md: 0 10px 34px rgba(11, 34, 55, 0.13);
  --shadow-lg: 0 24px 60px rgba(11, 34, 55, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--gold);
}

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }

.alt-bg { background: var(--sand); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp { background: #23b558; color: #fff; box-shadow: 0 8px 24px rgba(35, 181, 88, 0.35); }
.btn-whatsapp:hover { background: #1ea04d; color: #fff; box-shadow: 0 12px 30px rgba(35, 181, 88, 0.45); }

.btn-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: #fff; }

.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-2); color: #fff; box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.site-header.scrolled {
  background: rgba(11, 34, 55, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-family: var(--font-display);
}
.logo svg { width: 34px; height: 34px; }
.logo .logo-name { font-size: 1.45rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1; }
.logo .logo-sub { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.85; margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--aqua);
  transition: width 0.22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,0.12); border-radius: 999px; padding: 4px; }
.lang-switch a {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.lang-switch a.active { background: #fff; color: var(--navy); }
.lang-switch a:hover:not(.active) { color: #fff; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff !important;
  font-weight: 600; font-size: 0.93rem;
}
.header-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; content: "";
  width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(8, 24, 40, 0.18), rgba(8, 24, 40, 0.18)),
    linear-gradient(to bottom, rgba(8, 24, 40, 0.6) 0%, rgba(8, 24, 40, 0.3) 40%, rgba(8, 24, 40, 0.68) 100%),
    linear-gradient(105deg, rgba(8, 24, 40, 0.6) 0%, rgba(8, 24, 40, 0.12) 60%);
}

.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-clip.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 22px;
}
.hero-kicker svg { width: 16px; height: 16px; }

.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 22px; text-shadow: 0 3px 24px rgba(0,0,0,0.3); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: rgba(255,255,255,0.92); margin: 0 0 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-chip svg { width: 16px; height: 16px; color: var(--aqua); }

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.8);
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 26px; height: 26px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- USP strip ---------- */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.usp {
  text-align: left;
}
.usp-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--aqua);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.usp-icon svg { width: 25px; height: 25px; }
.usp h3 { margin-bottom: 6px; font-size: 1.12rem; }
.usp p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Boat section ---------- */

.boat-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.boat-gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.boat-gallery a { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.boat-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.boat-gallery a:hover img { transform: scale(1.05); }
/* 1 velika, pa red od 3, pa red od 2 */
.boat-gallery a:nth-child(1) { grid-column: span 6; }
.boat-gallery a:nth-child(1) img { aspect-ratio: 16 / 9.5; }
.boat-gallery a:nth-child(2), .boat-gallery a:nth-child(3), .boat-gallery a:nth-child(4) { grid-column: span 2; }
.boat-gallery a:nth-child(2) img, .boat-gallery a:nth-child(3) img, .boat-gallery a:nth-child(4) img { aspect-ratio: 3 / 4; }
.boat-gallery a:nth-child(5), .boat-gallery a:nth-child(6) { grid-column: span 3; }
.boat-gallery a:nth-child(5) img, .boat-gallery a:nth-child(6) img { aspect-ratio: 3 / 2.05; }

.boat-name-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.boat-name-row .engine-tag {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal);
  background: rgba(14, 127, 140, 0.1);
  padding: 5px 13px; border-radius: 999px;
}
.boat-desc { color: var(--ink-soft); margin: 0 0 30px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}
.spec {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.spec .spec-val { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.spec .spec-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.equip-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.equip-list {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
}
.equip-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--ink); }
.equip-list li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: rgba(255,255,255,0.88);
  border: none;
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-badge {
  position: absolute; top: -13px; left: 34px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.price-duration { font-size: 0.86rem; color: inherit; opacity: 0.75; margin: 0 0 20px; }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; font-family: var(--font-body); opacity: 0.7; }
.price-note { font-size: 0.85rem; opacity: 0.75; margin: 10px 0 24px; }
.price-features { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.price-features li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.price-features li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal-bright); }
.price-card .btn { margin-top: auto; }

.pricing-note {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(194, 160, 90, 0.1);
  border: 1px solid rgba(194, 160, 90, 0.35);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.93rem;
  color: var(--ink);
}
.pricing-note svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Destinations ---------- */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.8;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.dest-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover img { transform: scale(1.07); }
.dest-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 24, 40, 0.82) 0%, rgba(8, 24, 40, 0.05) 55%);
}
.dest-body { position: relative; z-index: 2; padding: 26px; }
.dest-body h3 { color: #fff; margin-bottom: 6px; font-size: 1.3rem; }
.dest-body p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.dest-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------- Attractions ---------- */

.attr-list { display: grid; }
.attr-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.attr-row:first-child { border-top: none; padding-top: 0; }
.attr-row:nth-child(even) { grid-template-columns: 1fr 360px; }
.attr-row:nth-child(even) .attr-text { order: 2; }
.attr-row:nth-child(even) .attr-media { order: 1; }

.attr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(14, 127, 140, 0.09);
  border: 1px solid rgba(14, 127, 140, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.attr-tag svg { width: 14px; height: 14px; }
.attr-text h3 { font-size: 1.45rem; margin-bottom: 10px; }
.attr-text p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Justified gallery — images keep their native aspect ratio, never cropped */
.attr-media { display: flex; flex-wrap: wrap; gap: 10px; }
.attr-media a {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: var(--ar);
  flex-grow: calc(var(--ar) * 100);
  flex-shrink: 1;
  flex-basis: calc(var(--ar) * 150px);
  min-width: 0;
  position: relative;
}
.attr-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.attr-media a:hover img { transform: scale(1.05); }

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid a {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-grid a.tall { grid-row: span 2; }
.gallery-grid a.wide { grid-column: span 2; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Gallery podstranica ---------- */

.gallery-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 24px 80px;
}
.gallery-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.gallery-sub { color: var(--ink-soft); max-width: 60ch; margin: 0 0 40px; }
.masonry { columns: 4 240px; column-gap: 12px; }
.masonry a {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.masonry img { width: 100%; display: block; transition: transform 0.35s ease; }
.masonry a:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery-page { padding: 110px 14px 60px; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .masonry a { margin-bottom: 8px; }
}

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 780px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--teal); transition: transform 0.25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.97rem; }
.faq-a-inner p { margin: 0; }

/* ---------- Contact ---------- */

.contact-section {
  background: linear-gradient(165deg, var(--navy) 0%, #0d2c47 60%, #10394f 100%);
  color: rgba(255,255,255,0.88);
}
.contact-section h2, .contact-section h3 { color: #fff; }
.contact-section .kicker { color: var(--aqua); }
.contact-section .section-head p { color: rgba(255,255,255,0.75); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-channels { display: grid; gap: 9px; margin-bottom: 28px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.channel:hover { background: rgba(255,255,255,0.13); transform: translateX(6px); border-color: rgba(255,255,255,0.3); }
.channel-icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.channel-icon svg { width: 18px; height: 18px; }
.channel-icon.wa { background: #23b558; }
.channel-icon.vb { background: #7360f2; }
.channel-icon.ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.channel-icon.ph { background: var(--teal); }
.channel-icon.em { background: var(--gold); }
.channel b { display: block; font-size: 0.92rem; line-height: 1.35; }
.channel span { font-size: 0.8rem; opacity: 0.72; line-height: 1.35; }

.info-rows { display: grid; gap: 20px; margin-bottom: 30px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row svg { width: 21px; height: 21px; color: var(--aqua); flex: none; margin-top: 3px; }
.info-row b { display: block; color: #fff; font-size: 0.95rem; }
.info-row span { font-size: 0.92rem; opacity: 0.78; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
  aspect-ratio: 16 / 11;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.9); }

.map-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(47, 181, 195, 0.16), transparent 55%),
    linear-gradient(150deg, var(--navy-2), var(--navy-3));
}
.map-placeholder svg { width: 44px; height: 44px; color: var(--aqua); }
.map-placeholder p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.65); max-width: 40ch; }

/* ---------- Legal pages ---------- */

.legal-body { max-width: 780px; margin: 0 auto; padding: 140px 24px 90px; }
.legal-body h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.legal-body h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.97rem; }
.legal-body .legal-updated { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.8; }
.legal-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--navy);
}
.legal-header .container { display: flex; align-items: center; justify-content: space-between; }
.legal-header .back-link { color: #fff; font-size: 0.92rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.legal-header .back-link svg { width: 16px; height: 16px; }
.footer-legal-links { margin-top: 6px; }
.footer-legal-links a { margin-right: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #081a2b;
  color: rgba(255,255,255,0.6);
  padding: 46px 0 0;
  font-size: 0.86rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-logo { width: 132px; height: auto; display: block; opacity: 0.95; transition: opacity 0.2s ease; }
.footer-logo:hover { opacity: 1; }
.footer-legal { line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: #fff; }

.footer-credit {
  margin-top: 36px;
  background: linear-gradient(90deg, #b8944d, var(--gold) 35%, #d4b476 70%, var(--gold));
  padding: 13px 0;
}
.credit-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  text-align: center;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: var(--navy);
  transition: opacity 0.2s ease;
}
.footer-credit svg { width: 15px; height: 15px; color: var(--navy); transition: transform 0.25s ease; }
.footer-credit strong { font-weight: 800; color: var(--navy); letter-spacing: 0.05em; }
.footer-credit .credit-sep { color: rgba(11, 34, 55, 0.45); }
.footer-credit a:hover { opacity: 0.75; }
.footer-credit a:hover svg { transform: rotate(-8deg); }

@media (max-width: 640px) {
  .credit-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    text-align: left;
    padding-left: 18px;
  }
  .footer-credit .credit-sep { display: none; }
}

/* ---------- Floating WhatsApp ---------- */

.float-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #23b558;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(35, 181, 88, 0.5);
  transition: transform 0.2s ease;
}
.float-wa svg { width: 30px; height: 30px; color: #fff; }
.float-wa:hover { transform: scale(1.1); }
.float-wa::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #23b558;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Cookie banner (renderira se samo kad je GA uključen) ---------- */

.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 120;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--ink); flex: 1 1 280px; }
.cb-actions { display: flex; gap: 10px; }
.cb-actions .btn { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(6, 16, 27, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */

/* Hidden state only when JS is active (html.js) — no JS, no hidden content */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .attr-row, .attr-row:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .attr-row:nth-child(even) .attr-text { order: 1; }
  .attr-row:nth-child(even) .attr-media { order: 2; }
  .boat-layout { grid-template-columns: 1fr; gap: 40px; }
  .boat-gallery { position: static; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .contact-layout { grid-template-columns: 1fr; }
  .main-nav a:not(.lang-switch a) { font-size: 0.9rem; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(11, 34, 55, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 28px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav a { padding: 11px 0; font-size: 1.05rem; width: 100%; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .site-header { background: rgba(11, 34, 55, 0.92); backdrop-filter: blur(14px); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .site-header .container { padding: 0 14px; gap: 10px; }
  .header-cta { gap: 8px; }
  .header-phone { display: none; }
  .logo { gap: 8px; }
  .logo svg { width: 28px; height: 28px; }
  .logo .logo-name { font-size: 1.2rem; }
  .logo .logo-sub { font-size: 0.52rem; letter-spacing: 0.28em; }
  .lang-switch a { font-size: 0.72rem; padding: 4px 7px; }
  .nav-toggle { width: 38px; height: 38px; flex: none; }
  .hero .container { padding-top: 110px; }
  .hero-actions .btn { width: 100%; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .usp-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 10px; }
  .usp-icon svg { width: 20px; height: 20px; }
  .usp h3 { font-size: 0.98rem; margin-bottom: 4px; }
  .usp p { font-size: 0.8rem; line-height: 1.5; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .equip-list { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 3 / 3.2; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .attr-media { gap: 8px; }
  .attr-media a { flex-basis: calc(var(--ar) * 92px); }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .footer-legal:last-child { text-align: left !important; }
  .float-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
