@import url("fonts.css");

/* ============================================================
   Villa Iris — statička rekonstrukcija
   TEMELJ + ZAJEDNIČKI OKVIR (gornja traka, header, meni, podnožje)
   Stilovi pojedinih sekcija dolaze u zasebnim blokovima niže.
   ============================================================ */

:root {
  --brand: #928571;          /* taupe — glavna boja */
  --topbar-bg: #dbdbdb;
  --footer-bg: #222;
  --text: #666;
  --heading: #333;
  --row: 1080px;
  --serif: Merriweather, Georgia, "Times New Roman", serif;
  --sans: "Open Sans", Arial, sans-serif;
  --topbar-h: 31px;
  --header-h: 86px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.row {
  width: 80%;
  max-width: var(--row);
  margin: 0 auto;
  padding: 27px 0;
}

.row--full {
  width: 100%;
  max-width: none;
}

.section {
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Gornja traka
   ------------------------------------------------------------ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  color: rgba(0, 0, 0, 0.75);
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* original: kontejner je pune širine s 30px paddinga, sadržaj lijevo */
.topbar__inner {
  width: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: var(--brand);
}

/* ikone telefona i maila — original ih crta ETmodules fontom */
.topbar__item {
  display: inline-flex;
  align-items: center;
}

.topbar__ico {
  width: 12px;
  height: 12px;
  flex: none;
  fill: rgb(65, 64, 66);
  margin-right: 2px;
}

.topbar__ico--line {
  fill: none;
  stroke: rgb(65, 64, 66);
  margin-right: 4px;
}

/* ------------------------------------------------------------
   Header + logo
   ------------------------------------------------------------ */

.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* original: pun širinom, logo uz lijevi rub, meni uz desni */
.header__inner {
  width: 100%;
  height: 100%;
  padding: 0 32px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  flex: none;
  display: block;
}

/* original: logo na 63% visine headera, 4px odmaka od paddinga */
.logo img {
  max-height: 54px;
  width: auto;
  margin-left: 4px;
}

/* ------------------------------------------------------------
   Navigacija
   ------------------------------------------------------------ */

/* original: svaka stavka ima padding-right 22px, plus 4px razmaka */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  position: relative;
  padding-right: 22px;
}

/* original: obična stavka je tamnosiva, aktivna i hover su taupe */
.nav__list > li > a,
.nav__list > li > button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.nav__list > li > a:hover,
.nav__list > li > button:hover,
.nav__list > li.is-current > a,
.nav__list > li.is-current > button {
  color: var(--brand);
}

/* Podcrtavanje — original: 2px traka koja se razvlači slijeva nadesno.
   U mirovanju right:100% (širina 0), na hover i na aktivnoj right:0. */
.nav__list > li > a,
.nav__list > li > button {
  position: relative;
}

.nav__list > li > a::before,
.nav__list > li > button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -11px;
  height: 2px;
  background: var(--brand);
  transition: right 0.3s ease-out;
}

.nav__list > li > a:hover::before,
.nav__list > li > button:hover::before,
.nav__list > li.is-current > a::before,
.nav__list > li.is-current > button::before {
  right: 0;
}

.nav__caret {
  width: 8px;
  height: 8px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.has-sub.is-open .nav__caret {
  transform: rotate(180deg);
}

/* padajući izbornik */

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  min-width: 190px;
  background: #fff;
  border-top: 3px solid var(--brand);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-sub:hover .subnav,
.has-sub.is-open .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* original: podstavke su tamnosive kao i glavne, taupe je samo aktivna stranica
   (jezici se ne isticu, ni trenutni jezik) */
.subnav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
}

.subnav li.is-current > a {
  color: var(--brand);
}

.subnav a:hover {
  color: var(--brand);
  background: rgba(0, 0, 0, 0.02);
}

.lang__flag {
  width: 16px;
  height: 11px;
  flex: none;
  object-fit: cover;
}

/* hamburger */

.nav-toggle {
  display: none;
  width: 34px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--brand);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 7px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 21px; }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Glavni sadržaj
   ------------------------------------------------------------ */

.page {
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* ------------------------------------------------------------
   Podnožje
   ------------------------------------------------------------ */

.footer {
  background: var(--footer-bg);
}

.footer__bottom {
  background: var(--brand);
  padding: 15px 0 5px;
}

/* original: 1080px kontejner, tekst poravnat lijevo */
.footer__inner {
  width: 80%;
  max-width: var(--row);
  margin: 0 auto;
}

.footer__info {
  font-size: 15px;
  line-height: 25.5px;
  color: #fff;
  margin: 0;
  padding-bottom: 10px;
  text-align: left;
}

.footer__info a {
  color: #fff;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.footer__info a:hover {
  opacity: 0.75;
}

/* ------------------------------------------------------------
   Animacije pri skrolu

   Original koristi Divi animacije: 1000ms, ease-in-out,
   početna prozirnost 0%, intenzitet 50%. Smjer je onaj s kojeg
   element ulazi — slideBottom odozdo, slideLeft slijeva,
   slideRight zdesna.
   ------------------------------------------------------------ */

[data-anim] {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

[data-anim="slideBottom"] { transform: translateY(10%); }
[data-anim="slideLeft"]   { transform: translateX(-10%); }
[data-anim="slideRight"]  { transform: translateX(10%); }

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------
   Gumbi (Divi stil: obrub, bez ispune)
   ------------------------------------------------------------ */

/* Divi gumb: strelica je skrivena, na hover se padding proširi
   udesno i strelica uklizne. Ista na svim stranicama. */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.7;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 3px;
  padding: 6px 20px;
  transition: padding 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: opacity 0.3s ease, right 0.3s ease;
}

.btn:hover {
  padding-right: 44px;
  padding-left: 14px;
}

.btn:hover::after {
  opacity: 1;
  right: 16px;
}

.band .btn,
.parallax .btn {
  color: #fff;
  border-color: #fff;
}

/* ------------------------------------------------------------
   SEC 0 — hero (tekst lijevo, slider desno, preko cijele širine)
   ------------------------------------------------------------ */

.hero {
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
}

.hero__text {
  padding: 0 60px;
}

.hero__text h1 {
  font-size: 26px;
  line-height: 26px;
  letter-spacing: 1px;
  color: var(--brand);
  padding-bottom: 10px;
  margin-bottom: 40.75px;
}

.hero__text .sub {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--brand);
  margin: -28px 0 40px;
}

.hero__text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.7em;
}

.hero__media {
  height: 917px;
}

/* ------------------------------------------------------------
   Slider
   ------------------------------------------------------------ */

.slider {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: grid;
  place-items: center;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.slider:hover .slider__nav { opacity: 1; }
.slider__nav:hover { color: var(--brand); }
.slider__nav svg { width: 26px; height: 26px; fill: currentColor; }
.slider__nav--prev { left: 6px; }
.slider__nav--next { right: 6px; }

.slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider__dot.is-active { background: #fff; }

/* ------------------------------------------------------------
   SEC 1 i 4 — taupe trake
   ------------------------------------------------------------ */

.band {
  background: var(--brand);
  padding: 54px 0;
  text-align: center;
  color: #fff;
}

.band h1 {
  font-size: 37px;
  line-height: 37px;
  color: #fff;
  margin-bottom: 29.69px;
}

.band p {
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 29.69px;
}

/* ------------------------------------------------------------
   SEC 2 — blurbovi
   ------------------------------------------------------------ */

.features {
  padding: 54px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 5.5%;
  text-align: center;
}

.feature img {
  width: 100px;
  height: auto;
  margin: 0 auto 18px;
}

.feature h4 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--heading);
}

/* ------------------------------------------------------------
   SEC 3 — parallax + cjenik
   ------------------------------------------------------------ */

.parallax {
  /* .pricing ulazi sa slideRight (translateX(10%)); bez ovoga na uskim
     ekranima viri preko desnog ruba i stranica dobije vodoravni scroll */
  overflow-x: clip;
  padding: 54px 0;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

/* original: okvir 1px #BEBEBE, pozadina #FCFCFC,
   zaglavlje na sivoj traci, cijena 80px u boji teme */
.pricing {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  background: #fcfcfc;
  border: 1px solid #bebebe;
  padding: 0 0 30px;
  text-align: center;
}

.pricing__heading {
  background: #bebebe;
  padding: 10px 0;
}

.pricing h2 {
  font-size: 23px;
  line-height: 1.2;
  color: #fff;
  padding-bottom: 5px;
  margin: 0;
}

.pricing__price {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: #999;
  padding: 24px 0 18px;
}

.pricing__sum {
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  color: var(--brand);
}

.parallax .pricing .btn {
  color: var(--brand);
  border-color: var(--brand);
}

/* ------------------------------------------------------------
   SEC 4 — brojači
   ------------------------------------------------------------ */

.counters {
  background: var(--brand);
  padding: 23px 0 0;
}

.counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.counter__value {
  font-family: var(--sans);
  font-size: 72px;
  font-weight: 500;
  line-height: 72px;
  color: #fff;
}

.counter h5 {
  font-size: 16px;
  line-height: 16px;
  color: #fff;
  margin-top: 14px;
}

/* ------------------------------------------------------------
   SEC 5 / 8 — bijeli tekstni blokovi
   ------------------------------------------------------------ */

.textblock {
  padding: 54px 0 0;
  text-align: center;
}

/* naslovi sekcija su u boji teme, ne crni */
.textblock h1 {
  font-size: 37px;
  line-height: 37px;
  color: var(--brand);
  margin-bottom: 29.69px;
}

/* kontakt: mail, web i društvene mreže s ikonama, jedno ispod drugog */
/* stavke su jedna ispod druge (kako je trazeno), ali s razmakom retka
   originala (15px/25.5) pa blok zauzima istih 102px kao inline verzija */
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  line-height: 25.5px;
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--brand);
}

.contact-links svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--brand);
}

.textblock p {
  font-size: 15px;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   404 — gumbi na tri jezika
   ------------------------------------------------------------ */

.err404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 29.69px 0;
}

@media (max-width: 620px) {
  .err404__links .btn {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------
   Dvostupčani raspored (podstranice)
   ------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 5.556%;
  align-items: start;
}

/* original nema responsive wrapper: iframe zadrzava height="720" iz atributa,
   a 8px ispod njega dolazi od baseline-a inline elementa (ukupno 728) */
.video-embed {
  width: 100%;
  background: #000;
  margin-bottom: 8px;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

/* talijanska verzija: tamo je video ubacen bez height atributa pa je responzivan 16:9 */
.video-embed--fluid {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 0;
}

.video-embed--fluid iframe {
  position: absolute;
  inset: 0;
  height: 100%;
}

.prose {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  text-align: justify;
  margin-bottom: 29.69px;
}

.prose--left {
  text-align: left;
}

.prose p {
  margin-bottom: 1.7em;
}

/* naslov podstranice: original nema donju marginu, samo 10px paddinga */
.textblock h1.page-title,
.page-title {
  font-size: 37px;
  line-height: 37px;
  color: var(--brand);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 10px;
}

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

/* ------------------------------------------------------------
   SEC 6 — galerija
   ------------------------------------------------------------ */

.gallery-section {
  padding: 54px 0 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* original ima 3px bijeli okvir oko svake plocice (Divi "et_pb_with_border") */
.gallery__item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 472 / 337;
  border: 3px solid #fff;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover: bijeli veo 0.9 + plus u krugu u boji teme (Divi .et_overlay) */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23928571' stroke-width='2'/%3E%3Cpath d='M16 9v14M9 16h14' stroke='%23928571' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery-section__actions {
  text-align: center;
}

/* ------------------------------------------------------------
   SEC 7 — karta
   ------------------------------------------------------------ */

.map {
  line-height: 0;
}

/* original koristi Divi mapu s bež stilom; embed iframe ne prima
   custom stilove pa se ista nijansa postiže filtrom */
.map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
  filter: sepia(0.45) saturate(0.75) brightness(1.04) contrast(0.95);
}

/* ------------------------------------------------------------
   SEC 9 — slika preko cijele širine
   ------------------------------------------------------------ */

.fullimage img {
  width: 100%;
  height: 721px;
  object-fit: cover;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__btn {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  opacity: 0.7;
}

.lightbox__btn:hover { opacity: 1; }
.lightbox__btn svg { width: 34px; height: 34px; fill: currentColor; }
.lightbox__close { top: 14px; right: 20px; }
.lightbox__close svg { width: 26px; height: 26px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #bbb;
  font-size: 13px;
}

/* ------------------------------------------------------------
   ZIMMER — sobe: opis + accordion lijevo, slider desno
   Original: red 1080 (padding-left 50), stupci 306 + 668,
   razmak 56, visina 501 (odreduje je slider)
   ------------------------------------------------------------ */

/* razmak izmedu naslova i uvoda je razmak izmedu Divi modula */
.rooms__intro {
  margin-top: 28.3144px;
  text-align: center;
}

.rooms {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.room {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--row);
  margin: 0 auto;
  padding-left: 50px;
  background: #f7f7f7;
}

.room__info {
  flex: 0 0 306px;
  /* original rucno spusta sadrzaj: 100px, odnosno 60px kod sobe s opisom */
  padding-top: var(--room-top, 100px);
  text-align: left;
}

.room__info > * + * {
  margin-top: 28.3144px;
}

.room__media {
  flex: 0 0 668px;
}

.room__title h4 {
  margin: 0;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  color: var(--brand);
}

.room__desc {
  font-size: 15px;
  line-height: 1.7;
}

/* Divi: odlomci u tekstualnom modulu imaju 1em razmaka ispod, osim zadnjeg */
.room__title p,
.room__desc p {
  margin: 0;
  padding-bottom: 1em;
}

.room__title p:last-of-type,
.room__desc p:last-of-type {
  padding-bottom: 0;
}

.room__btn {
  line-height: 0;
}

/* --- accordion (Divi toggle) --- */

.toggle {
  background: #f4f4f4;
  border: 1px solid #d9d9d9;
  padding: 20px;
  text-align: left;
}

.toggle__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 17px;
  font-weight: 700;
  color: #666;
}

/* na stranici soba original koristi manji naslov nego drugdje */
.room__info .toggle__title {
  font-size: 15px;
  line-height: 15px;
}

.toggle__title button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 50px 0 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* zatvoreno: puni sivi krug s bijelim plusom, otvoreno: minus */
.toggle__title button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: no-repeat center/16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.5' fill='%23ccc'/%3E%3Cpath d='M5 8h6M8 5v6' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.toggle.is-open .toggle__title button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.5' fill='%23ccc'/%3E%3Cpath d='M5 8h6' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.toggle__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.toggle.is-open .toggle__body {
  grid-template-rows: 1fr;
}

.toggle__inner {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.7;
}

/* razmak od naslova mora biti margina prvog djeteta, ne padding:
   padding grid-stavke se ne stisne pa bi curio i kad je toggle zatvoren */
.toggle__inner > *:first-child {
  margin-top: 20px;
}

/* Divi vrijednosti za liste i odlomke unutar togglea */
.toggle__inner ul {
  margin: 0;
  padding: 0 0 23px 15px;
  list-style: disc;
}

.toggle__inner li {
  line-height: 26px;
}

.toggle__inner p {
  margin: 0;
  padding-bottom: 1em;
}

.toggle__inner p:last-of-type {
  padding-bottom: 0;
}

.toggle__inner table {
  border-collapse: collapse;
  margin-bottom: 1.7em;
}

.toggle__inner td {
  padding: 2px 6px;
}

/* ------------------------------------------------------------
   ANFAHRT — kontakt podaci lijevo (225), accordion desno (795)
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   NEWS — slika lijevo, naslov i tekst desno; ispod mala galerija
   Original: red ima 30px bocnog paddinga, stupci 482 + 482
   ------------------------------------------------------------ */

.row--pad30 {
  padding-left: 30px;
  padding-right: 30px;
}

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 56.0876px;
}

.news__media,
.news__body {
  flex: 1 1 0;
  min-width: 0;
}

.news__media img {
  display: block;
  width: 100%;
  height: auto;
}

.news__head {
  margin-bottom: 28.0361px;
  text-align: left;
}

.news__head h3 {
  margin: 0;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 27px;
  font-weight: 700;
  color: var(--brand);
}

.news__text {
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.news__text p {
  margin: 0;
  padding-bottom: 1em;
}

.news__text p:last-of-type {
  padding-bottom: 0;
}

.news__text img {
  max-width: 100%;
  height: auto;
}

/* WordPress klase poravnanja za slike unutar teksta */
.news__text img.alignright {
  display: block;
  float: right;
  margin: 0 0 0 15px;
}

.news__text img.alignleft {
  display: block;
  float: left;
  margin: 0 15px 0 0;
}

.news__text img.aligncenter {
  display: block;
  margin: 0 auto;
}

/* galerija ovdje ima razmake i nema bijeli okvir (Divi standardni grid) */
.newsgal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56.0876px;
}

.newsgal__item {
  aspect-ratio: 400 / 284;
  border: 0;
}

@media (max-width: 900px) {
  .news__item {
    flex-wrap: wrap;
    gap: 24px;
  }
  .news__media,
  .news__body {
    flex: 1 1 100%;
  }
  .newsgal {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ------------------------------------------------------------
   AKTIV — video u sredini (stupci 168 | 624 | 168)
   ------------------------------------------------------------ */

.aktiv__media {
  width: 624px;
  margin: 0 auto;
}

.aktiv__sub {
  margin-top: 29.6907px;
  font-size: 15px;
  line-height: 1.7;
}

.aktiv__sub p {
  margin: 0;
}

@media (max-width: 780px) {
  .aktiv__media {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   SEMINARE — uvod, dva togglea jedan uz drugi, gumb, galerija
   ------------------------------------------------------------ */

.seminare__intro {
  margin-top: 29.6907px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.seminare__intro p {
  margin: 0;
}

/* stupac je flex-stavka, toggle je obican blok u njemu - kao u originalu
   (Divi stupac + modul). Tako otvaranje jednog ne rasteze drugi, a animacija
   visine ostaje ispravna. */
.seminare__toggles {
  display: flex;
  align-items: flex-start;
  gap: 59.3969px;
}

/* 510px je sirina iz originala, ali stupci se smiju stisnuti - inace red
   od 510+59+510 probije .row (80%) i stranica dobije vodoravni scroll
   na svemu ispod 1200px */
.seminare__col {
  flex: 1 1 510px;
  min-width: 0;
}

.seminare__btn {
  margin: 0;
  line-height: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .seminare__toggles {
    flex-wrap: wrap;
    gap: 20px;
  }
  .seminare__col {
    flex: 1 1 100%;
  }
}

/* ------------------------------------------------------------
   ANFAHRT — kontakt podaci lijevo (225), accordion desno (795)
   ------------------------------------------------------------ */

.anfahrt {
  display: flex;
  align-items: flex-start;
  gap: 59.3969px;
}

.anfahrt__side {
  flex: 0 0 225px;
  text-align: left;
}

.anfahrt__side > * + * {
  margin-top: 29.6907px;
}

.anfahrt__head h4 {
  margin: 0;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  color: var(--brand);
}

.anfahrt__addr {
  font-size: 15px;
  line-height: 1.7;
}

.anfahrt__addr p {
  margin: 0;
}

.anfahrt__img {
  display: block;
  width: 100%;
  height: auto;
}

.accordion {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 29.6907px;
}

/* u accordionu je otvorena stavka bijela */
.accordion .toggle.is-open {
  background: #fff;
}

.accordion .toggle.is-open .toggle__title {
  color: #333;
}

@media (max-width: 980px) {
  .anfahrt {
    flex-wrap: wrap;
    gap: 30px;
  }
  .anfahrt__side {
    flex: 1 1 100%;
  }
}

/* --- slider soba: prelaz je pretapanje, ne klizanje --- */

.slider--fade {
  aspect-ratio: 668 / 501;
  height: auto;
}

.slider--fade .slider__track {
  display: block;
  height: 100%;
  transition: none;
}

.slider--fade .slider__slide {
  position: absolute;
  inset: 0;
  min-width: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* slajdovi nose .gallery__item samo zbog lightboxa - bez omjera, okvira i "+" preklopa */
.slider--fade .gallery__item {
  aspect-ratio: auto;
  border: 0;
}

.slider--fade .gallery__item::after {
  content: none;
}

.slider--fade .slider__slide.is-active {
  opacity: 1;
}

/* tijekom mijesanja slika pri ucitavanju nema pretapanja */
.slider--fade.is-shuffling .slider__slide {
  transition: none;
}

/* strelice originala ulaze izvana i pojavljuju se tek na hover */
.room .slider__nav {
  width: 48px;
  height: 48px;
  color: #414042;
  transition: all 0.2s ease-in-out;
}

.room .slider__nav svg { width: 34px; height: 34px; }
.room .slider__nav--prev { left: -22px; }
.room .slider__nav--next { right: -22px; }
.room .slider:hover .slider__nav--prev { left: 22px; }
.room .slider:hover .slider__nav--next { right: 22px; }

.room .slider__dots {
  bottom: 20px;
  gap: 10px;
}

.room .slider__dot {
  width: 7px;
  height: 7px;
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.5;
}

.room .slider__dot.is-active {
  background: #333;
  opacity: 1;
}

/* ------------------------------------------------------------
   Responsive — sadržaj
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .room {
    flex-wrap: wrap;
    padding-left: 0;
  }
  .room__info {
    flex: 1 1 100%;
    order: 2;
    padding: 30px 5%;
  }
  .room__media {
    flex: 1 1 100%;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__text {
    padding: 40px 5%;
  }
  .hero__media {
    height: 60vh;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .parallax {
    background-attachment: scroll;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 5%;
  }
  .counters__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }
}

@media (max-width: 620px) {
  .hero__text h1 { font-size: 22px; line-height: 24px; }
  .band h1,
  .textblock h1 { font-size: 28px; line-height: 32px; }
  .counter__value { font-size: 54px; line-height: 54px; }
  .features__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .map iframe { height: 320px; }
  .fullimage img { height: 380px; }
}

/* ------------------------------------------------------------
   Responsive — okvir
   ------------------------------------------------------------ */

@media (max-width: 1240px) {
  .nav__list { gap: 12px; }
  .nav__list > li > a,
  .nav__list > li > button { font-size: 11px; }
  /* margin:auto je obavezan - bez njega traka od 92% stoji uz lijevi rub
     pa desno ostane 8% praznine. Usto mobilni panel racuna na centriranost:
     .nav ima left/right -4.3% od 92%, sto je tocno 4% ekrana sa svake
     strane, pa panel padne preko cijele sirine. */
  .header__inner,
  .topbar__inner { width: 92%; margin: 0 auto; }
}

/* Hamburger ide vec od 1200px: desktop meni je ~906px + logo, a u
   header (92% sirine) ispod 1200px stane samo ~690px - inace se
   KONTAKT i prebacivac jezika odrezu. */
@media (max-width: 1200px) {
  .topbar,
  .header {
    position: static;
  }

  .page {
    padding-top: 0;
  }

  .header__inner {
    position: relative;
  }

  .topbar__inner {
    justify-content: center;
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: -4.3%;
    right: -4.3%;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 98;
    display: block;
  }

  .nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 18px;
  }

  /* original: padding 10px 5%, boja #666, separator rgba(0,0,0,.03) */
  .nav__list > li > a,
  .nav__list > li > button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 5%;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .nav__list > li {
    padding-right: 0;
  }

  /* na mobitelu stavke imaju separator, ne animiranu crtu */
  .nav__list > li > a::before,
  .nav__list > li > button::before {
    display: none;
  }

  .subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    padding: 4px 0 8px 26px;
    display: none;
  }

  .has-sub:hover .subnav {
    display: none;
  }

  .has-sub.is-open .subnav {
    display: block;
  }
}

/* siri sadrzaj tek na pravom mobitelu, ne vec na tabletu */
@media (max-width: 980px) {
  .row {
    width: 88%;
    padding: 30px 0;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
  }

  .topbar {
    height: auto;
    padding: 5px 0;
  }
}
