/* Smeštaj Vrnjačka Banja — promenade palette: paper, Goč green, fountain copper */
:root {
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --card: #fffdf8;
  --ink: #1d2b24;
  --ink-soft: #46554c;
  --green: #1f3b2d;
  --green-2: #2f5a44;
  --sage: #7d9e86;
  --copper: #9a4f22;
  --copper-soft: #f3e2d2;
  --mineral: #24585c;
  --mineral-soft: #dcebea;
  --line: #d9cfbb;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --measure: 70ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--mineral); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

/* header */
.site-header { background: var(--green); color: #f4efe4; border-bottom: 4px solid var(--copper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #f4efe4; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }
.brand-name { font-weight: 650; }
.brand-place { font-weight: 500; opacity: .9; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.menu a { display: block; color: #f4efe4; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 1rem; }
.menu a:hover, .menu a[aria-current="page"] { background: #f4efe4; color: var(--green); }
@media (max-width: 860px) {
  .header-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0 10px; }
  .menu ul { gap: 2px 4px; }
  .menu a { padding: 6px 10px; font-size: .95rem; }
}

.brand-tag { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #f0b98f; margin-top: 2px; }

/* page + sidebar layout */
main { padding-block: 28px 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .sidebar { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
}
.page { max-width: none; }
.main-col { min-width: 0; }

.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.side-head { font-family: var(--serif); font-weight: 650; color: var(--green); font-size: 1.08rem; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; border-top: 1px solid var(--paper-2); }
.toc li:first-child { border-top: 0; }
.toc a { display: flex; gap: 8px; padding: 7px 0; font-size: .97rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.toc a::before { content: counter(toc); color: var(--copper); font-weight: 600; min-width: 1.2em; }
.toc a:hover { color: var(--copper); }
.facts-box { background: var(--green); color: #f4efe4; border-color: var(--green); }
.facts-box .side-head { color: #f0b98f; }
.facts-box dl { margin: 0; }
.facts-box dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #f0b98f; margin-top: 10px; }
.facts-box dt:first-child { margin-top: 0; }
.facts-box dd { margin: 2px 0 0; font-size: .98rem; line-height: 1.4; color: #f4efe4; }
.plan-box ul { list-style: none; margin: 0 0 12px; padding: 0; }
.plan-box li { margin: 0; }
.plan-box a { display: block; padding: 6px 0; font-weight: 600; font-size: .98rem; }
.plan-box a::after { content: " →"; color: var(--copper); }
.side-note { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 999px) { .toc { display: none; } }
.page-head { margin-bottom: 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .95rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--sage); }
.crumbs a { color: var(--ink-soft); }
.kicker { margin: 0 0 6px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--copper); }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.2; font-weight: 650; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 10px; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.2em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; font-weight: 500; }
.byline { font-size: .95rem; color: var(--ink-soft); margin: 0 0 16px; }
.lead { font-size: 1.28rem; line-height: 1.55; color: var(--ink); max-width: var(--measure); margin: 0 0 8px; }

.prose { max-width: var(--measure); }
.home .prose { max-width: 820px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--green); }

/* boxes — every background sets its own text colour */
.note, .warn, .facts {
  border-radius: var(--radius); padding: 18px 20px; margin: 1.6em 0; max-width: var(--measure);
}
.note { background: var(--mineral-soft); color: #13312f; border-left: 6px solid var(--mineral); }
.note h2, .note h3, .note p, .note li, .note strong { color: #13312f; }
.note a { color: #0f3f43; }
.warn { background: var(--copper-soft); color: #4a2410; border-left: 6px solid var(--copper); }
.warn h2, .warn h3, .warn p, .warn li, .warn strong { color: #4a2410; }
.warn a { color: #6b300f; }
.note > :last-child, .warn > :last-child, .facts > :last-child { margin-bottom: 0; }
.note > :first-child, .warn > :first-child { margin-top: 0; }
.facts { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.facts h2, .facts h3 { margin-top: 0; color: var(--green); }
.facts dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0; }
.facts dt { font-weight: 600; color: var(--green-2); }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }

/* tables */
.table-wrap { overflow-x: auto; margin: 1.4em 0; max-width: var(--measure); }
table { border-collapse: collapse; width: 100%; background: var(--card); color: var(--ink); font-size: 1rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--green); color: #f4efe4; font-weight: 600; }
caption { caption-side: bottom; text-align: left; font-size: .9rem; color: var(--ink-soft); padding-top: 8px; }

/* checklist */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); transform: rotate(-45deg); }

/* home hero + grid */
.hero-art { margin: 18px 0 8px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.hero-art img { display: block; width: 100%; }
.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 1.4em 0 2em; padding: 0; list-style: none; max-width: none; }
.choose li { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0; }
.choose h3 { margin: 0 0 6px; font-size: 1.15rem; }
.choose p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

/* faq */
.faq { max-width: var(--measure); margin-top: 2.4em; border-top: 2px solid var(--line); }
.faq .qa h3 { font-weight: 650; color: var(--green); }
.faq .qa p { margin: 0 0 1em; }

/* related */
.related { margin-top: 2.6em; max-width: 1120px; }
.related h2 { font-size: 1.35rem; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related a { display: block; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.related a:hover { border-color: var(--copper); color: var(--ink); }
.rel-title { display: block; font-family: var(--serif); font-weight: 650; color: var(--green); font-size: 1.1rem; }
.rel-desc { display: block; font-size: .98rem; color: var(--ink-soft); margin-top: 4px; }

/* footer */
.site-footer { background: #17291f; color: #e8e1d2; padding: 36px 0 28px; font-size: 1rem; }
.site-footer a { color: #f4efe4; text-decoration: none; }
.site-footer a:hover { color: #f0b98f; text-decoration: underline; }
.fbrand { font-family: var(--serif); font-size: 1.3rem; font-weight: 650; color: #f4efe4; margin: 0 0 6px; }
.fabout p { max-width: 62ch; margin-top: 0; color: #e8e1d2; }
.fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin: 24px 0; }
.fhead { font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #f0b98f; margin: 0 0 8px; }
.fcol ul { list-style: none; padding: 0; margin: 0; }
.fcol li { margin-bottom: 6px; }
.fnote { border-top: 1px solid #36503f; padding-top: 16px; color: #cfc7b6; font-size: .92rem; margin: 0; }

@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .lead { font-size: 1.15rem; }
  .brand-text { font-size: 1.08rem; }
}

/* photos */
.photo { margin: 18px 0 8px; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.photo figcaption { margin-top: 8px; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.photo .credit { display: block; font-size: .82rem; color: var(--ink-soft); }
.photo .credit a { color: var(--ink-soft); }
