@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;
  scroll-behavior: smooth;
}

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;
}

.primary-btn:hover{
  color: #468010;
  border-color: #468010;
}

.read-btn {
  padding: 1px 5px;
  background: #7fc142;
  font-weight: bold;
  color: white;
  border-radius: 25px;
}

.read-btn:hover{
  color: #468010;
}

.container {
  max-width: 85%;
  margin: auto;
}

/* Sakriva Google Translate natpis */
.goog-te-banner-frame, .goog-te-balloon-frame {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0; /* Sakriva tekst "Izaberi jezik" */
}

/* Prikaz jezika sa inicijalima */
.goog-te-gadget select {
  font-size: 16px; /* Vraća veličinu teksta u dropdown */
  text-transform: uppercase; /* Inicijali jezika */
  padding: 5px;
}

/* Sakriva Google logo */
.goog-logo-link {
  display: none !important;
}

/* Sakriva dugme za podršku */
.goog-te-gadget span {
  display: none !important;
}

/* Prilagođava padajući meni jezika */
.goog-te-combo {
  background:#ffffff;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
}

.notranslate {
  translate: none !important;
}

/*--------header---------*/
header {
  /* width: 100%; */
  height: 10vh;
  line-height: 10vh;
  padding: 0 20px;
}

header img {
  margin: 20px 0;
  width: 100px;
  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;
}

.language-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.language-selector select {
  font-size: 16px;
  text-transform: uppercase;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: white;
  cursor: pointer;
}


@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;
  }
}

@media (max-width: 768px) {
  .goog-te-combo {
      font-size: 14px;
      padding: 3px;
  }
}

@media (max-width: 768px) {
  .language-selector select {
    left: 80px;
      font-size: 14px;
      padding: 3px;
  }
}

/*--------header---------*/

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #7fc142;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: none;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #468010;
}

@media (max-width: 768px) {
  #scrollToTopBtn {
      bottom: 20px;
      right: 20px;
      padding: 10px 14px;
      font-size: 18px;
  }
}


/*--------home---------*/
section#home {
  position: relative;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 90vh;
}

.home-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
}

.home-text h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 10px;
  line-height: 1.2;
}

.home-text p {
  font-size: clamp(1rem, 3vw, 1.4rem);
  line-height: 1.4;
}

@keyframes fadeEffect {
  from {opacity: 0.4} 
  to {opacity: 1}
}

.fade {
  animation: fadeEffect 1s ease-in-out;
}

@media (min-width: 768px) {
  .home-text h1 {
    font-size: 3rem;
  }

  .home-text p {
    font-size: 1.4rem;
  }
}

/*--------home---------*/
/*--------book---------*/
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 20px;
}

input {
  outline: none;
  border: none;
  width: 100%;
  border-radius: 25px;
}

.book {
  padding: 40px 0;
  background: #282834;
  color: #fff;
}

h1 {
  font-family: serif;
}

.book h1 {
  font-size: 28px;
}

.book h1 span {
  color: #7fc142;
}

.book input {
  padding: 20px;
}

.book input:nth-last-child(1) {
  background: #7fc142;
  color: #fff;
}

@media (max-width: 1100px) {
  .book .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .book .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .book input, 
  .book button {
    width: 90%;
    max-width: 300px;
    grid-column: span 1;
  }
}

/*--------book---------*/
/*--------about---------*/
.left, .right {
  width: 50%;
  padding: 30px;
}

.top {
  margin-top: 80px;
}

.mtop {
  margin-top: 40px;
}

.heading h1 {
  font-size: clamp(30px, 8vw, 100px); /* Min: 30px, idealno: 8% širine ekrana, max: 100px */
  font-weight: 500;
  opacity: 0.1;
  font-family: serif;
  position: absolute;
  top: -30px;
}

@media (max-width: 768px) {
  .heading h1 {
    font-size: clamp(24px, 6vw, 60px); /* Tablet veličina */
  }
}

@media (max-width: 480px) {
  .heading h1 {
    font-size: clamp(20px, 5vw, 40px); /* Telefon veličina */
  }
}


.heading h2 {
  margin: 30px 0;
  font-size: 45px;
  font-family: serif;
  font-weight: 400;
}

.about {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 20px;
}

.about .heading h1 {
  top: 55px;
}

.about .left {
  flex: 1 1 50%;
  margin-top: 30px;
}

.about p {
  font-size: 15px;
}

.about button {
  margin: 30px 0;
}

/* Slika – desna polovina, centrirana i responzivna */
.about .right {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .right img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 500px) {
  .book {
    padding-bottom: 10px; /* smanji prostor ispod */
  }

  .about {
    margin-top: 0; /* ukloni dodatni prostor iznad */
    padding-top: 10px;
  }
}



/*--------about---------*/
/*--------counter---------*/
.counter {
  background-image: url("../images/fotke/restoran/compressed_restoran.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  /* Dodato: centriranje slike */
  height: 30vh;
  width: 100%;
  color: #fff;
}

.counter .grid {
  display: grid; /* dodao display grid jer je grid-template-columns bez display nece raditi */
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  place-items: center;
  padding-top: 60px;
}

.counter h1 {
  font-size: 50px;
}

.counter hr {
  width: 50%;
  margin: 10px auto;
  background: #7fc142;
  height: 2px;
  border: none;
}


/*--------counter---------*/
/*--------rooms---------*/
/* Stil za naslov i tekst sekcije (isti kao about) */
.about-top {
  text-align: center;
  padding: 50px 20px;
}

.about-top h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: #333;
  margin-bottom: 15px;
}

.about-top p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Glavni kontejner za sobe */
.rooms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 50px 40px;
}

/* Pojedinačna soba */
.room-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.room-box:hover {
  transform: translateY(-5px);
}

/* Slika sobe */
.room-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Naslov sobe */
.room-box h3 {
  font-size: 1.4rem;
  color: #222;
  margin: 10px 0;
}

/* Opis sobe */
.room-box p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
}

/* Zvjezdice */
.stars {
  color: #f5a623;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Dugme za detalje */
.room-btn {
  display: inline-block;
  background-color: #3f704d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.room-btn:hover {
  background-color: #2e573a;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .about-top {
    padding: 30px 15px;
  }

  .about-top h1 {
    font-size: 2rem;
  }

  .about-top p {
    font-size: 1rem;
  }

  .rooms-container {
    padding: 20px 10px;
    gap: 20px;
  }

  .room-box {
    padding: 15px;
  }

  .room-box h3 {
    font-size: 1.2rem;
  }

  .room-box p {
    font-size: 0.95rem;
  }

  .room-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-top h1 {
    font-size: 1.7rem;
  }

  .about-top p {
    font-size: 0.95rem;
  }

  .room-box h3 {
    font-size: 1.1rem;
  }

  .room-box p {
    font-size: 0.9rem;
  }

  .room-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}


/*--------rooms---------*/
/*--------gallery---------*/
.gallery-carousel {
  padding: 60px 20px;
  background-color: #f9f9f9;
  overflow: hidden;
}

.gallery-carousel .center {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-carousel .center h1 {
  font-size: 2.5rem;
  color: #333;
}

.gallery-carousel .center h2 {
  font-size: 1.2rem;
  color: #777;
  margin-top: 10px;
}

/* Carousel stil */
.carousel-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll-carousel 60s linear infinite;
}

.carousel-item {
  flex: 0 0 auto;
  width: calc(100vw / 6); /* 6 slika u redu */
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animacija pomjeranja */
@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-item {
    width: calc(100vw / 4);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: calc(100vw / 2);
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 100vw;
  }
}


/*--------gallery---------*/
/*--------services---------*/
.services {
  position: relative;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.services .left {
  padding: 30px 0;
}

.services .box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.5s;
  padding: 20px;
}

.services .box .text {
  padding: 30px 0;
  border: 1px dashed #fff;
}

.services i {
  font-size: 50px;
  color: #7fc142;
  transition: 0.5s;
}

.services h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 20p;
  transition: 0.5s;
}

.services img {
  width: 100%;
  height: 100%;
}

.services .box:hover {
  background: #7fc142;
  color: #fff;
  cursor: pointer;
}

.services .box:hover i,
.services .box:hover h3 {
  color: #fff;
}

@media (max-width: 768px) {
  .services .grid2 {
    grid-template-columns: repeat(1, 1fr); /* Na tabletima i telefonima - jedna kolona */
  }

  .services .box {
    height: auto; /* Dozvoljava da se prilagodi sadržaju */
  }
}

/*--------services---------*/
/*--------Customer---------*/
.Customer {
  background-image: url("../images/background-2.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 70vh;
  width: 100%;
  color: #fff;
  text-align: center;
}

.Customer .container {
  max-width: 70%;
}

.Customer .item {
  padding: 10% 0;
}

.Customer i {
  width: 100px;
  height: 100px;
  background: rgba(126, 193, 64, 0.57);
  line-height: 100px;
  border-radius: 50%;
  font-size: 50px;
  margin-bottom: 50px;
}

.Customer p {
  line-height: 30px;
}

.Customer h3 {
  margin-top: 20px;
  color: #7fc142;
}

.Customer span {
  font-size: 15px;
}

.owl-carousel2 .owl-dots {
  position: absolute;
  bottom: 70px;
  left: 46.6%;
}

.owl-carousel2 .owl-dots i {
  color: #7fc142;
}

.owl-carousel2 .owl-dots i:hover button {
  color: #7fc142 !important;
}

.owl-carousel2 span {
  border: 2px solid #fff;
  background: transparent !important;
}

.owl-carousel2 .active span {
  background: #7fc142 !important;
  border: 2px solid #7fc142;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;  /* Postavlja strelice u sredinu po visini */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between; /* Raspoređuje strelice levo-desno */
  align-items: center;
  transform: translateY(-50%); /* Precizno centriranje */
}

.owl-carousel .owl-nav button {
  background: rgba(0, 0, 0, 0.5); /* Poluprozirna pozadina */
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  transition: 0.3s;
}

.owl-carousel .owl-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}


/*--------Customer---------*/
/*--------news---------*/
.news {
  position: relative;
}

.news i {
  color: #7fc142;
  text-transform: capitalize;
  font-size: 18px;
}

.news label {
  margin-top: 12px;
  margin-right: 20px;
}

.news .left {
  padding: 30px 0;
  width: 65%;
}

.news .right {
  width: 35%;
}

.news img {
  width: 100%;
}

.news .items p {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.news .box {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 40px 0;
}

.news .box:nth-child(1) {
  padding-top: 0;
}

.news .box:nth-last-child(1) {
  border-bottom: none;
}

.news .box img {
  width: 110px;
  height: 114px;
}

.news .stext {
  padding: 0 0 0 20px;
}

/*--------news---------*/
/*--------newsletter---------*/
.newsletter {
  position: relative;
}

.newsletter .container {
  background: #7fc142;
  padding: 40px 30px;
  position: absolute;
  top: -70px;
  left: 8%;
  width: 100%;
  border-radius: 25px;
}

.newsletter h1 {
  width: 100%;
  font-size: 30px;
  color: #fff;
  margin-top: 10px;
}

.newsletter input {
  padding: 20px;
}

.newsletter input:nth-last-child(2) {
  width: 80%;
  background: rgba(255, 255, 255, 0.4);
}

.newsletter input:nth-last-child(1) {
  margin-left: 20px;
  width: 30%;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .newsletter .container {
    width: 95%; /* Širi newsletter okvir na manjim ekranima */
  }

  .newsletter input:nth-last-child(2) {
    width: 100%; /* E-mail polje zauzima punu širinu */
  }

  .newsletter input:nth-last-child(1) {
    width: 100%; /* Dugme postaje blok dugme */
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .newsletter h1 {
    font-size: clamp(18px, 4.5vw, 25px); /* Manji naslov na telefonima */
  }

  .newsletter .container {
    padding: 30px 15px;
  }

  .newsletter input {
    font-size: 14px; /* Smanjuje veličinu teksta u input poljima */
  }
}

/*--------newsletter---------*/
/*--------footer---------*/
footer {
  background: #282834;
  color: #b6b7b9;
  padding: 10% 0 5% 0;
}

footer .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;
}

.notranslate 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);
  }
}