/* NG dopuna za temu "rafting" - UCITAVA SE POSLE originalnih TravelTour/TourMaster CSS fajlova.
   Sadrzi samo ono sto originalni stek ne moze sam: staticku zamenu RevSlider hero-a (isti vizuelni
   rezultat), stanje otvorenog mobilnog menija (bez mmenu plugina) i resetku kartica aranzmana na
   pocetnoj (bez isotope/flexslider JS-a). Sve ostalo stilizuje originalni CSS. */

/* ---------------------------------------------------------------- HERO (staticki RevSlider "yacht-tour-1") */
.rf-hero{
  position: relative;
  min-height: 0;
  aspect-ratio: 1440 / 750;   /* RevSlider desktop nivo originala: 750px na 1440 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  color: #fff;
  overflow: hidden;
  transition: background-image .5s ease-in-out;
}
/* tamnjenje samo pri vrhu (da providan header bude citljiv) + blag opsti ton */
.rf-hero__shade{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(1,24,66,.55) 0%, rgba(1,24,66,.10) 24%, rgba(1,24,66,0) 46%),
    linear-gradient(to top, rgba(1,24,66,.28) 0%, rgba(1,24,66,0) 24%);
}
.rf-hero__inner{ position: relative; z-index: 2; max-width: 1080px; padding: 190px 20px 40px; margin: 0 auto; }
.rf-hero .rf-hero__title{
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 53px;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 14px;
  text-shadow: 0 2px 22px rgba(0,0,0,.5);
}
.rf-hero .rf-hero__sub{
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .5px;
  color: #d6b67e;
  margin: 0 0 34px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.rf-hero__cta{ display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.rf-hero__dots{ position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; text-align: center; }
.rf-hero__dots button{
  display: inline-block; width: 12px; height: 12px; margin: 0 6px; padding: 0;
  border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; opacity: .8;
  transition: background .2s ease;
}
.rf-hero__dots button.is-active{ background: #fff; }

/* Dugmad hero-a (navy puno + providno sa belim okvirom) - kao RevSlider dugmad originala */
.rf-btn{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  padding: 15px 34px; border-radius: 2px; text-decoration: none; text-transform: none;
  transition: all .25s ease; cursor: pointer; line-height: 1;
}
.rf-btn.rf-btn--solid{ background: #234076; color: #fff; border: 2px solid #234076; }
.rf-btn.rf-btn--solid:hover{ background: #1a3061; border-color: #1a3061; color: #fff; }
.rf-btn.rf-btn--ghost{ background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.rf-btn.rf-btn--ghost:hover{ background: #fff; color: #234076; }

/* ---------------------------------------------------------------- PREDNOSTI (tamno plava, 4 plocice) */
.rf-advantages{ position: relative; overflow: hidden; }
.rf-advantages .gdlr-core-pbf-background-wrap{ position: absolute; inset: 0; z-index: 0; }
.rf-advantages .gdlr-core-pbf-background{ position: absolute; inset: 0; }
.rf-advantages .gdlr-core-pbf-wrapper-content{ position: relative; z-index: 1; }
.rf-advantages-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rf-advantages .gdlr-core-column-service-item{ padding: 10px 14px 30px; text-align: center; }
.rf-advantages .gdlr-core-column-service-media{ margin: 0 auto 26px; }
.rf-advantages .gdlr-core-column-service-media img{ display: inline-block; width: auto; height: auto; max-height: 106px; }
.rf-advantages .gdlr-core-column-service-title{
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px;
  text-transform: uppercase; color: #fff; margin: 0 0 14px;
}
.rf-advantages .gdlr-core-column-service-content,
.rf-advantages .gdlr-core-column-service-content p{
  color: #c7d2e6; font-size: 15px; line-height: 1.7; margin: 0;
}

/* ---------------------------------------------------------------- resetka aranzmana (home) */
.rf-tour-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.rf-tour-grid .tourmaster-tour-grid{ margin-bottom: 0; height: 100%; }
.rf-section-more{ text-align: center; margin-top: 44px; }

/* feature red (column service) na mobilnom lepo umotava */
.rf-feature-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* NG blok naslov iznad resetke (koristi originalnu tipografiju) */
.rf-block-title{
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #253f72;
  text-align: center;
  margin: 0 0 10px;
}
.rf-block-caption{
  text-align: center;
  color: #9e845b;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 8px;
}
.rf-block-head{ margin-bottom: 42px; }
.rf-block-lead{ text-align: center; max-width: 760px; margin: 12px auto 0; color: #555; font-size: 16px; line-height: 1.7; }

/* ---------------------------------------------------------------- NG sadrzaj (prose) */
.rf-prose{ font-size: 16px; line-height: 1.8; color: #3a3a3a; }
.rf-prose h2{ font-family:'Raleway',sans-serif; font-weight:700; color:#253f72; font-size:28px; margin:34px 0 14px; }
.rf-prose h3{ font-family:'Raleway',sans-serif; font-weight:700; color:#253f72; font-size:22px; margin:26px 0 12px; }
.rf-prose p{ margin: 0 0 18px; }
.rf-prose ul, .rf-prose ol{ margin: 0 0 18px 22px; }
.rf-prose li{ margin-bottom: 8px; }
.rf-prose img{ max-width: 100%; height: auto; border-radius: 4px; }
.rf-prose a{ color: #9e845b; }

/* galerija aranzmana */
.rf-gallery{ display:grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.rf-gallery a{ display:block; overflow:hidden; border-radius:4px; }
.rf-gallery img{ width:100%; height:220px; object-fit:cover; display:block; transition: transform .4s ease; }
.rf-gallery a:hover img{ transform: scale(1.06); }

.rf-video{ position: relative; padding-bottom: 56.25%; height: 0; }
.rf-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------------------------------------------------------------- booking (upit) boks */
.rf-booking{ background:#fff; border:1px solid #ececec; border-radius:6px; padding:28px; box-shadow:0 10px 30px rgba(0,0,0,.06); }
.rf-booking .tourmaster-head{ font-weight:700; color:#253f72; display:block; margin-bottom:6px; font-size:14px; }
.rf-booking input, .rf-booking select, .rf-booking textarea{
  width:100%; padding:11px 12px; border:1px solid #ddd; border-radius:4px; font-family:inherit; font-size:15px; margin-bottom:14px; background:#fafafa;
}
.rf-booking textarea{ min-height:90px; }
.rf-booking .rf-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.rf-booking .rf-booking-heading{ font-family:'Raleway',sans-serif; font-weight:700; color:#2a2a2a; font-size:19px; letter-spacing:.5px; line-height:1.3; margin:0 0 14px; padding-bottom:14px; border-bottom:1px solid #ececec; }
.rf-booking-price-wrap{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 20px; }
.rf-booking-price-tag{ color:#9e845b; font-size:17px; }
.rf-booking-price-head{ font-size:16px; color:#777; }
.rf-booking-price-reg{ font-size:18px; color:#999; text-decoration:line-through; }
.rf-booking-price-amount{ font-size:30px; font-weight:800; color:#234076; }
.rf-booking-price-unit{ color:#999; font-size:13px; width:100%; }
.rf-booking-price-badge{ background:#9e845b; color:#fff; font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; padding:3px 8px; border-radius:3px; }
.rf-booking .rf-booking-title{ font-family:'Raleway',sans-serif; font-weight:700; color:#253f72; font-size:18px; line-height:1.3; margin:0 0 16px; }

/* Info bar ikonica (red iznad sadrzaja pod tabom Aranžman) */
.rf-infobar{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px 26px; padding:22px 0 10px; margin:0 0 26px; border-bottom:1px solid #eee; }
.rf-infobar-item{ display:flex; align-items:center; gap:14px; }
.rf-infobar-ico{ flex:0 0 34px; display:flex; align-items:center; justify-content:center; width:34px; }
.rf-infobar-ico img{ max-width:34px; max-height:34px; width:auto; height:auto; }
.rf-infobar-txt{ font-size:15px; color:#3a3a3a; line-height:1.5; }

/* Tab sekcije (Galerija/Plan/Lokacija/Vreme/Ocene) */
.rf-tab-section{ margin-top:46px; scroll-margin-top:90px; }
body[class*="rf-page-"] #detail{ scroll-margin-top:90px; }
.rf-tab-title{ font-family:'Raleway',sans-serif; font-weight:700; color:#253f72; font-size:26px; margin:0 0 18px; }
.rf-tab-title i{ color:#9e845b; margin-right:10px; }
.rf-tab-subtitle{ font-family:'Raleway',sans-serif; font-weight:700; color:#253f72; font-size:20px; margin:0 0 14px; }
.rf-tab-subtitle i{ color:#9e845b; margin-right:8px; }
.rf-tab-empty{ color:#777; font-size:15px; background:#f7f8fa; border-radius:6px; padding:18px 22px; }
.rf-tab-lead{ color:#3a3a3a; font-size:16px; margin:0 0 16px; }
.rf-map{ position:relative; padding-bottom:52%; height:0; border-radius:6px; overflow:hidden; }
.rf-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
/* Cena boks pluta nagore i preklapa dno hero-a (kao TourMaster booking bar originala) */
.rf-offer-side{ position:relative; z-index:5; margin-top:-150px; }
.rf-offer-side .rf-booking{ position:sticky; top:20px; }
.rf-form-msg{ padding:12px 14px; border-radius:4px; margin-bottom:16px; font-size:15px; }
.rf-form-msg--ok{ background:#e8f5e9; color:#2e7d32; border:1px solid #c8e6c9; }
.rf-form-msg--err{ background:#fdecea; color:#c62828; border:1px solid #f5c6cb; }
.rf-hp{ position:absolute; left:-9999px; }

/* layout aranzmana: glavno + bocni booking */
.rf-offer-layout{ display:grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }

/* naslov aranzmana u sadrzaju (TourMaster tour-title-item) - samo NG sabloni (rf-page-*); presadjene strane
   originala (bez rf-page-*) imaju doslovno originalni CSS i ova pravila ih ne smeju dirati */
body[class*="rf-page-"] .tourmaster-tour-title-item{ margin: 0 0 26px; }
.rf-offer-main .tourmaster-tour-title-item-title{
  font-family:'Raleway',sans-serif; font-weight:700; font-size:30px; line-height:1.2;
  color:#2a2a2a; text-transform:none; margin:0 0 8px;
}
body[class*="rf-page-"] .tourmaster-tour-title-item-cat{ font-size:14px; color:#9e845b; }
body[class*="rf-page-"] .tourmaster-tour-title-item-cat a{ color:#9e845b; text-decoration:none; }
body[class*="rf-page-"] .tourmaster-tour-title-item-cat a:hover{ text-decoration:underline; }

/* Galerija/Video dugmad na dnu hero-a (svetli pill, tamni tekst - kao original) */
body[class*="rf-page-"] .tourmaster-single-header-gallery-wrap{ margin-top:0; }
body[class*="rf-page-"] .tourmaster-single-header-gallery-button{
  display:inline-block; background:#fafafa; color:#2a2a2a; font-family:'Raleway',sans-serif;
  font-weight:600; font-size:13px; letter-spacing:.3px; padding:10px 20px; border-radius:3px;
  margin-right:12px; text-decoration:none;
}
body[class*="rf-page-"] .tourmaster-single-header-gallery-button i{ margin-right:8px; }
body[class*="rf-page-"] .tourmaster-single-header-gallery-button:hover{ background:#fff; color:#234076; }

/* ---------------------------------------------------------------- stranica: naslovni pojas kad nema slike */
.traveltour-page-title-wrap.rf-no-image{ background-color:#234076; }
.rf-page-body{ padding: 60px 0; }
.rf-page-body .rf-boxed{ max-width: 980px; margin: 0 auto; }

/* crumbs */
.rf-crumbs{ font-size:13px; color:#888; padding:18px 0; }
.rf-crumbs a{ color:#9e845b; text-decoration:none; }
.rf-crumbs span{ margin:0 7px; }

@media only screen and (max-width: 1140px){
  .rf-hero__title{ font-size: 52px; }
}
@media only screen and (max-width: 999px){
  .rf-tour-grid{ grid-template-columns: repeat(2, 1fr); }
  .rf-advantages-grid{ grid-template-columns: repeat(2,1fr); }
  .rf-offer-layout{ grid-template-columns: 1fr; }
  .rf-infobar{ grid-template-columns: repeat(2,1fr); }
  .rf-hero__title{ font-size: 42px; }
}
@media only screen and (max-width: 767px){
  .rf-tour-grid{ grid-template-columns: 1fr; }
  .rf-gallery{ grid-template-columns: repeat(2,1fr); }
  .rf-hero__title{ font-size: 32px; }
  .rf-hero__sub{ font-size: 20px; }
  .rf-hero__inner{ padding: 110px 18px 40px; }
  .rf-booking .rf-row{ grid-template-columns: 1fr; }
}
@media only screen and (max-width: 479px){
  .rf-advantages-grid{ grid-template-columns: 1fr; }
  .rf-gallery{ grid-template-columns: 1fr; }
  .rf-infobar{ grid-template-columns: 1fr; }
}

/* Visina hero-a po RevSlider nivoima originala (izmereno na rajskarijeka.com, sirina -> visina):
   >=1024: w*0.5208 | 778-1023: w*0.4846 | 768-777: w*1.2342 | 501-767: 617px | 480-500: w*1.2333 | <480: w*1.0418 */
@media only screen and (max-width: 1023px){ .rf-hero{ aspect-ratio: 778 / 377; } }
@media only screen and (max-width: 777px){ .rf-hero{ aspect-ratio: 777 / 959; } }
@media only screen and (max-width: 767px){ .rf-hero{ aspect-ratio: auto; height: 617px; } }
@media only screen and (max-width: 500px){ .rf-hero{ aspect-ratio: 480 / 592; height: auto; } }
@media only screen and (max-width: 479px){ .rf-hero{ aspect-ratio: 479 / 499; } }
