body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #E0E0E0;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-bottom: 1px;
}

/* Manja visina loga na mobilnim uređajima */
@media (max-width: 768px) {
    .logo img {
        height: 20px;
    }
}



nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
}

/* Hamburger meni */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-top: 10px;
}

/* Po defaultu sakriven meni (koristi se na mobilnom) */
nav.mobile-hidden {
    display: none;
}

/* Na desktopu, navigacija uvek vidljiva */
@media (min-width: 769px) {
    nav.mobile-hidden {
        display: flex !important;
    }

    .hamburger {
        display: none;
    }
}

section {
    padding: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.gallery img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: -10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}
@media (max-width: 768px) {
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    position: relative;
    gap: 0;
  }

  .gallery img {
    max-width: 47%;
    max-height: 150px;
    margin: -8px;
    object-fit: cover;
    border-radius: 1px;
    transform: translateY(4px) translateX(4px);
    z-index: 1;
  }

  .gallery img:nth-child(even) {
    transform: translateY(-4px) translateX(-4px);
    z-index: 2;
  }
}

* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* sprečava horizontalni scroll */
}

.hero-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: black;
}

.responsive-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Umesto padding-top */
  overflow: hidden;
}


.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100vw;
  max-height: 100dvh;
}



.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* prilagodi po želji */
  z-index: 2;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 3;
  text-align: center;
}








/* Zatamnjenje preko videa */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}

/* Tekst preko videa */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  padding: 0 1rem;
}

/* Responsive prilagođavanja */
@media (max-width: 768px) {
  .overlay-text {
    font-size: 1.2rem;
	white-space: nowrap;
  }
  
 
}

@media (max-width: 480px) {
  .overlay-text {
    font-size: 1.2rem;
  }
}






.us-photo {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 20px auto;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 10px;
}

input, textarea {
    margin: 10px 0;
    padding: 10px;
    font-family: 'Playfair Display', serif;
}

button {
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f4f4f4;
}
h2 {
    
	font-weight: normal;
}

@media (max-width: 768px) {
  h2 {
    margin-top: 3px;
	font-size: 18px;
  }
}

h2, p {
    padding: 0 10px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
		margin-bottom: -10px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav.mobile-hidden {
        display: none;
    }
}


/* Društvene mreže */
.social-icons {
    margin-top: 20px;
    text-align: center; /* Dodato za centriranje */
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}
