@charset "utf-8";

@font-face {
  font-family: 'MojFont'; 
  src: url("Safira March Personal Use Only.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
font-family:'MojFont';
background-color: #f4e9dc; 
color: #3e1f1c; 
line-height: 1.6;
	max-width: 100%;
  overflow-x: hidden;
}


header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: rgba(244, 233, 220, 0.95);
  padding: 12px 40px;
  z-index: 1000;
  border-bottom: 1px solid #a7866e;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
	position: relative;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  flex: 1;
}

.nav-left a {
	text-decoration: none;
}

.nav-center {
  flex: 1;
  justify-content: center;
}

.nav-right {
  flex: 1;
  justify-content: flex-end;
}

.nav-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

nav h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #3e1f1c;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #3e1f1c;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #8c0000;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #3e1f1c;
	margin-left: auto;
  background: none;
  border: none;
  z-index: 1001;
}

/* Po defaultu prikazuj ☰ */
.hamburger::before {
  content: "☰";
}

/* Kada se otvori meni, pretvori u ✖ */
.hamburger.open::before {
  content: "✖";
}

@media (max-width: 768px) {
	.nav-left{
		flex:1;
	}
  .hamburger {
    display: block;
	  margin-left: auto;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 60px;
    right: 0px;
    background-color: #f4e9dc;
    border: 1px solid #a7866e;
    border-radius: 6px;
    padding: 10px 20px;
  }

  .nav-right ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-right.show {
    display: flex;
  }
}

#hero {
  position: relative;
  background-image: url("hero.jpeg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 20px 200px; 
  text-align: center;
  color: #f4e9dc;
  z-index: 1;
  min-height: 80vh; 
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 0;
}

#hero h2 {
  position: relative;
  z-index: 1;
  font-size: 4rem; 
  letter-spacing: 2px;
  margin-bottom: 20px;
}

#hero p {
  position: relative;
  z-index: 1;
  font-size: 1.8rem; 
  font-style: italic;
  color: #e8d3b8;
  margin-bottom: 30px;
}

#hero .btn {
  position: relative;
  z-index: 1;
  padding: 14px 32px;
  font-size: 1.1rem;
  border: 2px solid #f4e9dc;
  background-color: transparent;
  color: #f4e9dc;
  text-decoration: none;
  transition: all 0.3s ease;
}

#hero .btn:hover {
  background-color: #f4e9dc;
  color: #3e1f1c;
}


#proizvod {
  background-color: #f4e9dc;
  padding: 100px 40px;
}

.proizvod-wrapper {
  display: flex;
  align-items: flex-start; /* gornji rub poravnat */
  justify-content: center; /* centriraj sve unutar wrappera */
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: wrap;
}

.proizvod-tekst {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.proizvod-tekst h2 {
  font-size: 2.5rem;
  color: #3e1f1c;
}

.proizvod-tekst p {
  font-size: 1.1rem;
  font-family: "Helvetica", sans-serif;
  color: #3e1f1c;
  margin: 0;
}

.subheading {
  font-size: 1.8rem;
  font-style: italic;
  color: #3e1f1c;
  margin: 0;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #8c0000;
  color: #f4e9dc;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #640000;
  transform: translateY(-2px);
}

.proizvod-slika {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.proizvod-slika img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  object-fit: cover;
}


/* Sekcija: Video */
#video {
padding: 100px 40px;
text-align: center;
background-color: #640000;
color: #f4e9dc;
}

#video h2 {
font-size: 2.5rem;
}

#video p {
font-size: 1.3rem;
font-style: italic;
margin-bottom: 30px;
}



.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* omjer 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid #c9a36d;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#kontakt h2 {
	padding: 100px 70px;
font-size: 3rem;
	text-align: center;
	color: #3e1f1c;
}

.team-section {
font-family: "Helvetica";
display: flex;
justify-content: center;
gap: 40px;
margin-bottom: 60px;
flex-wrap: wrap;
}

.team-member {
text-align: center;
max-width: 180px;
}

.team-member img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 12px;
border: 2px solid #a7866e;
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.team-member h3 {
margin-top: 15px;
font-size: 1.2rem;
color: #3e1f1c;
}

.team-member p {
font-style: italic;
color: #8c0000;
margin-bottom: 5px;
}

.team-member a {
text-decoration: none;
color: #3e1f1c;
font-weight: bold;
transition: color 0.3s;
}

.team-member a:hover {
color: #640000;
}

form {
max-width: 600px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 15px;
}

label {
font-weight: bold;
}

input, textarea {
padding: 10px;
border: 1px solid #a7866e;
border-radius: 5px;
font-size: 1rem;
}

button {
padding: 12px;
background-color: #3e1f1c;
color: #f4e9dc;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}

button:hover {
background-color: #640000;
}


@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .proizvod-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .proizvod-tekst, .proizvod-slika {
    width: 100%;
    align-items: center;
  }

  #hero h2 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1.2rem;
  }

  #hero .btn {
    padding: 10px 24px;
    font-size: 1rem;
  }



  .team-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  form {
    width: 90%;
  }

  #kontakt h2 {
    padding: 60px 20px;
    font-size: 2rem;
  }
}

img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

footer {
  background-color: #3e1f1c;
  color: #f4e9dc;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.instagram-icon {
  width: 30px;
  height: 30px;
  filter: invert(100%);
  transition: transform 0.3s;
}

.instagram-icon:hover {
  transform: scale(1.1);
}

