body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Jost', sans-serif;
    flex-direction: row;
    align-items: center;
    scroll-behavior: smooth;
  }

.site-logo-mobile {
  height: 55px;
  margin-left: 12px;
  vertical-align: middle;
}


  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
  }

  /* Style on scroll */
  .navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Nav list */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    text-decoration: none;
    color: #5C3410;
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s;
  }

  .nav-links li a:hover {
    color: #ca8259;
  }

  /* Spacer for fixed nav */
  .spacer {
    height: 80px;
  }
  
  .pozadina {
    background: url('pexels-curtis-adams-1694007-7027853.jpg') no-repeat center center;
    background-size: cover;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    background-color: rgba(255, 255, 255, 0.3); /* semi-transparent dark overlay */
    z-index: 1;
  }

  .iznad {
    position: relative;
    z-index: 2;
  }

  .centered-img {
    width: 650px; /* Adjust as needed */
    height: auto;
  }

  .proizvodi {
    background-color: #fdf7f2;
    padding: 50px 30px;
    text-align: center;
  }
  
  .proizvodi h2 {
    color: #5C3410;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 70px;
    font-weight: 500;
  }
  
  .proizvod-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1400px; /* Increased to give more room */
    margin: 0 auto;
    padding: 0 30px;
  }
  
  .proizvod {
    flex: 1 1 380px; /* Slightly bigger minimum size */
    max-width: 380px; /* Allow images to grow a bit */
    text-align: center;
    cursor: pointer;
    text-decoration: none;
  }
  
  .proizvod img {
    width: 100%;
    height: auto; /* Keeps aspect ratio */
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* smooth scaling */
  }

  .proizvod img:hover {
    transform: scale(1.1); /* grows 5% on hover */
  }
  
  .proizvod p {
    margin-top: 25px;
    font-size: 1.5rem;
    color: #8b4a24;
    letter-spacing: 2px;
  }
  
.about {
    background-color: #f7eee5;
    padding: 80px 30px;
    text-align: center;
    margin: 0 auto;
  }

  .about-inner {
    max-width: 1000px;
    margin: auto;
    
    box-sizing: border-box;
  }
  
  .about h2 {
    color: #8b4a24;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
  }
  
  .about h3 {
    color: #b06a40;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 500;
  }
  
  .about p {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .gallery{
    width: 100%;
    background-color: #fdf9f5;
  }

  .gallery-container{
    align-items: center;
    display: flex;
    height: 650px;
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
  }

  .gallery-item{
    height: 500px;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease-in-out;
    width: 330px;
    z-index: 0;
    border-radius: 15px;
    background-size: contain;
  }

  .gallery-item a {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
  }
  
  .gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* or contain, depending on your preference */
    border-radius: 15px;
    display: block;
  }

  .gallery-item-1{
    left: 15%;
    opacity: .4;
    transform: translateX(-50%);
  }

  .gallery-item-2, .gallery-item-4{
    height: 550px;
    opacity: 0.8;
    width: 380px;
    z-index: 1;
  }

  .gallery-item-2{
    left: 30%;
    transform: translateX(-50%);
  }

  .gallery-item-3{
    box-shadow: -2px 5px 33px 6px rgba(0,0,0,0.35);
    height: 600px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 430px;
    z-index: 2;
  }

  .gallery-item-4{
    left: 70%;
    transform: translateX(-50%);
  }

  .gallery-item-5{
    left: 85%;
    opacity: .4;
    transform: translateX(-50%);
  }

  .gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.gallery-controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.gallery-controls button {
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 10px;
  color: #8b4a24;
}

  .gallery-controls-button:focus{
    outline: none;
  }

  .gallery-controls-previous{
    position: relative;
    transition: transform 0.3s ease;
  }

  .gallery-controls-previous:hover{
    transform: scale(1.2); 
  }

  .gallery-controls-next{
    position: relative;
    transition: transform 0.3s ease; 
  }

  .gallery-controls-next:hover{
    transform: scale(1.2); 
  }

  .gallery-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .gallery-nav li {
    background: #ccc;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .gallery-nav li.gallery-item-selected {
    background: #8b4a24;
    transform: scale(1.6);
    cursor: pointer;
  }

  .location-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 80px;
    padding-bottom: 40px;
    margin: 0;
    min-height: 200px;
    background-color: #fdf9f5;
  }

  .location-section h2 {
    text-align: center;
    padding: 30px 0;
    font-size: 2rem;
    border-radius: 0;
    font-weight: 300;
    color: #8b4a24;
    letter-spacing: 2px;
  }

  .map-container {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    border: none;
  }

  iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  
  .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 */
  }

  @media (max-width: 767px) {

    .navbar .nav-links {
      margin-right: 40px;
      gap: 1rem;
      padding: 1px;
      align-items: center;
    }
  
    .nav-links li a {
      font-size: 1.2rem;
    }
  
    .centered-img {
      margin-left: 10px;
      width: 90%;
      max-width: 350px;
    }
  
    .proizvod-grid {
      flex-direction: column;
      align-items: center;
      gap: 30px;
      padding: 0 20px;
    }
  
    .proizvod {
      max-width: 90%;
    }
  
    .about p {
      font-size: 0.9rem;
      padding: 0 20px;
    }
  
    .gallery-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      box-sizing: border-box;
      overflow-x: hidden;
      height: 500px;
    }

    .gallery-controls {
      margin-top: 0px;
    }
  
    .gallery-item {
      width: 200px;
      height: 300px;
    }
  
    .gallery-item-2,
    .gallery-item-4 {
      width: 210px;
      height: 350px;
      left: 30% !important;
      transform: translateX(-50%) !important;
    }
  
    .gallery-item-3 {
      width: 230px;
      height: 400px;
      left: 50% !important;
      transform: translateX(-50%) !important;
    }
  
    .location-section {
      padding: 20px;
    }
  
    .location-section h2 {
      font-size: 1.5rem;
    }
  
    .map-container {
      height: 250px;
    }
  
.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;
  }
}