:root {
  --forest-950: #10261d;
  --forest-900: #17372a;
  --forest-800: #24513c;
  --forest-700: #326a4d;
  --moss: #78905d;
  --sage: #dfe8d7;
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --sand: #e9dbc3;
  --amber: #d89a42;
  --terracotta: #a85e3e;
  --ink: #1d2a22;
  --muted: #667269;
  --white: #fff;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 14px 38px rgba(16, 38, 29, .08);
  --shadow-lg: 0 28px 80px rgba(16, 38, 29, .18);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--forest-800); }
a:hover { color: var(--terracotta); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--forest-950);
  border-radius: 0 0 .5rem .5rem;
}
.skip-link:focus { top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  color: var(--terracotta);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentColor;
  content: "";
}
.display-title,
.section-title,
.page-title {
  color: var(--forest-950);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.035em;
}
.display-title { font-size: clamp(3rem, 8vw, 6.8rem); line-height: .92; }
.page-title { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .96; }
.section-title { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.03; }
.section-copy { max-width: 42rem; color: var(--muted); font-size: 1.08rem; }
.text-balance { text-wrap: balance; }

.site-navbar {
  z-index: 1030;
  padding-block: .85rem;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(23, 55, 42, .1);
  backdrop-filter: blur(18px);
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--forest-950);
  text-decoration: none;
}
.site-navbar .navbar-brand { margin-left: calc(-.5 * var(--bs-gutter-x)); }
.brand-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--cream);
  background: var(--forest-900);
  border: 1px solid var(--forest-900);
  border-radius: 50% 48% 52% 46%;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .04em;
  transform: rotate(-3deg);
}
.brand-copy { line-height: 1; }
.brand-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand-copy small {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.navbar-toggler { border: 0; box-shadow: none !important; }
.nav-link {
  position: relative;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-link::after {
  position: absolute;
  right: .65rem;
  bottom: .15rem;
  left: .65rem;
  height: 1px;
  background: var(--terracotta);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: .25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { opacity: 1; transform: scaleX(1); }
.nav-link.active { color: var(--terracotta) !important; }
.language-menu .dropdown-toggle {
  padding: .6rem .8rem;
  color: var(--forest-900);
  background: transparent;
  border: 1px solid rgba(23, 55, 42, .2);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.update-strip {
  position: relative;
  z-index: 20;
  color: #fdf8ed;
  background: var(--forest-950);
}
.update-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 1rem;
  min-height: 3.15rem;
  padding-block: .55rem;
  text-align: center;
}
.status-dot {
  width: .55rem;
  height: .55rem;
  background: #a8cf8b;
  border-radius: 50%;
  box-shadow: 0 0 0 .32rem rgba(168, 207, 139, .13);
}
.update-strip strong { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.update-strip span { color: rgba(255,255,255,.76); font-size: .88rem; }
.update-strip a { color: var(--white); font-size: .78rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .22rem; }

.breadcrumb-bar {
  position: relative;
  z-index: 15;
  padding-block: .65rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(23, 55, 42, .1);
}
.breadcrumb {
  --bs-breadcrumb-divider: "›";
  align-items: center;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.breadcrumb-item + .breadcrumb-item::before { color: rgba(23, 55, 42, .38); }
.breadcrumb-item a { color: var(--forest-700); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--terracotta); }
.breadcrumb-item.active { color: var(--muted); }

.btn-brand,
.btn-ghost,
.btn-light-brand {
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-brand { color: var(--white); background: var(--terracotta); border: 1px solid var(--terracotta); }
.btn-brand:hover { color: var(--white); background: #8f4c32; border-color: #8f4c32; transform: translateY(-1px); }
.btn-ghost { color: var(--forest-900); background: transparent; border: 1px solid rgba(23,55,42,.28); }
.btn-ghost:hover { color: var(--white); background: var(--forest-900); border-color: var(--forest-900); }
.btn-light-brand { color: var(--forest-950); background: var(--cream); border: 1px solid var(--cream); }
.btn-light-brand:hover { color: var(--forest-950); background: var(--white); border-color: var(--white); }

.home-hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100svh - 120px));
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}
.home-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,23,16,.82) 0%, rgba(8,23,16,.42) 52%, rgba(8,23,16,.08) 100%),
    linear-gradient(0deg, rgba(8,23,16,.55), transparent 45%),
    url('../images/dolina-ribnik.jpg') center 42%/cover no-repeat;
  content: "";
  transform: scale(1.015);
}
.home-hero .hero-content { position: relative; z-index: 2; max-width: 780px; padding-block: clamp(5rem, 11vw, 9rem); }
.home-hero .display-title { color: var(--white); }
.home-hero .lead { max-width: 620px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-kicker { color: #f1c98f; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero-note {
  position: absolute;
  right: max(1.25rem, 5vw);
  bottom: 2rem;
  z-index: 2;
  display: none;
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}
.page-hero::before { position: absolute; inset: 0; content: ""; }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(5rem, 10vw, 8rem); }
.page-hero .page-title { max-width: 780px; color: var(--white); }
.page-hero .lead { max-width: 650px; color: rgba(255,255,255,.78); }
.hero-menu::before { background: linear-gradient(90deg,rgba(10,28,19,.86),rgba(10,28,19,.18)), url('../images/postrv.png') center/cover; }
.hero-about::before { background: linear-gradient(90deg,rgba(10,28,19,.82),rgba(10,28,19,.14)), url('../images/terasa.png') center/cover; }
.hero-animals::before { background: linear-gradient(90deg,rgba(10,28,19,.76),rgba(10,28,19,.08)), url('../images/zivalski-koticek.png') center/cover; }
.hero-blog::before { background: linear-gradient(90deg,rgba(10,28,19,.82),rgba(10,28,19,.18)), url('../images/otrosko-igrisce.jpg') center 52%/cover; }
.hero-news::before { background: linear-gradient(90deg,rgba(10,28,19,.82),rgba(10,28,19,.16)), url('../images/dolina-ribnik.jpg') center 60%/cover; }
.hero-contact::before { background: linear-gradient(90deg,rgba(10,28,19,.84),rgba(10,28,19,.18)), url('../images/terasa.png') center/cover; }

.section-space { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-soft { background: var(--cream); }
.section-forest { color: var(--white); background: var(--forest-950); }
.section-forest .section-title { color: var(--white); }
.section-forest .section-copy { color: rgba(255,255,255,.68); }

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 1.5rem 1.5rem 8rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.image-frame.square { min-height: 520px; border-radius: 1.5rem 8rem 1.5rem 1.5rem; }
.image-frame.tall { min-height: 620px; }
.floating-card {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  z-index: 3;
  max-width: 230px;
  padding: 1.35rem;
  background: var(--paper);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}
.floating-card strong { display: block; color: var(--forest-950); font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.floating-card span { color: var(--muted); font-size: .8rem; }

.experience-card,
.story-card,
.menu-panel,
.info-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid rgba(23,55,42,.1);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.experience-card { padding: 2rem; }
.experience-card .card-number { color: var(--amber); font-family: var(--display); font-size: 2.4rem; }
.experience-card h3 { margin: 1rem 0 .65rem; color: var(--forest-950); font-family: var(--display); font-size: 1.65rem; }
.experience-card p { margin: 0; color: var(--muted); }

.photo-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 1.25rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.photo-card::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(8,23,16,.88),rgba(8,23,16,.02) 66%); content: ""; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.035); }
.photo-card .photo-card-copy { position: absolute; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; z-index: 2; }
.photo-card h3 { color: var(--white); font-family: var(--display); font-size: 2.15rem; }
.photo-card p { max-width: 30rem; margin: 0; color: rgba(255,255,255,.72); }

.quote-band { position: relative; overflow: hidden; }
.quote-band::before { position: absolute; top: -4rem; right: 5%; color: rgba(255,255,255,.06); content: "“"; font-family: var(--display); font-size: 24rem; line-height: 1; }
.quote-text { position: relative; max-width: 940px; margin: 0 auto; color: var(--white); font-family: var(--display); font-size: clamp(2rem, 4.3vw, 4.2rem); line-height: 1.08; text-align: center; }

.meta { color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-card { overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.story-card img { width: 100%; height: 240px; object-fit: cover; }
.story-card .card-body { padding: 1.65rem; }
.story-card h3 { margin: .65rem 0 .6rem; color: var(--forest-950); font-family: var(--display); font-size: 1.7rem; }
.story-card p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--forest-900); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(.25rem); }

.menu-nav { position: sticky; top: 0; z-index: 20; padding-block: .85rem; background: rgba(248,243,233,.96); border-bottom: 1px solid rgba(23,55,42,.1); backdrop-filter: blur(12px); }
.menu-nav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.menu-nav .nav::-webkit-scrollbar { display: none; }
.menu-nav .nav-link { white-space: nowrap; border-radius: 999px; }
.menu-nav .nav-link::after { display: none; }
.menu-nav .nav-link:hover { color: var(--forest-900); background: var(--sage); }
.menu-panel { padding: clamp(1.5rem, 4vw, 3rem); }
.menu-panel h2 { margin-bottom: 2rem; font-family: var(--display); font-size: 2.6rem; }
.menu-item { padding-block: 1.1rem; border-bottom: 1px dashed rgba(23,55,42,.18); }
.menu-item:last-child { border-bottom: 0; }
.menu-item h3 { margin: 0 0 .25rem; font-family: var(--display); font-size: 1.35rem; }
.menu-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.menu-price { color: var(--terracotta); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.menu-note { padding: 1.2rem 1.4rem; color: var(--forest-950); background: var(--sage); border-radius: .9rem; }

.timeline { position: relative; }
.timeline::before { position: absolute; top: .5rem; bottom: .5rem; left: .45rem; width: 1px; background: rgba(23,55,42,.22); content: ""; }
.timeline-item { position: relative; padding: 0 0 2.5rem 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { position: absolute; top: .35rem; left: 0; width: .9rem; height: .9rem; background: var(--terracotta); border: 4px solid var(--cream); border-radius: 50%; box-shadow: 0 0 0 1px var(--terracotta); content: ""; }
.timeline-item .year { color: var(--terracotta); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline-item h3 { margin: .25rem 0 .4rem; font-family: var(--display); font-size: 1.55rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.animal-rule { display: flex; gap: 1rem; align-items: flex-start; }
.animal-rule .rule-icon { display: grid; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; place-items: center; color: var(--forest-900); background: var(--sage); border-radius: 50%; font-weight: 900; }
.animal-rule h3 { margin: 0 0 .25rem; font-family: var(--display); font-size: 1.25rem; }
.animal-rule p { margin: 0; color: var(--muted); font-size: .92rem; }

.news-lead { padding: clamp(1.7rem, 5vw, 3.5rem); color: var(--white); background: var(--forest-900); border-radius: 1.5rem; }
.news-lead .meta { color: #f1c98f; }
.news-lead h2 { color: var(--white); font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); }
.news-lead p { color: rgba(255,255,255,.72); }
.news-row { padding-block: 2rem; border-bottom: 1px solid rgba(23,55,42,.14); }
.news-row:last-child { border-bottom: 0; }
.news-row h3 { font-family: var(--display); font-size: 1.8rem; }

.contact-card { padding: clamp(1.5rem, 4vw, 3rem); background: var(--cream); border-radius: 1.5rem; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding-block: 1rem; border-bottom: 1px solid rgba(23,55,42,.13); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-list a, .contact-list strong { color: var(--forest-950); font-family: var(--display); font-size: 1.35rem; font-weight: 500; text-decoration: none; }
.form-control, .form-select { min-height: 3.4rem; background: var(--paper); border-color: rgba(23,55,42,.18); border-radius: .7rem; }
.form-control:focus, .form-select:focus { border-color: var(--moss); box-shadow: 0 0 0 .25rem rgba(120,144,93,.15); }
textarea.form-control { min-height: 150px; }
.map-frame { min-height: 460px; overflow: hidden; border: 0; border-radius: 1.5rem; box-shadow: var(--shadow-lg); }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

.site-footer { padding-top: 5rem; color: rgba(255,255,255,.72); background: var(--forest-950); }
.site-footer .brand-mark { color: var(--forest-950); background: var(--cream); border-color: var(--cream); }
.site-footer .brand-copy strong { color: var(--white); }
.site-footer .brand-copy small { color: rgba(255,255,255,.55); }
.footer-title { margin-bottom: 1.2rem; color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.66); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 4rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.source-note { color: var(--muted); font-size: .78rem; }

.toast-container { z-index: 2000; }

@media (min-width: 768px) {
  .hero-note { display: block; }
  .update-strip .container { justify-content: flex-start; text-align: left; }
}

@media (min-width: 992px) {
  .site-navbar { padding-block: .55rem; }
  .navbar-nav { gap: .15rem; }
  .nav-link { padding: 1.05rem .72rem !important; }
}

@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: .9rem; padding: 1rem; background: var(--cream); border-radius: 1rem; }
  .nav-link::after { right: auto; left: 0; width: 1.5rem; }
  .language-menu { margin-top: .75rem; }
  .menu-nav { top: 0; }
}

@media (max-width: 575.98px) {
  main .row.g-5,
  .site-footer .row.g-5 { --bs-gutter-x: 1.5rem; }
  .brand-copy small { display: none; }
  .display-title { font-size: clamp(2.9rem, 16vw, 4.25rem); }
  .page-title { font-size: clamp(2.7rem, 15vw, 4rem); }
  .home-hero { min-height: 650px; }
  .home-hero::before { background-position: 60% center; }
  .page-hero { min-height: 480px; }
  .image-frame, .image-frame.square, .image-frame.tall { min-height: 390px; }
  .floating-card { right: .75rem; bottom: .75rem; }
  .photo-card { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
