@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

h1, h2 {
  font-family: sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.flex {
  display: flex;
}

.flex_space {
  display: flex;
  justify-content: space-between;
}

button {
  border: none;
  background: none;
  outline: none;
  transition: 0.5s;
  cursor: pointer;
}

.primary-btn {
  padding: 15px 40px;
  background: #7fc142;
  font-weight: bold;
  color: white;
  border-radius: 25px;
}

.secondary-btn {
  padding: 15px 40px;
  background: none;
  border: 2px solid white;
  font-weight: bold;
  color: white;
  border-radius: 25px;
}

.primary-btn:hover{
  color: #468010;
  border-color: #468010;
}

.secondary-btn:hover{
  color: #468010;
  border-color: #468010;
}

.read.more {
  color: #0f3f06; /* Postavi boju linka */
    text-decoration: none;
    background-color: #468010;
}

.read.more:hover{
  color: #468010;
}

.container {
  max-width: 85%;
  margin: auto;
}

/*--------header---------*/
header {
  /* width: 100%; */
  height: 10vh;
  line-height: 10vh;
  padding: 0 20px;
}

header img {
  margin: 20px 0;
  width: 80px;
  height: auto;
  position: absolute;
  top: -28px;
  left: 50px;

}

header ul {
  display: inline-block;
}

header ul li {
  display: inline-block;
  text-transform: uppercase;
}

header ul li a {
  color: #000;
  margin: 0 10px;
  transition: 0.5s;
}

header ul li a:hover {
  color: #7fc142;
}

header i {
  margin: 0 20px;
}

header button {
  padding: 13px 40px;
}

header .navlinks span {
  display: none;
}

@media only screen and (max-width:940px) {
  header ul {
    position: absolute;
    top: 63px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #009f7f;
    overflow: hidden;
    transition: max-height 0.5s;
    text-align: center;
    z-index: 9;
  }

  header ul li {
    display: block;
  }

  header ul li a {
    color: white;
  }

  header i {
    color: white;
  }

  header .navlinks span {
    color: black;
    display: block;
    cursor: pointer;
    line-height: 10vh;
    font-size: 25px;
  }
}

/*--------header---------*/

.gallery-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.slide {
  width: 100%;
  height: 220px; /* visina okvira */
  object-fit: contain;
  object-position: center;
  background-color: #f5f5f5; /* neutralna pozadina da popuni prazan prostor */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slide:hover {
  transform: scale(1.03);
}


/* Modal za prikaz slike */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#modal-image {
  width: 100%;
  height: auto;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
  transform: translateY(-50%);
}

.arrow#prev {
  left: 20px;
}

.arrow#next {
  right: 20px;
}

/* Responsivnost */
@media (max-width: 1024px) {
  .gallery {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
      grid-template-columns: 1fr;
  }
}

/*--------footer---------*/
footer {
    background: #282834;
    color: #b6b7b9;
    padding: 10% 0 5% 0;
  }
  
  footer .grid {
    display: grid;
    grid-template-columns: 6fr 3fr 3fr;
  }

  footer a {
    color: white;
  }
  
  footer p {
    color: #b6b7b9;
    font-size: 15px;
    line-height: 25px;
  }
  
  footer .icon i {
    margin: 20px 20px 20px 0;
    color: #b6b7b9;
  }
  
  footer h2 {
    color: #fff;
    margin-bottom: 10px;
  }
  
  footer li {
    margin-bottom: 20px;
  }
  
  footer i {
    color: #7fc142;
    margin: 20px 0;
    margin-right: 20px;
  }
  
  footer label {
    margin: 20px 0;
  }
  
  .legal {
    padding: 15px 0;
    background: #282834;
    color: #b6b7b9;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /*--------footer---------*/
  @media only screen and (max-width:768px) {
    .home {
      color: #fff;
      height: 50vh;
    }
  
    .home img {
      width: 100%;
      height: 50vh;
    }
  
    .left, .right {
      width: 100%;
    }
  
    .book h1 {
      margin-bottom: 20px;
    }
  
    .container.flex,
    .book .flex_space {
      flex-direction: column;
    }
  
    .book .grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .counter .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .owl-carousel .owl-nav .owl-prev {
      left: 80%;
    }
  
    .gallery .owl-nav .owl-prev {
      left: 75%;
    }
  
    .rooms .owl-nav .owl-prev,
    .rooms .owl-nav .owl-next {
      top: -30%;
    }
  
    .gallery .owl-nav .owl-prev,
    .gallery .owl-nav .owl-next {
      top: -80%;
    }
  
    .services .flex_space {
      flex-direction: column;
    }
  
    .Customer {
      height: 60vh;
    }
  
    .Customer .container {
      max-width: 80%;
    }
  
    .owl-carousel2 .owl-dots {
      bottom: 0;
      left: 44.5%;
    }
  
    .news .content.flex {
      flex-direction: column;
    }
  
    .news .left {
      padding: 30px 0;
      width: 100%;
    }
  
    .news .right {
      width: 100%;
    }
  
    .newsletter {
      position: relative;
      background: #7fc142;
    }
  
    .newsletter .container {
      top: 0;
      left: 0;
      width: 100%;
      padding: 40px 30px;
      position: relative;
    }
  
    .newsletter .flex_space {
      flex-direction: column;
    }
  
    .newsletter input:nth-last-child(2) {
      margin: 20px 0;
      width: 100%;
    }
  
    .newsletter input:nth-last-child(1) {
      margin: 0;
    }
  
    footer .grid {
      grid-template-columns: repeat(1, 1fr);
    }
  }