/* ------------------------ Typography Import  */
@font-face{
    font-family: 'helvetica';
    src: url('font/Helvetica-neue/HelveticaNeueMedium.otf');
}

@font-face{
    font-family: 'helvetica-light';
    src: url('font/Helvetica-neue/HelveticaNeueLight.otf');
}

/*zaglavlje*/

html {
  scroll-behavior: smooth;
}

header {
  position: relative;
  overflow: hidden;
}

.navigacija {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #162241;
  padding: 10px 20px;
  box-sizing: border-box;
  position: fixed; /* mora biti fiksno na vrhu */
  top: 0;
  left: 0;
  width: 100%;
  transition: top 0.3s ease-in-out;
  z-index: 1000; /* da ostane iznad svega */
}

/* Animacija da navigacijska traka ne stane kada se krene prema dolje */
.navigacija.hidden {
  top: -100px; /* navigacijska traka nestaje kada se skrola dolje */
}

.logo img {
  height: 40px; 
}

.poveznice {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.poveznice li {
  margin-left: 20px;
}

.poveznice a {
  text-decoration: none;
  color: white;
  padding: 10px;
}

.poveznice a:hover {
  background-color: #E21B4D;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .navigacija {
    padding: 6px 10px;
  }

  .logo img {
    height: 30px;
  }

  .poveznice {
    flex-direction: row;
  }

  .poveznice li {
    margin-left: 10px;
  }

  .poveznice a {
    font-size: 13px;
    padding: 6px;
  }
}

.naslovpozadina {
  
  height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* sloj s pozadinom koji će se animirati */
.bg-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease-in-out;
}

/* aktivni sloj */
.bg-slide.current {
  transform: translateX(0);
  z-index: 1;
}

/* nadolazeći sloj (s desne strane) */
.bg-slide.next {
  transform: translateX(100%);
  z-index: 0;
}

.naslovpozadina::before {
  content: "";
  position: absolute;
  inset: 0;
}
   /* backdrop-filter: blur(3px); /* blur efekt */
  /*background-color: rgba(0, 0, 0, 0.1); /* malo zatamni pozadinu */
  /*z-index: 1; */
  

.zaglavljetekst {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

/* --------------------  nije uspjelo -----------------
#navigacijska ol.poveznica li {
	display: inline-block;
	background-color: rgb(128, 128, 128);
	margin-left:50px;
	margin-top: 0px;
	padding: 10px 20px;
    text-align: right;
} 

#navigacijska {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: gray;
  opacity: 0.5;
  padding: 10px 10px;
}
*/


h1 {
    font-family: helvetica;
    color: #E21B4D;
    font-weight: bold;
    font-size: 100pt;
}

blockquote {
    color: #162241;
    font-family: 'helvetica-light';
    font-size: 24pt;
    font-weight: bold;
}

   

/* BODY DIO */


body {
    text-align: center;
    font-family: 'helvetica-light';
    color: white; /* boja teksta */
    margin: 0;
    
}

#photo-section {
  background-color: #162241; /* boja pozadine te cijele sekcije */
  width: 100%;
  padding: 40px 0;
}

/* dio u sekciji s unutarnjim naredbama vezano uz centriranjem fotografija i sadržaja*/
#sec1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto; /* centriranje sadržaja */
}

.item h2 {
    font-size: 12pt;
    margin-bottom: 10px;
}

.item img {
    width: 100%;
    max-width: 400px; /* to je kada se mijenja veličina stranice */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.img-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: 100%;
  height: auto;
  object-fit: cover; 
  display: block;
  transition: opacity 0.5s ease;
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;         
  background-color: rgba(255, 255, 255, 0.9); /* blagi tamni overlay */
  color: black;
  font-weight: bold;
  font-size: 12pt;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
}

/* HOVER EFEKT */
.img-container:hover img {
  opacity: 0;
}

.img-container:hover .hover-text {
  opacity: 1;
}


/*SEKCIJA S VIDEOM*/

#video {
  text-align: center;
  padding: 20px 20px;
  background-color: white; /* pozadina iza videa - pozadina sekcije*/
  color: black; /* boja teksta */
  font-family: 'helvetica';
  font-size: 24pt;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 omjer */
  height: 0;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}



/* PODNOŽJE */

.footer {
  background-color: #162241;
  color: white;
  padding: 40px 20px;
  font-family: 'helvetica-light';
  position: relative;
}

/* Raspored 3 dijela: forma-lijevo, tekst-sredina, logo-desno */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap; /* omogućava prijelom na manjim ekranima */
}

/* Lijeva strana s ispunjavanjem forme */

.footer-left form {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 20px;
}

.footer-left input {
  font-size: 18px;
  font-family: 'helvetica-light';
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #162241;
  border: 1px solid white;
  border-radius: 8px;
  box-sizing: border-box;
  color: white;
}

.footer-left input:hover {
  box-shadow: 1px 3px 1px white;
}

.footer-left input[type="submit"] {
  width: 100px;
  height: 50px;
  padding: 5px;
  margin-top: 10px;
  cursor: pointer;
}

.footer-left input[type="submit"]:hover {
  box-shadow: 1px 3px 1px white;
}

/* Logotip s desne strane */

.footer-right img {
  height: 40px;
  margin-top: 20px;
}

/* Sredina footer-a gdje se nalazi credit */

.footer-center {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  opacity: 0.8;
}

/* Animacije za manje ekrane */

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-left form {
    max-width: 100%;
  }

  .footer-right img {
    margin-bottom: 10px;
  }

  .footer-center {
    position: static;
    transform: none;
    margin-top: 10px;
  }
}


/*STIL CSS ZA OKUSE*/

.okusi-glavni {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.okusi {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.okus1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 30px; /* malo prostora ispod sadržaja za liniju dolje */
  border-bottom: 1px solid #162241; /* linija */
}

/*   da nema ispod zadnjeg **********
.okus1:last-child {
  border-bottom: none;   
}
*/ 

.okus1 img {
  width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.okus1 img:hover {
  transform: scale(1.1); 
}

.okus-tekst {
  max-width: 600px;
}

.okus-tekst h2 {
  margin-top: 0;
  font-size: 26px;
  color: #162241;
  font-family: 'helvetica';
}

.okus-tekst p {
  font-size: 18px;
  line-height: 1.6;
  color: black;
  font-family: 'helvetica-light';
}

/* Responsive za manje ekrane */
@media (max-width: 768px) {
  .okus1 {
    flex-direction: column;
    text-align: center;
  }

  .okus-tekst {
    max-width: 100%;
  }
}

/* Ovdje se nalaze naredbe od stranice okusi, ali za galeriju ispod svega */

.galerija-staticna {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'helvetica';
}

.galerija-staticna h2 {
  font-size: 26px;
  color: #162241;
  margin-bottom: 60px;
  text-align: center;
}

.galerija-slike {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.galerija-slike a {
  display: block;
}

.galerija-slike img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.galerija-slike img:hover {
  transform: scale(1.05);
}

/*CSS ZA STRANICU O NAMA*/

.onama {
  display: flex;
  flex-direction: column;
  align-items: center; /* centriranje po horizontali */
  justify-content: center;
  text-align: center; /* centrirani tekst */
  padding: 40px 20px;
  background-color: #162241;
  border-bottom: 1px solid white;
}

.onama img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px; /* razmak između slike i teksta */
}

.onama p {
  max-width: 800px;       /* ili npr. 700px, po želji */
  text-align: center;    /* ako želiš poravnanje s obje strane */
  line-height: 1.6;       /* bolja čitljivost */
  font-family: 'helvetica-light';
  font-size: 16pt;
}
