.navbar {
  transition: background-color 0.4s ease-in-out
}

.navbar.scrolled {
  background-color: #EBE5D9 !important;
  color: white !important
}

.naslov {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.6s ease, transform 0.6s ease, color 0.4s ease;
  font-size: 35px;
  color: #94803C;
  white-space: nowrap
}

.navbar.scrolled-dark {
  background-color: black !important;
  color: white !important
}

.naslov.scrolled-dark {
  color: white !important
}

.naslov.moved-left {
  left: 2%;
  transform: translateY(-50%);
  color: #fff
}

.menu-icon {
  width: 40px;
  height: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 1100
}

.menu-icon div {
  width: 100%;
  height: 5px;
  background-color: #fff0;
  border-radius: 5px;
  transition: all 0.4s ease-in-out
}

.menu-icon.open div:nth-child(1) {
  transform: translateY(15px) rotate(45deg)
}

.menu-icon.open div:nth-child(2) {
  opacity: 0
}

.menu-icon.open div:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg)
}

.dropdown-menu-custom {
  position: fixed;
  right: -300px;
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: #EBE5D9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  transition: right 0.5s ease-in-out;
  box-shadow: -5px 0 10px rgb(0 0 0 / .3)
}

.dropdown-menu-custom.show {
  right: 0
}

.dropdown-menu-custom li {
  padding: 15px;
  width: 100%;
  text-align: center
}

.dropdown-menu-custom a {
  text-decoration: none;
  font-size: 20px;
  color: #fff;
  transition: color 0.3s
}

.dropdown-menu-custom a:hover {
  color: #ffeb3b
}

.content1 {
  display: flex;
  justify-content: start;
  margin-top: 50px
}

.container1 {
  display: flex;
  align-items: center;
  width: 100%;
  background: #E0D2AE;
  padding: 60px;
  border-radius: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out
}

.text {
  flex: 1;
  padding: 30px;
  text-align: left
}

.text h2 {
  color: #5a3e2b;
  font-size: 28px;
  font-weight: 700
}

.text p {
  color: #7a6a5a;
  font-size: 16px;
  line-height: 1.6
}

.button {
  display: inline-block;
  background-color: #81614A;
  color: #fff;
  padding: 15px 90px;
  text-decoration: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #81614A;
  box-shadow: -5px 5px 0 #94803C;
  position: relative;
  top: 20px
}

.button:hover {
  background-color: #7a5c3e;
  box-shadow: 2px 2px 0 #9b7d5e
}

.hidden {
  visibility: hidden
}

.image {
  flex: .7;
  overflow: hidden;
  border-radius: 15px
}

.image img {
  width: 500;
  height: 720;
  margin-left: 13vw;
  border-radius: 15px
}

.brown-section {
  background-color: #8c6b55;
  padding: 80px 0;
  text-align: center
}

.brown-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out
}

.brown-text {
  flex: 1;
  padding: 30px;
  text-align: left
}

.brown-text h2 {
  font-size: 28px;
  font-weight: 700
}

.brown-text p {
  font-size: 16px;
  line-height: 1.6
}

.brown-image {
  flex: 1
}

.brown-image img {
  width: 500;
  height: 720;
  border-radius: 15px
}

@media (max-width:768px) {

  .container,
  .brown-container {
    flex-direction: column;
    text-align: center
  }
}

.button2 {
  display: inline-block;
  background-color: #EBE5D9;
  color: #000;
  padding: 15px 90px;
  text-decoration: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #EBE5D9;
  box-shadow: -5px 5px 0 #5B5547;
  position: relative;
  top: 20px
}

.button2:hover {
  background-color: #fff;
  box-shadow: 2px 2px 0 wheat
}

.swiper {
  width: 100%;
  height: 75vh
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative
}

.overlay2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / .65)
}

.content2 {
  position: absolute;
  font-size: 80px
}

.counter {
  font-size: 2rem;
  color: #94803C
}

.swiper-button-next,
.swiper-button-prev {
  color: #E0D2AE
}

.great {
  font-family: 'Great Vibes', cursive
}

.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background-color: #E0D2AE;
  color: #E0D2AE
}

.text-block {
  flex: 1 1 300px;
  padding: 20px 40px;
  max-width: 400px
}

.text-block h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 1px
}

.text-block p {
  font-size: 16px;
  line-height: 1.6;
  color: #444
}

.images2 {
  position: relative;
  flex: 1 1 500px;
  min-width: 320px
}

.img_1,
.img_2,
.img_3 {
  position: absolute;
  box-shadow: 0 4px 12px rgb(0 0 0 / .1);
  border-radius: 8px;
  object-fit: cover
}

.img_1 {
  top: 0;
  right: 0;
  width: 240px;
  height: 160px;
  z-index: 3
}

.img_2 {
  bottom: 0;
  left: 0;
  width: 260px;
  height: 180px;
  z-index: 2
}

.img_3 {
  bottom: 20px;
  right: 50px;
  width: 200px;
  height: 160px;
  z-index: 1
}

@media (max-width:768px) {
  .images {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center
  }

  .img1,
  .img2,
  .img3 {
    position: static;
    width: 90%;
    height: auto
  }
}

.kontakt-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px;
  flex-wrap: wrap
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px #ffffff20, 0 0 20px #ffffff10
  }

  50% {
    box-shadow: 0 0 20px #ffffff40, 0 0 30px #ffffff20
  }

  100% {
    box-shadow: 0 0 10px #ffffff20, 0 0 20px #ffffff10
  }
}

.kontakt-forma {
  background-color: #1a1a1a;
  padding: 30px 20px;
  border-radius: 20px;
  width: 300px;
  color: #f0e6dd;
  animation: glow 3s infinite ease-in-out
}

.kontakt-forma h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fc9
}

.kontakt-forma input,
.kontakt-forma textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 10px;
  background-color: #2b2b2b;
  font-size: 14px;
  font-family: inherit;
  color: #f2f2f2;
  max-width: 280px
}

.kontakt-forma input::placeholder,
.kontakt-forma textarea::placeholder {
  color: #aaa
}

.kontakt-forma textarea {
  resize: vertical;
  min-height: 80px;
  max-width: 280px
}

.kontakt-forma button {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s
}

.kontakt-forma button:hover {
  background: #fff0;
  color: #fff;
  transform: scale(1.02)
}

.kontakt-tekst {
  max-width: 300px;
  color: #e0dcd2;
  font-size: 16px;
  line-height: 1.5;
  text-align: left
}

.kontakt-tekst h3 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 400
}

.kontakt-tekst p {
  margin: 0;
  color: rebeccapurple
}

.h2-slider {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center
}

section {
  padding: 100px 20px
}

.container5 {
  max-width: 1500px;
  margin: auto
}

.rental-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(50px) scale(.95);
  transition: all 1s ease
}

.rental-container.show {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.rental-images {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative
}

.rental-images img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.5s ease, filter 0.5s ease;
  cursor: pointer
}

.rental-images img:hover {
  transform: scale(1.05);
  filter: brightness(80%) blur(1px)
}

.rental-info {
  flex: 1 1 40%
}

.rental-info h2 span {
  color: #5a3e2b;
  font-size: 65px
}

.rental-info ul {
  list-style: none;
  margin: 20px 0
}

.rental-info ul li {
  margin-bottom: 10px
}

.rental-info a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #694b38;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s;
  margin-top: 10px
}

.rental-info a:hover {
  background-color: #5a3e2b
}

.slider {
  overflow: hidden;
  position: relative;
  height: 300px;
  margin-top: 40px
}

.slide-track {
  display: flex;
  width: fit-content;
  animation: scroll 30s linear infinite
}

.slide {
  width: 300px;
  margin-right: 20px;
  flex-shrink: 0;
  position: relative
}

.slide img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@media(max-width:768px) {
  .rental-container {
    flex-direction: column
  }

  .rental-images {
    grid-template-columns: 1fr
  }

  .slide {
    width: 250px
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

.section2 {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding-bottom: 80px;
  background-color: #E0D2AE
}

.sparkle-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0
}

.sparkle-layer span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  opacity: 0;
  animation: sparkle 5s linear infinite;
  border-radius: 50%
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1)
  }

  50% {
    opacity: 1;
    transform: translateY(-20px) scale(1.5)
  }

  100% {
    opacity: 0;
    transform: translateY(-40px) scale(.8)
  }
}

.container3 {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2
}

.header3 {
  text-align: center;
  margin-bottom: 80px
}

.header3 h1 {
  font-size: 3.5rem;
  color: #5a3e2b;
  text-shadow: 0 0 20px rgb(255 255 255 / .15)
}

.block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 100px;
  align-items: center
}

.block:nth-child(even) {
  flex-direction: row-reverse
}

.block img {
  flex: 1 1 50%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .3);
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(.95);
  transition: transform 0.8s ease, opacity 0.8s ease
}

.block .text {
  flex: 1 1 50%;
  padding: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s ease, opacity 0.8s ease
}

.block .text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: inherit
}

.block .text p {
  font-size: 1.1rem;
  line-height: 1.6
}

.block.show .text,
.block.show img {
  opacity: 1
}

.block.show .text {
  transform: translateY(0)
}

.block.show img {
  transform: scale(1)
}

@media (max-width:768px) {
  .header3 h1 {
    font-size: 2.5rem
  }

  .block {
    flex-direction: column !important
  }

  .block img {
    margin-bottom: 20px
  }

  .block .text {
    text-align: center
  }
}

#infinity.dark-section {
  color: #fff
}

#infinity.dark-section h1,
#infinity.dark-section h2,
#infinity.dark-section p {
  color: #fff
}

#infinity.dark-section img {
  filter: brightness(.85) contrast(1.1)
}

#infinity,
#tvojamama,
#infinity h1,
#infinity p,
#tvojamama p,
#infinity img,
#tvojamama img {
  transition: all 0.25s ease
}

.card-wrapper {
  background: #E0D2AE;
  padding: 4rem 1rem 3rem;
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center
}

.card-wrapper h2 {
  font-size: 3rem;
  color: #5a3e2b;
  margin-bottom: 8rem;
  text-align: center
}

.card-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #ccc #fff0;
  max-width: 100%;
  padding-top: 1rem
}

.card-container::-webkit-scrollbar {
  height: 8px
}

.card-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px
}

.card-container::-webkit-scrollbar-track {
  background: #fff0
}

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgb(0 0 0 / .1);
  width: 350px;
  min-width: 280px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  will-change: transform
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgb(0 0 0 / .2);
  z-index: 10
}

.facebook-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px
}

.user-info {
  display: flex;
  align-items: center;
  gap: .8rem
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd
}

.user-info .name {
  font-weight: 600;
  color: #1c1e21
}

.review-text {
  font-size: 1rem;
  color: #050505;
  line-height: 1.5
}

.footer2-info {
  margin-top: auto;
  font-size: .8rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.stars {
  color: #f7b500;
  font-size: 1rem
}

@media (max-width:768px) {
  .card-wrapper {
    padding: 2rem 1rem
  }

  .card-container {
    gap: 1rem;
    justify-content: flex-start
  }

  .card {
    width: 260px;
    min-width: 240px
  }

  .card-wrapper h2 {
    font-size: 1.8rem
  }
}