html {
  scroll-behavior: smooth;
}

#main_page_layer1 {
  background-image: url("images/Durmitor_main.jpg") !important;
}

#main_page_layer2 {
  background-image: url("images/Durmitor_car.jpg") !important;
}

#main_page_layer3 {
  background-image: url("images/Durmitor_sky.jpg") !important;
}

#main_page_layer4 {
  background-image: url("images/Durmitor_contact.jpg") !important;
}

#main_page_layer5 {
  background-image: url("images/oldstorychalets_livingroom.JPG") !important;
}

#oldstorychalets_logo {
  height: 160px !important;
}

.social-nav i {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  margin-right: 8px;
  display: inline-block;
  color: #ffffff;
  /* or #b99d75 to match your theme */
}

.cs-title {
  font-family: 'Garamond', sans-serif !important;
}

.cs-title-text {
  color: #D4AF37;
}

.cs-subtitle {
  color: #D4AF37 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}

.cs-fc-text p {
  color: black;
}

.to-top::before,
.to-top.show::before {
  content: "⌃";
  /* Krov strelice */
  font-size: 24px;
  color: gold;
  position: absolute;
  left: 50%;
  top: 61%;
  /* Malo spuštamo znak */
  transform: translate(-50%, -50%);
}

.to-top:hover,
.to-top.show:hover {
  background-color: black !important;
  /* Pozadina postaje crna */
}

#reservation-widget {
  margin-left: -160px;
  margin-right: -150px;
}

.container {
  background-color: black;
}

.cs-fc-content {
  background-color: #b39638;
}

.cs-subtitle.color-primary {
  color: black !important;
  /* Zlatna boja kao "primary" */
}

#cs-button2 {
  border: 1px gold solid;
  background-color: black;
}

#cs-button2:hover {
  background-color: rgb(197, 177, 63);
  /* Boja na hover */
}

#cs-button1 {
  border: 1px gold solid;
}

#cs-button1:hover {
  background-color: rgb(197, 177, 63);
  /* Boja na hover */
}

.estate_workers_div {
  padding-bottom: 100px;
}

.estate_workers {
  margin-left: 57px;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  /* Horizontal alignment */
  align-items: center;
  /* Vertical alignment */
}

.e-con-inner {
  padding-top: 25px !important;
}

.field-input-wrap.checkout-date::after {
  content: "\25BC" !important;
  color: gold !important;
}

.field-input-wrap.checkin-date::after {
  content: "\25BC" !important;
  color: gold !important;
}

.field-input-wrap.has-dropdown::after {
  content: "\25BC" !important;
  color: gold !important;
}

#cs-button3 {
  border: 1px gold solid;
  background-color: black;
}

#cs-button3:hover {
  background-color: rgb(197, 177, 63);
}

#cs-button4 {
  border: 1px gold solid;
  background-color: black;
}

#cs-button4:hover {
  background-color: rgb(197, 177, 63);
}

#cs-button5 {
  border: 1px gold solid;
  background-color: black;
}

#cs-button5:hover {
  background-color: rgb(197, 177, 63);
}

.dash-image {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.dash-image.dash-in {
  opacity: 1;
  transform: translateX(0);
}

#fade-image {
  opacity: 0;
  transition: opacity 1s ease-out;
}

#fade-image.fade-in {
  opacity: 1;
}

.Durmitor_img1 {
  margin-top: 190px;
  margin-left: 90px;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  /* Horizontal alignment */
  align-items: center;
  /* Vertical alignment */
}

.gallery {
  display: flex;
  flex-direction: column;
  /* Ensures rows stack */
  gap: 40px;
  /* Keeps space between rows */
}

.gallery-row {
  display: flex;
  justify-content: center;
  /* Centers the items */
  gap: 20px;
  /* Space between images */
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  /* Subtle shadow */
}

.gallery-item img {
  width: 100%;
  height: 250px;
  /* Fixed height for uniformity */
  object-fit: cover;
  /* Crops images to fit the space properly */
}

.gallery-item img:hover {
  transform: scale(1.05);
  /* Slight zoom effect on hover */
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close,
.prev,
.next {
  position: absolute;
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.close {
  top: 20px;
  right: 30px;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

#more_about_us {
  background-image: url('images/Durmitor_chalet.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#location {
  background-image: url('images/Durmitor_multiplechalets.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#dash_first_paragraph {
  opacity: 0;
  transform: translateX(-60px);
  /* Start slightly off-screen */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#elementor-spacer-inner1 {
  background-image: url('images/oldstorychalets_chairs.jpeg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#dash_first_paragraph.dash-in {
  opacity: 1;
  transform: translateX(0);
  /* Moves into place */
}

#fade_second_paragraph {
  opacity: 0;
  /* Start invisible */
  transition: opacity 5s ease-in-out;
  /* Smooth fade-in */
}

#fade_second_paragraph.fade-in {
  opacity: 1;
  /* Fully visible */
}

#dash_third_paragraph {
  opacity: 0;
  transform: translateX(-60px);
  /* Start slightly off-screen */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#dash_third_paragraph.dash-in {
  opacity: 1;
  transform: translateX(0);
  /* Moves into place */
}

#slide_forth_paragraph {
  opacity: 0;
  /* Start hidden */
  transform: translateX(-50px);
  /* Start slightly off to the left */
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  /* Smooth slide-in */
}

#slide_forth_paragraph.slide-in {
  opacity: 1;
  /* Fully visible */
  transform: translateX(0);
  /* Moves to original position */
}

.video-collection {
  text-align: center;
  margin-top: 50px;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-item iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.video-item {
  flex: 1 1 300px;
  max-width: 560px;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px;
}

.email-info {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  border: 1px solid gold;
  padding: 15px;
}

.map-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-left: 100px;
  margin-top: 50px;
}

.right_button {
  text-align: right;
  float: right;
}

.right_button button {
    background-color: black;
    color: gold;
    border: 2px solid gold;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.right_button button:hover {
    background-color: gold;
    color: black;
    box-shadow: 0 0 10px gold;
}

#nameSurname {
  color: #D4AF37 !important;
  border-color: gold;
}

#email {
  color: #D4AF37 !important;
  border-color: gold;
}

#telephone {
  color: #D4AF37 !important;
  border-color: gold;
}

#subject {
  color: #D4AF37 !important;
  border-color: gold;
}

.rooms-category {
  margin-top: 50px !important;
}

#rooms-title{
  text-align: center;
}

.rooms-types {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.room-type1 {
  width: 50%;
  padding: 100px;
}

.room-type1 h3 {
  padding-left: 65px;
}

.room-type2 {
  width: 50%;
  padding: 100px;
}

.room-type2 h3 {
  padding-left: 70px;
}

/* .room-type3 {
  width: 33%;
  padding: 100px;
} */

.small-room {
  margin-left: 105px;
}

.small-room-text {
  margin-left: -45px;
  color: #D4AF37 !important
}

#gallery-chalets-title {
  text-align: center;
  margin-bottom: 30px;
}

