/* === MEDIA QUERIES === */

/* Laptops & tablets (<= 1024px) */
@media (max-width: 1095px) {
  .google-review-section {
    max-width: 900px;
  }
  .navbar {
    border-radius: 0;
    justify-content: center;
    flex-direction: column;

    padding: 20px;
  }
  .left-nav {
    margin-bottom: 20px;
  }
  .amenities-scroller {
    border-radius: 0;
  }
  .filter-btn {
    font-size: 13px;
    border-radius: 10px !important;
    padding: 12px !important;
  }
  .hero-section {
    padding: 120px 20px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .slider-wrapper {
    flex-direction: column;
  }
  .slide {
    flex-direction: column;
    text-align: center;
    height: fit-content;
    width: 100%;
    margin: 0;
  }
  .slide img {
    margin: 0 0 20px 0;
    max-width: 100%;
    height: 300px;
  }
  .slide-text {
    width: 100%;
  }
  .arrow {
    top: 68%;
  }
  .arrow.left {
    left: 5px;
  }
  .arrow.right {
    right: 5px;
  }
  .cards-section-ps {
    gap: 20px;
  }
  .card-ps {
    width: 100%;
    max-width: 300px;
  }
    .next {
    right: 10px;
    top: 55%;
  }
  .prev {
    left: 10px;
    top: 55%;
  }
}
/* === Hamburger meni samo za uredjaje do 900px === */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .social-label {
    display: inline;
    margin-left: 5px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 35px;
    z-index: 1001;
  }

  .hamburger span {
    background-color: #114232;
    height: 3px;
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .right-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
  }

  .right-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-links li a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    display: block;
  }

  .language-switcher {
    margin-top: 15px;
  }
  .navbar-wrapper {
    padding: 20px;
  }
  .navbar {
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 0;
  }
  .left-nav {
    margin-bottom: 0;
  }
  .blog-title {
    text-align: center;
    padding: 20px 0;
  }
  .hero-section {
    padding: 50px 15px !important; /* još manje */
    min-height: 300px; /* ili koliko želiš */
    background-size: cover; /* može i contain, ali cover izgleda bolje */
    background-position: center center;
    text-align: left;
  }

  .hero-section h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-section h1 span {
    display: block;
    font-size: 24px;
  }

  .hero-section p {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row !important; /* važno: jedan pored drugog */
    justify-content: right; /* centriraj ih */
    gap: 10px; /* razmak između dugmića */
    flex-wrap: wrap; /* ako nema mesta, neka pređu u novi red */
  }

  .hero-buttons a {
    width: auto; /* neka budu koliko treba široki */
    max-width: none;
  }
  .hero-buttons .btn-orange {
    display: none;
  }

  .info-slider-section {
    padding: 20px 10px;
    text-align: center;
  }

  .info-slider-section h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .info-slider-section .arrow {
    display: none !important;
  }

  .slider-wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    height: auto;
}

.slider-track {
    display: flex;
    width: 100%;
    transform: translateX(0); /* JS menja ovo */
    gap: 0;
}

.slide {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    scroll-snap-align: start;
}

  .slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
  }

  .slide-text {
    text-align: center;
  }

  .slide-text h3 {
    font-size: 16px;
    margin: 5px 0;
    word-wrap: break-word;
  }
  .slide-text h3 span{
    font-size: 25px;
  }
.slide-text h3 strong{
  font-size: 25px!important;
}
  .slide-text p {
    font-size: 13px;
    color: #555;
    word-wrap: break-word;
  }

  .slider-progress {
    height: 4px;
    background: #ddd;
    margin-top: 10px;
    position: relative;
  }

  .slider-progress .bar {
    height: 100%;
    background: #114232;
    width: 33.3333%;
  }

  /* sakrij skrolbar vizuelno */
  .slider-wrapper::-webkit-scrollbar {
    display: none;
  }
  .slider-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .plan-button {
    font-size: 16px;
    text-align: center;
  }
  .blog-slider-nav .prev,
  .blog-slider-nav .next {
    display: none !important;
  }
  .ponuda-section-text {
    text-align: left;
  }
  .slick-prev,
  .slick-next {
    display: none !important;
  }
 
  .filter-btn {
    font-size: 13px !important;
    border-radius: 10px !important;
    padding: 15px 10px !important;
    width: 84px;
    height: 43px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .filter-btn:last-child {
    font-size: 11px !important;
  }
  .cards-wrapper {
    border-radius: 0px;
  }
  .cards-header h2,
  .overlay-text-ps h2 {
    padding: 20px;
  }
  .next {
    right: 10px;
    top: 55%;
  }
  .prev {
    left: 10px;
    top: 55%;
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  
  .brand-name {
    font-size: 1rem;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .gallery-title {
    font-size: 1.5rem;
  }
  .gallery-filters {
    gap: 3px;
  }
  .filter-btn {
    margin: 0;
  }
  .info-slider-section h2 {
    font-size: 30px;
  }
  .next {
    right: 10px;
    top: 55%;
  }
  .prev {
    left: 10px;
    top: 55%;
  }
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-slider-section h2 {
    font-size: 38px;
  }
  .slide-text h3 {
    font-size: 28px;
  }
  .slide-text p {
    font-size: 15px;
  }
  .overlay-text-ps h2 {
    font-size: 3rem;
  }
  .cta-container {
    flex-direction: column;
  }
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }
  .title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .masonry-gallery {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 20px;
  }
  .cta-box h3 {
    font-size: 1.2rem;
  }
  .cta-box p {
    font-size: 0.9rem;
  }
  .footer-col h4 {
    font-size: 1rem;
  }
  .footer-col ul li {
    font-size: 0.85rem;
  }
  .policy-title,
  .about-us-title,
  .contact-title {
    font-size: 2rem;
  }
  .okolina-thumb {
    width: 70px;
  }
  .okolina-info h2 {
    font-size: 18px;
  }
  .okolina-info p {
    font-size: 14px;
  }
  .plan-button {
    font-size: 1.2rem;
  }
  .overlay-text-ps h2 {
    font-size: 2rem;
  }
  .preview-section h2 {
    font-size: 1.5rem;
  }
  .preview-card h4 {
    font-size: 1rem;
  }
  .preview-card ul {
    font-size: 0.85rem;
  }
   .gallery-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* ili koliko želiš razmaka */
    margin-bottom: 20px;
    justify-items: center;
    gap: 3px;
  }
}
