body {
  background-color:  #3b526e;
  font-family: Arial, Helvetica, sans-serif;
  color: #fae8c0;
}
.navbar {
  background-color: #3b526e;
}
.navbar-brand,
.nav-link {
  color: #fae8c0 !important;
}
.nav-link:hover {
  color: white !important;
}
.offcanvas {
  background-color: #3b526e;
}
.offcanvas a {
  color: #fae8c0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.offcanvas a:hover {
  color: #fae8c0;
}
.dropdown-menu {
  background-color: #3b526e !important;
  border: none;
}
.dropdown-item {
  color: #fae8c0 !important;
}
.dropdown-item:hover {
  background-color: transparent !important;
  color: white !important;
}

section {
  min-height: 20vh;
}
.hero-image {
  position: relative;
  height: 100vh;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fae8c0;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  white-space: nowrap;
  max-width: 90%;
}
.about-section {
  padding: 20px;
}
.about-text {
  color: #fae8c0;
  font-size: 1.1rem;
  text-align: justify;
  padding: 30px 0 0 0;
}
.description-gallery-section {
  padding: 50px 0;
}
#naslov{
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  padding: 30px 0 0 0;
}

.description {
  padding: 0px;
  text-align: justify;
}

 h2 {
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  color: #fae8c0;
  text-align: left;
}

.description p {
  font-size: 1rem;
  line-height: 1.6;
}

.description .btn {
  background-color: #fae8c0;
  color: #3b526e;
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
}

.image-container {
  width: 150px;
  height: 130px;
  overflow: hidden;
  position: relative;
}

.image-container img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fae8c0;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-container:hover .overlay {
  opacity: 1;
}
h5 {
  font-size: 1rem;
}
.overlay .text {
  text-align: center;
}

.modal-body img {
  width: 800px;
  height: 600px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
}

.modal-body .modal-caption {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}
#modalText {
  color: #3b526e;
}
.row img {
  height: 100%;
  object-fit: cover;
}

#break {
  padding: 80px 10px;
}
.carousel-inner img {
  width: 100%;
  height: 550px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black;
  width: 40px;
  height: 40px;
}

.form-control {
  border-bottom: 2px solid #fae8c0 !important;
  box-shadow: none;
  color: #fae8c0;
 
}
#name {
 background-color: #fae8c0;
}
#email {
  background-color: #fae8c0;
 }
 #message {
  background-color: #fae8c0;
 }

.form-control:focus {
  background-color: #fae8c0;
  border-bottom: 2px solid #3b526e;
  outline: 2px solid #3b526e;
}

button[type='submit'] {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mb-3 {
  margin-bottom: 1rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

footer {
  background-color:  #3b526e;
  color: #fae8c0;

}
a {
  text-decoration: none;
  color: #fae8c0;
}

a:hover {
  text-decoration: none;
}
.icons {
  margin-bottom: 15px;
  color: #fae8c0;
}
.btn {
  color: #3b526e;
}
.btn,
.px-4,
.py-2 {
  background-color: #3b526e;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  body,
  html {
    background-color: #3b526e;
    font-family: Arial, Helvetica, sans-serif;
    color: #fae8c0;
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
  }
  .offcanvas {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #3b526e;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .offcanvas.show {
    transform: none;
  }

  .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
  }

  .offcanvas a {
    font-size: 1.5rem;
    color: #fae8c0;
    margin-bottom: 10px;
    text-align: center;
  }

 /* .hero-image {
    background-size: 100% 100%;
    background-position: center center;
  }*/
  .hero-image {
    background-image: url('img/hero.jpg');
    background-size: cover; 
    background-position: center center; 
  height: 50vh; 
} 
  .hero-text {
    font-size: 1.5rem;
    bottom: 15px;
    left: 15px;
  }
  #naslov{
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    padding: 10px 0;
    text-align: left;
    font-size: 1.9em;
  }
  .about-section {
    padding: 30px 0 0 0;
  }
  .about-text {
    font-size: 1rem;
    text-align: justify;
    padding: 0px;
  }
  h2 {
    font-weight: 600;
    font-family: 'Roboto Slab', serif;
    font-size: 1.7rem;
    color: #fae8c0;
  }
  .image-container {
    justify-content: center;
    padding: 0;
    width: 150px;
    height: 130px;
    overflow: hidden;
    position: relative;
  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  .container {
    padding: 0 25px;
  }
  #break {
    padding: 30px 25px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .description {
    margin-bottom: 30px;
  }
  .modal-body img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
  }
  .carousel-inner img {
    width: 100%;
    height: 300px;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
  .btn,
  .px-4,
  .py-2 {
    margin-bottom: 10px;
  }
  #enter {
    margin-bottom: 30px;
  }


  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
  }
}
