/* ==========================================================
   Poli šterne – stil cijelog weba
   Boje i fontovi su na vrhu; promjena ovdje mijenja cijeli web.
   ========================================================== */
:root {
  --bg: #fcfbfe;          /* pozadina */
  --surface: #ffffff;     /* kartice */
  --soft: #f7f7f7;        /* svijetla traka */
  --ink: #1f2329;         /* tekst */
  --muted: #5e636a;       /* sekundarni tekst */
  --line: #e7e5ea;        /* linije */
  --accent: #ff5a5f;      /* gumbi (Airbnb crvena) */
  --accent-dark: #e0484d;
  --link: #c9393e;
  --dark: #404040;        /* tamni panel na naslovnoj */
  --sans: system-ui, -apple-system, "Segoe UI", Ubuntu, Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 72px; padding-bottom: 8px; }
.narrow { max-width: 760px; }
.lead { font-size: 1.12rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: .5em; }
.rounded { border-radius: var(--radius); }
.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.two p { color: var(--muted); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 8px; } }

/* Gumbi */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 500;
  padding: .7em 1.3em; border-radius: 5px; border: 2px solid var(--accent); transition: background .2s, border-color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-sm { padding: .5em 1.2em; }
.btn-ghost { background: transparent; color: var(--link); }
.btn-ghost:hover { color: #fff; }

/* Zaglavlje: bijela plutajuća traka iznad slike */
.site-header { position: absolute; top: 16px; left: 0; right: 0; z-index: 20; padding: 0 16px; }
.bar { position: relative; max-width: 1700px; margin: 0 auto; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12); display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 8px 40px; }
.brand img { height: 66px; width: auto; }
.nav-desk { margin-left: auto; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.dd summary::-webkit-details-marker { display: none; }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang-dd { margin-right: auto; }
.lang-dd .dd-list { position: absolute; top: calc(100% + 14px); left: -16px; background: #fff; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 8px; display: flex; flex-direction: column; min-width: 160px; }
.lang-dd .dd-list a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .92rem; }
.lang-dd .dd-list a b { text-transform: lowercase; color: var(--muted); font-weight: 500; margin-right: 6px; }
.lang-dd .dd-list a:hover, .lang-dd .dd-list a[aria-current] { background: var(--soft); }
.menu { display: none; }
.nohero main { padding-top: 120px; }

@media (max-width: 1000px) {
  .site-header { top: 10px; padding: 0 10px; }
  .bar { gap: 14px; padding: 6px 14px; min-height: 64px; }
  .brand img { height: 50px; }
  .nav-desk { display: none; }
  .lang-dd { margin-left: auto; margin-right: 0; }
  .lang-dd .dd-list { left: auto; right: -40px; }
  .menu { display: block; }
  .menu summary { flex-direction: column; gap: 5px; padding: 10px 4px; }
  .menu summary span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu .dd-list { position: absolute; right: -14px; top: calc(100% + 16px); width: calc(100vw - 20px); max-width: 420px;
    background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 8px 18px; flex-direction: column; gap: 0; }
  .menu .dd-list a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu .dd-list a:last-child { border-bottom: 0; }
  .book { padding: .45em .9em; }
}
@media (max-width: 420px) { .book { display: none; } }

/* Naslovna: slika lijevo, tamni panel desno */
.hero-split { display: grid; grid-template-columns: 48% 52%; min-height: min(100vh, 760px); background: var(--dark); color: #fff; }
.hs-img { position: relative; min-height: 320px; }
.hs-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-text { padding: 170px clamp(24px, 6vw, 84px) 90px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hs-text h1 { color: #fff; margin-bottom: .9em; }
.hs-text .hero-sub { display: block; font-size: .55em; font-weight: 500; margin-top: .25em; }
.hs-text p { font-size: .95rem; color: #eee; max-width: 680px; }
.hs-text .h3 { margin: 1.1em 0 .6em; color: #fff; }
.icons { list-style: none; padding: 0; margin: 0 0 2em; font-size: .93rem; }
.icons li { display: flex; align-items: center; gap: 10px; margin-bottom: .75em; }
.icons svg { width: 19px; height: 19px; fill: #fff; flex: none; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hs-img { min-height: 85vw; }
  .hs-text { padding: 40px 22px 52px; }
}

/* Naslovna slika */
.hero, .page-hero, .band { position: relative; overflow: hidden; color: #fff; }
.hero { min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.page-hero { min-height: 420px; display: flex; align-items: flex-end; }
.hero-bg, .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.hero-in { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; }
.hero h1, .page-hero h1 { color: #fff; margin-bottom: .2em; max-width: 900px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.page-hero h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }

/* Raspored */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.intro { padding-top: 56px; align-items: start; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 28px; }
.feature { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature h3 { font-size: 1.12rem; margin: 16px 18px 8px; }
.feature p { margin: 0 18px 18px; font-size: .95rem; color: var(--muted); }

.band { margin-top: 72px; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(40, 40, 40, .68); }
.band-in { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; max-width: 820px; text-align: center; }
.band .eyebrow { color: #ffb3b5; }
.band h2 { color: #fff; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 24px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 18px; font-size: .97rem; flex: 1; }
.review blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: 6px; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption span { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 22px 0 28px; }
.gallery .ph { display: block; border-radius: 8px; overflow: hidden; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .35s; }
.gallery .ph:hover img { transform: scale(1.04); }
.room { padding-top: 48px; }
.room h2 { margin-bottom: 0; }

/* Tekstualne stranice */
.prose { padding-bottom: 24px; }
.prose > p, .prose > ul, .prose > h2, .prose > h3, .prose > h4 { max-width: 760px; }
.prose h2 { margin-top: 1.8em; padding-top: .4em; }
.prose h3 { margin-top: 1.5em; }
.prose figure.wide { margin: 2em 0; }
.prose figure.wide img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h3, .prose .card h3 { margin: 0 0 .6em; font-size: 1.15rem; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.card li:last-child { border-bottom: 0; }
.nf { padding-bottom: 80px; }

/* Podnožje */
.site-footer { background: #333; color: #d9dfe1; margin-top: 80px; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 32px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { text-decoration: none; }
.site-footer .btn-ghost { color: #fff; border-color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 24px; font-size: .85rem; }
.foot-langs { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-bottom p { margin: 0; color: #9fb0b5; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* Povećanje slika */
.lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lb::backdrop { background: rgba(10, 14, 16, .9); }
.lb img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 6px; }
.lb button { position: fixed; top: 14px; right: 18px; background: rgba(255,255,255,.15); color: #fff; border: 0;
  font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.lb .prev, .lb .next { top: 50%; transform: translateY(-50%); }
.lb .prev { left: 14px; right: auto; }
.lb .next { right: 14px; }
