/* =========================
   GLOBAL STYLES
   ========================= */

/* Header transparency when scrolled */
header.scrolled {
  opacity: 0.92;
}

#header {
  transition: opacity 0.6s ease;
}

/* General text spacing */
.text-cap {
  margin-bottom: 2rem;
}

/* No wrap on desktop, normal on mobile */
.no-wrap-desktop {
  white-space: nowrap; /* desktop */
}

@media (max-width: 991.98px) {
  .no-wrap-desktop {
    white-space: normal; /* tablet & mobile */
  }
}

/* Break heading line only on medium+ screens */
@media (min-width: 768px) {
  .heading-break {
    display: block;
  }
}


/* =========================
   MOBILE STYLES (max-width: 768px)
   ========================= */
@media (max-width: 768px) {

  /* Column divider */
  .col-sm-divider>:not(:first-child)::before {
    display: none;
  }

  /* Mobile heading size */
  .heading-mobile {
    font-size: 35px;
  }

  /* Hero section spacing adjustments */
  .bg-primary-dark .content-space-b-1 {
    padding-top: 1rem;
    padding-bottom: 1rem !important;
  }

  /* Client logos */
  .client-logo {
    margin-bottom: 1rem !important;
  }
  .client-logo img {
    max-height: 35px !important;
    width: auto !important;
  }

  /* Text blocks spacing */
  .text-center.text-md-start.pt-6.mb-8.mb-md-6 {
    padding-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  /* USP boxes (grid layout) */
  .usp-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .usp-row {
    display: contents; /* remove wrapper div */
  }
  .usp {
    background: #fef8f2;
    padding: 0.75rem;
    border-radius: 8px;
    align-items: center;
    font-size: 0.95rem;
  }
  .usp i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #28a745; /* green check icon */
  }

  /* Section features (stacked layout on mobile) */
  .section-features .row {
    flex-direction: column !important;
  }
  .section-features .col-md-5,
  .section-features .col-md-7 {
    width: 100%;
    max-width: 100%;
  }
  .section-features .img-fluid {
    max-width: 100%;
    height: auto;
    margin: 1rem auto 0;
    display: block;
  }
  .section-features .p-md-5,
  .section-features .p-lg-7 {
    padding-top: 1rem !important;
  }
  .section-features ul.list-checked {
    margin-top: 2.25rem;
    display: block;
  }
  .section-features .list-checked-item {
    align-items: flex-start;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }
  .section-features .list-checked-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .section-features h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }
  .section-features p.fs-6 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .section-features .pt-6 {
    padding-top: 0rem !important;
  }
  .section-features .mb-7 {
    margin-bottom: 0 !important;
  }
  .section-features .pb-4 {
    padding-bottom: 0 !important;
  }

  /* Pricing section */
  .pricing .mb-7 {
    margin-bottom: 0 !important;
  }

  /* Booking engine */
  .center-on-mobile {
    text-align: center;
  }
  .center-on-mobile select {
    margin: auto;
  }
  .center-on-mobile .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Payment form logos */
  .partner-logo,
  .payment-gateway-logo {
    max-width: 130px !important;
  }

  /* Heading block */
  .heading-part {
    display: block;
  }

  /* USP wrap (when hidden on desktop, shown on mobile) */
  .usp-wrap .d-md-none .usp {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* One planet page */
  .page-1-planet img.img-fluid {
    width: 100% !important;
    height: auto;
  }
  .page-1-planet h1 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
  .page-1-planet h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
  .page-1-planet h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }
  
  .bookinglayer-counter {
    font-size: 4.5rem!important;
  }
  
  
  .final-heading-unique .inner-content {
    top: 0%!important;
  }

.slides-grid {
    grid-template-columns: repeat(2, 1fr)!important; 
    gap: 6px;
  }

  .lightbox .prev {
    left: 15px;
  }

  .lightbox .next {
    right: 15px;
  }
    
}


/* =========================
   EXTRA GLOBAL STYLES
   ========================= */

/* Rounded buttons */
.btn-radius {
  border-radius: 25px;
}

/* Extra padding sections */
.content-space-t-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Swiper full width */
.mySwiper {
  width: 100vw;
}
.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Customer logos */
.customer-logo {
  max-height: 80px;
  object-fit: contain;
}

/* Swiper bullet */
.testimonial-slider .swiper-pagination-bullet {
  background-color: #ccc; /* svetlo siva */
  opacity: 1;
  width: 6px;  /* manja širina */
  height: 6px; /* manja visina */
  margin: 0 5px !important;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Swiper active bullet */
.swiper-pagination-bullet-active {
  transform: scale(1.5);
 
}

/* Custom text color */
.text-green {
  color: rgb(29, 143, 105);
}


/* Hero Section unique styles */
.hero-unique .hero-heading {
  /* CLS fix */
  min-height: 16.17px;
}

.hero-unique .hero-img {
  max-width: 400px;
  height: auto;
  width: 100%;
}




/* Features Section */
.features-unique .feature-icon {
  width: 48px;
  height: 48px;
}

/* Video Section */
.video-unique .wistia-lazy {
  /* Lazy load handled by Wistia embed */
}

/* Signup Section */
.signup-unique .signup-heading {
  /* CLS fix can be added if needed */
}



/* =========================================================
   Bookinglayer Counters Styles
   ========================================================= */

/* Main counter number styling */
.bookinglayer-counter {
  font-size: 6.5rem;          /* Larger text size for visibility */
  font-weight: 700;           /* Bold numbers for emphasis */
  color: #647276;  /* Custom gray-blue color */
  line-height: 1.2;           /* Slightly tighter line height */
}

/* ===============================================
   Demo Request Section Styling - Unique Classes
   =============================================== */

/* Input polja – beli border, beli tekst, placeholder centered, uppercase, padding top/bottom */
.demo-request-section .demo-input {
  background-color: transparent; /* same as section bg */
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  font-size: 0.475rem;  /* duplo manji font */
  text-transform: uppercase; /* all uppercase */
  padding-top: 20px;
  padding-bottom: 20px;
}

.demo-request-section .demo-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  text-transform: uppercase;
}

/* Ukloni fokus senku, zadrži beli border */
.demo-request-section .demo-input:focus {
  background-color: transparent;
  box-shadow: none;
  border-color: #fff;
  color: #fff;
}

/* Dugme submit – belo, font duplo manji nego prethodno */
.demo-request-section .btn-light {
  font-size: 1rem; /* duplo manji font */
}

/*White highlighted text*/

.text-highlighted-gray{
  
  color: #1E8F69;
}


/* 
  FINAL HEADING SECTION STYLES
  --------------------------------
  
*/

.final-heading-unique {
  position: relative;
  background-image: url('/themes/space2/assets/img/landing-page/bookinglayer-hiker.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
}

.final-heading-unique .inner-content {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.final-heading-unique .final-heading {
  color: #fff;
}

/*BLOG*/

/*Page-las-na-zawsze*/

/* === Blog Slideshow === */

.slideshow-container {
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.slides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px; /* isti razmak horizontalno i vertikalno */
  margin: 0;
  justify-items: center;
}

.slides-grid img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slides-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 6px;
  animation: zoomIn 0.3s ease;
}

.lightbox.show {
  display: flex;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
}

.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
  opacity: 0.7;
}

.lightbox .close {
  top: 20px;
  right: 30px;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}

.content-article .slideshow-container .slides-grid img {
  margin: 0 !important;
  display: block !important;
}

/* MARGIN-BOTTOM IMAGE */
.page-las-na-zawsze img {
  margin-bottom: 0 !important;
}
/*CAPTION SIZE*/
.page-las-na-zawsze .fr-img-wrap .fr-inner em {
  font-size: 12px !important;
}

