body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  font-family: 'Jost', sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #f9f0e7;
  border-bottom: 1px solid #dddcd6;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  padding-left: 80px;        
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #814922;
  font-weight: 600;
  font-size: 1.8rem;
  padding-right: 35px;
  margin: 0 0.5rem;
  transition: opacity 0.3s;
}

.nav-left a:hover{
  opacity: 0.7;
}

.nav-right .social-icon {
  transition: transform 0.3s ease; /* Smooth animation */
  display: inline-block;
}

.nav-right .social-icon:hover {
  transform: scale(1.3); /* Slightly bigger on hover */
}

.service-section {
  background-color: #fdf9f5;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 100px;
}

.naslov1 {
  font-size: 30px;
  color: #814922;
  margin-top: 40px;
  margin-bottom: 2rem;
  letter-spacing: 3px;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 20rem;
  flex-wrap: wrap;
  margin-top: 60px;
}

.service-card {
  max-width: 400px;
  text-align: center;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease; /* smooth scaling */
}

.service-card img:hover {
  transform: scale(1.1); /* grows 5% on hover */
}

.lightboxOverlay {
  overflow: auto !important;  /* Allow scrolling inside the Lightbox if the image overflows */
  -webkit-overflow-scrolling: touch;  /* For smoother mobile scrolling */
}

.lb-data .lb-image {
  max-height: 90vh;  /* Prevent images from growing too large and overflowing */
  object-fit: contain;  /* Make sure images maintain their aspect ratio */
}

.naslov {
  font-size: 25px;
  font-weight: 600;
  color: #814922;
}

.unit {
  font-size: 0.8rem;
  vertical-align: top;
}

.footer {
  background-color: #f7eee5; /* Adjust as needed */
  padding: 16px 20px;
  font-family: 'Jost', sans-serif;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 40px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #8b4a24;
  font-weight: 500;
  letter-spacing: 2px;
}

.footer-column p {
  margin: 8px 0;
  font-size: 1.2em;
}

.footer-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.social-links {
  font-size: xx-large;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icon {
  text-decoration: none;
  color: #9C5E3F;
  font-weight: bold;
}


.social-links .social-icon {
  transition: transform 0.3s ease; /* Smooth animation */
  display: inline-block;
}

.social-links .social-icon:hover {
  transform: scale(1.3); /* Slightly bigger on hover */
}

.arr_left {
  display: none;
}

/* ======== MOBILE VERSION ======== */
@media (max-width: 767px) {
  header {
    padding: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .header-logo {
    padding-right: 100px;
    padding-top: 20px;
    margin-bottom: 1rem;
  }

  .nav-left a,
  .nav-right a {
    font-size: 1.5rem;
    padding-right: 20px;
    margin-bottom: 0.5rem;
    display: block;
  }

  .nav-right .social-icon {
    display: none; 
  }

  .nav-left {
    display: none;
  }

  .mobile-nav.active {
    display: block;
    background: #f9f0e7;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dddcd6;
  }

  .mobile-nav.active a {
    font-size: 1.5rem;
    color: #814922;
    padding-bottom: 1rem;
    text-decoration: none;
    display: block;
  }

  .service-section {
    padding: 2rem 1rem;
    margin-top: 80px;
  }

  .naslov1 {
    font-size: 24px;
    margin-bottom: 1.5rem;
    margin-top: 4.5rem;
  }

  .services-grid {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }

  .service-card {
    max-width: 90%;
  }

  .social-links {
    gap: 20px;
  }

  .social-icon {
    font-size: 1.9rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-logo{
    max-width: 250px;
  }

  .footer-column p {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .header_Site {
    display: flex;
    justify-content: center;
  }

  .arr_left {
    filter: invert(15%) sepia(59%) saturate(451%) hue-rotate(340deg) brightness(93%) contrast(91%);
    position: absolute;
    left: 2%;
    z-index: 1000;
    width: 20px;
    height: 20px;
    display: block;
    top: 22.4%;
  }
}

@media (max-width: 1000px) {

  .nav-right .social-icon {
    display: none; 
  }

  .nav-left {
    display: none;
  }
}