/* ============================================================
   BIG BEAR PLITVICE NATURE RESORT — static rebuild
   Design 1:1 preserved from original WordPress site
   ============================================================ */

/* fonts.css se učitava zasebnim <link>-om u headu (bez @import lanca — render-blocking fix) */

:root {
  --green: #006838;
  --green-link: #12b512;
  --text: #5c5c5c;
  --heading-dark: #232323;
  --dark-strip: #292E31;
  --dark-bar: #23272A;
  --grey-bg: #f7f5f5;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.43;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  color: var(--green);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============ TRAVELPACK ICON FONT (1:1 sa starog weba) ============ */
@font-face {
  font-family: "travelpack";
  src: url("../fonts/travelpack.woff") format("woff"),
       url("../fonts/travelpack.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
[class^="travelpack-"]:before, [class*=" travelpack-"]:before {
  font-family: travelpack;
  font-style: normal;
}
.travelpack-phone-24-7:before { content: "\f106"; }
.travelpack-trifolded-map-route:before { content: "\f11b"; }
.travelpack-fork-plate-knife:before { content: "\f11d"; }
.travelpack-direction-sign:before { content: "\f144"; }
.travelpack-person-plus:before { content: "\f138"; }
.travelpack-shower-head-water:before { content: "\f120"; }
.travelpack-flying-kite:before { content: "\f10d"; }
.travelpack-camping-tent:before { content: "\f125"; }
.travelpack-lightning-bolt:before { content: "\f107"; }
.travelpack-beach-ball:before { content: "\f13e"; }
.travelpack-king-size-bed:before { content: "\f12a"; }
.travelpack-restaurant-dine:before { content: "\f101"; }
.travelpack-train-front:before { content: "\f11f"; }
.travelpack-mountains-snow:before { content: "\f152"; }

/* ============ LINEA ICON FONT (WiFi ikona, 1:1 sa starog weba) ============ */
@font-face {
  font-family: "linea-basic-10";
  src: url("../fonts/linea-basic-10.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.icon-basic-rss:before {
  font-family: "linea-basic-10";
  font-style: normal;
  content: "\5C";
}

/* ============ HEADER ============ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 120px;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { width: 240px; height: auto; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  padding: 15px 0;
  transition: color .2s;
  display: inline-block;
}

.main-nav a:hover { color: #cfe6d8; }

/* language dropdown */
.lang-item { position: relative; }
.lang-item > a img,
.lang-menu img { width: 18px; height: 12px; display: inline-block; vertical-align: -1px; margin-right: 7px; }
.lang-item > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: #fff;
  vertical-align: 1px;
}
.lang-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 170px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
}
.lang-item:hover .lang-menu,
.lang-item:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: block;
  color: #333;
  padding: 9px 16px;
  text-transform: none;
  font-size: 14px;
}
.lang-menu a:hover { background: #f2f2f2; color: var(--green); }

.social-item a { padding: 15px 2px; }
.social-item svg { width: 16px; height: 16px; fill: #fff; vertical-align: middle; transition: fill .2s; }
.social-item a:hover svg { fill: #cfe6d8; }

/* mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  z-index: 130;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all .25s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 804px;
  background: #232323 center/cover no-repeat;
  background-image: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* svi heroji (naslovnica i podstranice) jednake visine */

.hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;           /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;       /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;                /* lazy façade: fade-in kad se video učita */
  transition: opacity .8s ease;
}
.hero-video iframe.ready { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .6;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 20px 90px;
  max-width: 1000px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}

.hero-content .hero-sub {
  font-size: 16px;
  letter-spacing: .5px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #151515;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 12px 38px;
  margin-top: 42px;
  transition: all .25s;
}
.btn:hover { background: transparent; color: #fff; }

.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px;
  padding: 11px 44px;
}
.btn--green:hover { background: transparent; color: var(--green); }

/* weather bar — u hero sadržaju ispod gumba, kao original (16px) */
.weather {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 46px;
  color: #fff;
  font-size: 16px;
  min-height: 24px;
}
.weather .day { display: flex; align-items: center; gap: 8px; }
.weather .day svg { width: 20px; height: 20px; fill: #fff; }
.weather .temp { font-style: normal; font-weight: 400; }

/* ============ SECTIONS ============ */
.section { padding: 95px 0; }

.section-title {
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
}

.title-divider {
  width: 54px;
  height: 2px;
  background: var(--green);
  margin: 22px auto 26px;
}

.section-sub {
  text-align: center;
  margin-bottom: 40px;
}

.intro-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #333;
  line-height: 2;
}
.intro-text p + p { margin-top: 28px; }

/* ============ CAROUSEL ============ */
.carousel {
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  width: max-content;
  animation: carousel-scroll 55s linear infinite;
}
.carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-track img {
  width: calc(25vw - 8px);
  height: 275px;
  object-fit: cover;
  flex: 0 0 auto;
  margin-right: 8px;
}
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ ROOM CARDS — tekst stalno vidljiv uz blagi tamni overlay,
   hover = svijetlozelena rgba(141,191,63,.74) ============ */
.container--wide { max-width: 1310px; }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.room-card {
  position: relative;
  display: block;
  overflow: hidden;
}
.room-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s linear;
}
.room-card:hover img { transform: scale(1.05); }
.room-card .room-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  transition: background .15s linear;
}
.room-card:hover .room-overlay { background: rgba(141, 191, 63, .74); }
.room-card .room-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.room-card h3 {
  font-size: 28px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
}
.room-card p {
  color: #fff;
  font-size: 16px;
  line-height: 2;
  margin-top: 8px;
}

/* ============ SPLIT SECTIONS ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
}
.split-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.split-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 8%;
}
.split-txt h3 {
  font-size: 30px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.split-txt h3.split-title-green { color: var(--green); text-transform: none; }
.split-txt p { color: #333; line-height: 1.8; }
.split-txt .small-note { font-size: 13px; color: #333; }
.split--grey { background: var(--grey-bg); }

/* ============ FOOTER (site-wide) ============ */
.get-in-touch { padding: 95px 0 85px; background: #fff; }

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 14px;
}
.info-box {
  background: var(--grey-bg);
  text-align: center;
  padding: 44px 28px 40px;
  border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
}
.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}
.info-box svg {
  width: 52px; height: 52px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.2;
  margin: 0 auto 18px;
  display: block;
}
.info-box h4 {
  font-size: 25px;
  color: var(--green);
  margin-bottom: 10px;
}
.info-box p { color: #333; font-size: 15px; line-height: 1.8; }
.info-box a { color: var(--green); font-weight: 600; transition: color .2s; }
.info-box a:hover { color: var(--green-link); }

/* dark strip: EU logos + payments */
.footer-strip {
  background: var(--dark-strip);
  padding: 45px 0 35px;
}
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 38px;
}
.footer-logos a, .footer-logos span { background: #fff; display: block; }
.footer-logos img { height: 60px; width: auto; }

.footer-payments {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-payments img { height: 34px; width: auto; }

/* bottom bar */
.footer-bottom {
  background: var(--dark-bar);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--green-link); font-size: 16px; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .credit { color: #9aa0a3; font-size: 14px; }
.footer-bottom .credit span { color: #e25555; }

/* ============ SOLID HEADER (pages without hero) ============ */
.site-header--solid {
  position: static;
  background: #000;
  height: 88px;
}

/* ============ ANCHORS ============ */
.anchor { display: block; position: relative; top: -80px; visibility: hidden; }

/* ============ CIRCLES (contact / activities) ============ */
.circles {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
  text-align: center;
}
.circle-box { display: block; max-width: 260px; }
.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 152px; height: 152px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #8DBF3F;
  transition: background .25s;
}
.circle-box:hover .circle { background: var(--green); }
.circle svg { width: 56px; height: 56px; fill: #fff; }
.circle i { font-size: 60px; color: #fff; line-height: 1; }
.circle-box h4 { font-size: 25px; color: var(--green); }
.circle-box p { color: #333; font-size: 14px; margin-top: 8px; }

/* ============ BROCHURE CTA ============ */
.brochure { background: var(--grey-bg); padding: 55px 0; }
.brochure-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.brochure h3 { font-size: 28px; color: var(--green); }
.brochure .btn { margin-top: 0; }

/* ============ SECTION VARIANTS ============ */
.section--grey { background: var(--grey-bg); }

/* zelena naslovna traka na aktivnostima (1:1 original) */
.heading-band {
  background: #8DBF3F;
  padding: 50px 0;
  text-align: center;
}
.heading-band .band-text {
  font-family: "Spinnaker", "Open Sans", sans-serif;
  font-size: 24px;
  color: #fff;
  line-height: 3.9;
}

.btn--small { font-size: 14px; padding: 9px 30px; }
.btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 28px;
  margin-top: 0;
}
.btn--outline:hover { background: #fff; color: #151515; }

/* ============ AMENITY BAR (room pages) — veličine 1:1 sa starog weba ============ */
.amenity-bar { background: #50514F; padding: 24px 0; }
.amenity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.amens { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.amen { color: #fff; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.amen i { font-size: 24px; line-height: 1; color: #fff; }
.amen .travelpack-person-plus { font-size: 28px; }

/* ============ LIGHTBOX (kao Elementor lightbox na originalu) ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lightbox img {
  max-width: min(90vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  padding: 12px;
  opacity: .85;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; }
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lightbox--single .lb-prev, .lightbox--single .lb-next { display: none; }

/* ============ ROOM PAGE ============ */
.room-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.room-title { font-size: 30px; margin-bottom: 20px; text-transform: uppercase; }
.room-grid2 p { color: #333; line-height: 1.9; }

.gallery { position: relative; overflow: hidden; }
.gallery a { display: none; }
.gallery a.active { display: block; }
.gallery img { width: 100%; aspect-ratio: 605/465; object-fit: cover; }
.gal-prev, .gal-next {
  position: absolute;
  bottom: 12px;
  width: 42px; height: 42px;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s;
}
.gal-prev { left: 12px; }
.gal-next { left: 60px; }
.gal-prev:hover, .gal-next:hover { background: var(--green); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.svc { display: flex; align-items: center; gap: 20px; }
.svc-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.svc-ico i { font-size: 44px; line-height: 1; color: var(--green); }
.svc h5 { font-size: 22px; font-weight: 300; color: var(--green); }

/* ============ CONTACT MAP ============ */
.contact-map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

/* ============ INNER PAGES ============ */
.page-content { padding: 80px 0; }
.page-content h2 { font-size: 30px; margin: 40px 0 16px; }
.page-content h3 { font-size: 24px; color: var(--heading-dark); margin: 30px 0 12px; }
.page-content p { color: #333; line-height: 1.9; margin-bottom: 16px; }
.page-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; color: #333; line-height: 1.9; }
.page-content a { color: var(--green); }
.page-content a:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 44px; }
  .main-nav ul { gap: 18px; }
  .logo img { width: 190px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: #10231a;
    padding: 100px 34px 40px;
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 120;
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a { font-size: 17px; }
  .lang-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent;
    box-shadow: none;
    display: none;
  }
  .lang-item.open .lang-menu { display: block; }
  .lang-menu a { color: #cfd8d2; padding: 8px 0 8px 26px; }
  .lang-menu a:hover { background: none; color: #fff; }

  /* mora biti ISPOD .site-header (z-index 100) — inače prekrije i sam meni */
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 90;
  }

  .hero { min-height: 620px; }
  .hero-content h1 { font-size: 34px; }
  .hero-content .hero-sub { font-size: 14px; }
  .hero-video { display: none; }   /* like original: video hidden on mobile */
  .hero { background-image: var(--hero-bg-m, var(--hero-bg)); }  /* manja -mob.webp pozadina */

  .section { padding: 60px 0; }
  .section-title { font-size: 29px; }

  /* single column on mobile — pravilo */
  .rooms-grid { grid-template-columns: 1fr; }
  .info-boxes { grid-template-columns: 1fr; }
  .carousel-track img { width: 72vw; height: 220px; }
  .split { grid-template-columns: 1fr; }
  .split-txt { padding: 50px 24px; order: 1; }
  .split-img { order: 2; }
  .footer-logos { gap: 24px; }
  .footer-bottom .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom .credit { order: 3; }

  .weather { gap: 16px; font-size: 13px; flex-wrap: wrap; padding: 0 12px; }

  .room-grid2 { grid-template-columns: 1fr; gap: 34px; }
  .svc-grid { grid-template-columns: 1fr; gap: 22px; }
  .circles { gap: 40px; }
  .brochure-inner { justify-content: center; text-align: center; }
  .amenity-inner { justify-content: center; }
  .amens { justify-content: center; gap: 24px; }
  .amen { font-size: 18px; }
  .contact-map iframe { height: 320px; }
  .site-header--solid { height: 76px; }
}
