body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  background: #9f9984;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: #070600;
  letter-spacing: 0.5px;
}

ul {
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
}

.navbar li {
  margin: 0 20px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
}


.navbar a:hover {
  background: #f5f5f5;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #85C7DE;
  transition: width 0.3s ease-in-out;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar ul.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,h2, h3, p, address, a, div{
  animation: fadeInUp 0.8s ease-out forwards;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: #85C7DE;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.button:hover {
  background: linear-gradient(90deg, #85c7de, #5bb0d6);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.button::after {
  display: none !important;
}

@font-face {
  font-family: 'Zachar Book';
  src: url('Zachar-Book.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  font-family: 'Zachar Book', sans-serif;
}


.logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  
}

.container {
  max-width: 1850px;
  margin: 50px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.hero {
  padding: 80px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: -80px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 20px;
  margin-top: -50px;
}

.hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.hero-images img:hover {
  transform: scale(1.05);
}

.hero-images img:nth-child(2) {
  grid-row: span 2;
}

.mapa {
  width: 100%;
  display: flex;  
  justify-content: center;
  margin: 40px 0;
}

.mapa iframe {
  width: 80%;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.socials {
  display: flex;
  justify-content: center; 
  margin: 40px 0;
  gap: 20px;
}

.socials img {
  width: 40px;
  transition: transform 0.3s, filter 0.3s;
}
.socials img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(133,199,222,0.6));
}


.reviews {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin: 60px auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

.review {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 350px;
  text-align: center;
}

.fern {
  width: 60px;
  height: auto;
}

.review-text p {
  font-style: italic;
  margin-bottom: 5px;
  text-align: center;
}

.review-text span {
  font-weight: bold;
  color: #555;
}

.review-h2 {
  text-align: center;  
  width: 100%;          
  margin: 20px auto;    
  font-size: 28px;
}
.ratings {
  text-align: center;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto;
  flex-wrap: wrap;   
}

.ratings h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
}

.rating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 15px;
  padding: 25px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  width: 220px;
  text-align: center;
}


.rating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.rating-logo {
  width: 70px;
  height: auto;
  margin-bottom: 12px;
  display: block;
}

.rating-value {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 6px;
}

.rating-value span {
  font-size: 0.6em;
  font-weight: normal;
  color: #555;
}

.airbnb .rating-value {
  color: #ff5a5f;
}

.booking .rating-value {
  color: #003580;
}

.rating-card p {
  font-size: 0.9em;
  color: #555;
  margin: 0;
}

.rating-stars {
  position: relative;
  font-size: 2.6rem;
  color: #ddd;
  margin-bottom: 12px;
  display: inline-block;
  line-height: 1;
  text-align: center;
}


.rating-stars::before {
  content: "★★★★★";
  letter-spacing: 4px;
}

.rating-stars::after {
  content: "★★★★★";
  letter-spacing: 4px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--rating-percent, 100%);
  overflow: hidden;
  color: gold;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}


.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; 
  height: 100vh;
  width: 70%;
  max-width: 300px;
  background: white;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 20px 20px;
  gap: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 10px;   
  right: 38px; 
  font-size: 38px;
  cursor: pointer;
}

.mobile-menu.show {
  right: 0;
}

.copyr {
  margin-left: 20px;
}

.kontakt-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}


.kontakt-forma {
  flex: 1;                 
  margin-top: 70px;
  margin-right: 120px;
}


.kontakt-forma h2 {
  margin-bottom: 15px;
}

.kontakt-forma form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kontakt-forma label {
  font-weight: 600;
  margin-bottom: 5px;
}

.kontakt-forma input,
.kontakt-forma textarea {
  width: 100%;       
  box-sizing: border-box; 
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.kontakt-forma button {
  align-self: flex-start;
  padding: 12px 24px;
  background: #85c7de;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.kontakt-forma button:hover {
  background: #5bb0d6;
  transform: scale(1.05);
}

.hero-text-kontakt h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: -80px;
  margin-left: 250px;
}

.hero-text-kontakt h2 {
  margin-left: 250px;
}

.hero-text-kontakt p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  margin-left: 250px;
}

.socials-kontakt {
  display: flex;
  justify-content: center; 
  margin: 40px 0;
  gap: 20px;
  margin-top: -20px;
}

.socials-kontakt img {
  width: 40px;
  transition: transform 0.3s, filter 0.3s;
}
.socials-kontakt img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(133,199,222,0.6));
}

.hero-galerija {
  padding: 80px 40px;
}

.hero-grid-galerija {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text-galerija h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: -80px;
}

.hero-text-galerija p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.hero-images-galerija {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 20px;
  margin-top: -50px;
}

.hero-images-galerija img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.hero-images-galerija img:hover {
  transform: scale(1.05);
}

.hero-images-galerija img:nth-child(2) {
  grid-row: span 2;
}

.hero-text-onama h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: -80px;
}

.hero-text-onama p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.flag-link img {
  vertical-align: middle;
  height: 28px;
  border-radius: 4px;
  transition: transform 0.2s;
}

.flag-link img:hover {
  transform: scale(1.1);
}

.flag-link::after {
  display: none !important;
}

.actions img {
  height: 28px;
  vertical-align: middle;
  border-radius: 4px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.actions .button {
  display: inline-block;
  padding: 12px 24px;
  background: #85c7de;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}
.mobileActions {
  display: none;
}












@media(max-width: 1100px){
  .hideOnMobile{
    display: none;
  }

.hideOnDesktop {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobileZastava{
    display: contents;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .button {
  display: inline-block;
  padding: 12px 24px;
  background: #85c7de;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  }

  .button:hover {
  background: linear-gradient(90deg, #85c7de, #5bb0d6);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    order: 1;
  }

  .hero-images {
    order: 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 20px;
  }

  .hero-images img {
    height: auto;
  }

  .kontakt-wrapper {
    flex-direction: column;
  }

  .hero-text-kontakt h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: -80px;
  margin-left: 5px;
  }

  .hero-text-kontakt h2 {
   margin-left: 5px;
  }

  .hero-text-kontakt p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 5px;
   margin-left: 5px;
  }

  .hero-grid-galerija {
  grid-template-columns: 1fr;
  }

  .hero-images-galerija {
  order: 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 20px;
}

  .hero-images-galerija img {
  height: auto !important;   
  width: 100%;               
  margin-top: 0 !important;  
  display: block;
}
.hero-galerija {
  padding: 0 40px !important;
}

.actions {
    display: none;
  }

  .mobileActions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .container {
    margin: 10px !important;
  }

  .reviews {
    max-width: 90%;   /* koristi manje od širine ekrana */
    margin: 0 auto;   /* centrirano */
  }

  .review {
    padding: 10px;    /* smanji unutrašnji padding */
    font-size: 0.9rem; /* manji font za tekst */
  }
  
}

@media(max-width: 600px){
  .reviews {
    max-width: 95%;   /* još uže na manjim ekranima */
  }

  .review {
    font-size: 0.85rem;
  }

}