* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3AA8A1;
  --primary-dark: #2f8f89;
  --text-dark: #333;
  --light-bg: #f5f5f5;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light-bg);
}

h1,
h2 {
  margin-bottom: 20px;
}



.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  padding-top:10px ;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 18px;

}

.nav-list a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* HERO */
.hero {
    height: 58vh;
  /* smanjena visina */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #111;
  /* tamna pozadina */
  position: relative;
  overflow: hidden;
}

.hero::before {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/22.jpg') center/cover no-repeat;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  /* max širina slike */
  height: 100%;
  background: url('images/22.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  /* tekst iznad slike */
  z-index: 1;
  padding: 0 20px;
}



.hero-content h1 {
  font-size: 2.2rem;
  max-width: 800px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}

.hero-content .btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.8s;
}

.hero-content .btn:hover {
  background: var(--primary-dark);
}

/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px 0 5px;
  color: var(--primary);
}

.product-card p {
  padding: 0 15px 20px;
}

/* CONTACT */
.contact-box {
  background: var(--light-bg);
  padding: 30px;
  border-left: 5px solid var(--primary);
}

/* FOOTER */
.footer2 {
  position: relative;
  /* omogućava z-index */
  z-index: 100;
  /* veći od ostalih elemenata */
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 25px 0 25px;
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 220px;
    display: none;
    border-left: 1px solid #ddd;
  }

  .nav-list.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #111;
  z-index: 1000;
}

/* O NAMA - TAMNA SEKCIJA */
#about {
  background: #111;
  color: #eaeaea;
  align-items: center;

}

#about h2 {
  color: #030101;

}

#about p {
  color: #010101;

}

.section {
  padding: 80px 0;
  color: var(--text-dark);
  /* crni tekst */
}

.section.light {
  background: var(--light-bg);
  color: var(--text-dark);
  /* obavezno da override-uje bijeli nasljeđeni */
}

.nav-list a {
  color: #fff;
  /* bijeli linkovi na tamnom headeru */
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--primary);
  /* zeleni hover ostaje */
}

.nav-list a.active {
  color: #fff;
  /* aktivni link također bijeli */
}

#contact {
  background: var(--light-bg);
  /* ostaje svijetla pozadina */
  color: var(--primary);
  /* tirkizni tekst */
}

/* Ako koristiš posebne elemente unutar contact-box */
#contact .contact-box p {
  color: var(--primary);
  /* sve stavke u tirkizno */
}

/* FULL WIDTH IMAGE */
.fullwidth-image img {
  width: 85%;
  /* cijela širina ekrana */
  height: auto;
  /* proporcionalna visina */
  display: block;
  /* uklanja bijeli razmak ispod slike */
    padding: 20px 20px 20px 240px;

}

.fullwidth-image {
  border-top: 2px solid #111;
  /* gornja crna linija */
  border-bottom: 2px solid #111;
  /* donja crna linija */
}

/* Sekcija misija */
.mission-section {
  background-color: transparent;
  /* uklonjena tirkizna pozadina */
  padding: 80px 20px;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Wrapper */
.mission-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Lijevi dio: 6 kartica */
.cards-left {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  flex: 2;
}

/* Kartice */
.cards-left .card {
  background-color: rgba(255, 255, 255, 0.1);
  /* blago prozirna, ili može #fff sa opacity */
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s;
  color: #fff;
}

/* Hover efekt */
.cards-left .card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Slike u karticama */
.cards-left .card img {
  width: 80px;
  margin-bottom: 15px;
}

/* Naslovi kartica */
.cards-left .card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Tekst kartica */
.cards-left .card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Dugme */
.cards-left .card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #fff;
  color: #333;
  /* tamnija boja teksta da bude čitljivo */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.cards-left .card .btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
}

/* Desni dio */
.text-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-right h2 {
  line-height: 1.2;
  font-weight: 300;
}

.text-right h2 span {
  display: block;
  color: #ffffff;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
  .cards-left {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-wrapper {
    flex-direction: column;
  }

  .cards-left {
    grid-template-columns: 1fr;
  }
}

/* NASLOV */
#about .about-title {
  color: #1abc9c;
  /* tirkizna */
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* TEKST ISPOD */
#about .about-text {
  color: #ffffff;
  /* bijela */
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* KONTAKT SEKCIJA */
.contact-section {
  padding: 60px 0;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
}

/* NASLOV */
.contact-section .contact-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1abc9c;
  /* tirkizna */
  text-align: center;
  margin-bottom: 20px;
}

/* UVODNI TEKST */
.contact-section .contact-intro {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
}

/* DETALJI KONTAKTA */
.contact-section .contact-details p {
  font-size: 16px;
  color: #000000;
  margin: 5px 0;
  text-align: center;
}

.contact-section .contact-details a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: 500;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main,
.section,
.hero,
.mission-section,
#products,
#contact {
  flex: 1;
  /* raste da popuni prostor */
}

/* O NAMA STRANICA */
.about-page {
  background-color: #f9f9f9;
  color: #333;
  padding: 100px 20px;
  font-family: 'Inter', sans-serif;
}

.about-page h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
}

.about-page p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.about-page h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.about-page ul {
  list-style-type: disc;
  padding-left: 40px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.about-page ul li {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Kontakt info unutar O nama */
.about-page .contact-details {
  text-align: center;
  margin-top: 30px;
}

.about-page .contact-details p {
  font-size: 16px;
  margin: 5px 0;
}

.about-page .contact-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.about-page .contact-details a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-page h1 {
    font-size: 28px;
  }

  .about-page h2 {
    font-size: 24px;
  }

  .about-page p,
  .about-page ul li {
    font-size: 16px;
  }
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin: 50px auto 0 auto;
  padding: 80px 0 0 0;
  max-width: 1200px;
}

.about-block {
  background-color: srgba(26, 188, 156, 0.05);
  /* blago tirkizno */
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s;
}

.about-block:hover {
  transform: translateY(-10px);
  background-color: rgba(26, 188, 156, 0.1);
}

.about-block img {
  width: 90px;
  margin-bottom: 15px;
}

.about-block h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 10px;
}

.about-block p {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.about-section-light {
  background-color: #f5f5f5;
  padding: 80px 20px;
}

.about-section-dark {
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px auto 80px auto;
  /* donja marginu povećana na 80px */
  max-width: 1200px;
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px auto 45px auto;
  /* donja marginu povećana na 80px */
  max-width: 1200px;
}

.about-section-light {
  border-top: 2px solid #111;
  /* gornja crna linija */
  border-bottom: 2px solid #111;
  /* donja crna linija */
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.cards-left .card:hover {
  transform: translateY(-12px);
  background-color: rgba(255, 255, 255, 0.25);
}

html {
  scroll-behavior: smooth;
}

/* Hero sekcija */
.hero {
  position: relative;
  width: 100vw;
  height: 420px;
  overflow: hidden;
}

/* Lijeva slika */
.hero-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: url("../images/22.jpg") center / cover no-repeat;
  z-index: 0;
}

/* Desna slika */
.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("../images/11.png") center / cover no-repeat;
  z-index: 0;
}

/* Overlay */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.41);
  z-index: 1;
}

/* Tekst */
.hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}


.references {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 20px;
}

.references-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.references-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 50px;
  position: relative;
}

.references-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background-color: #1abc9c;
  /* crvena kao na zela.ba */
  display: block;
  margin: 15px auto 0;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: center;
}

.reference-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.reference-item img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}

.reference-item:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


.packaging-research {
  padding: 80px 0;
  background-color: #f8f9fb;

}

.packaging-research .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* Lijeva strana – slike */
.research-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.research-images img {
  width: 100%;
  max-width: 350px;
  max-height: 350px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Desna strana – tekst */
.research-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.research-content .intro {
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.thesis {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.thesis .number {
  font-size: 28px;
  font-weight: 700;
  color: #1abc9c;
  /* možeš promijeniti u boju brenda */
}

.thesis h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #222;
}

.thesis p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.source {
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

.source a {
  color: inherit;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .packaging-research .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .research-images {
    flex-direction: row;
  }
}

@media (max-width: 600px) {
  .research-images {
    flex-direction: column;
  }

  .research-content h2 {
    font-size: 28px;
  }
}

.about-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #1abc9c;
  /* crvena kao na zela.ba */
  display: block;
  margin: 15px auto 0;
}

.about-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 50px;
  position: relative;
}

/* MODAL STYLE */

.product-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.product-modal-content {
  background: #fff;
  width: 80%;
  max-width: 1100px;
  padding: 40px;
  border-radius: 8px;
  position: relative;
}

.modal-body {
  display: flex;
  gap: 40px;
}

.modal-image img {
  width: 450px;
  height: auto;
  border-radius: 6px;
  border: 3px solid #1abc9c;
  /* crni okvir */
  padding: 0px;
  /* mali razmak izmedju slike i bordera */
}

.modal-text {
  flex: 1;
}

.modal-text h2 {
  margin-bottom: 20px;
  text-align: center;

}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
}

.products_title::after {
  content: "";
  width: 80px;
  height: 3px;
  background-color: #1abc9c;
  /* crvena kao na zela.ba */
  display: block;
  margin: 15px auto 0;
}

.contact-title::after {
  content: "";
  width: 115px;
  height: 3px;
  background-color: #1abc9c;
  /* crvena kao na zela.ba */
  display: block;
  margin: 10px auto 0;
}
.btn-gallery {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #1abc9c; /* ili tvoja glavna boja */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-gallery:hover {
    background-color: #159c85;
}

/* ===== Quality & Innovation Section ===== */

.quality-section {
    text-align: center;
    padding: 20px 0;
    background: var(--light-bg);
}

.quality-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    color: black;
    margin-bottom: 20px;
    position: relative;
}

.quality-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
}

.quality-text {
    font-size: 18px;
    color: #333;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.quality-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.quality-gallery img {
    width: 90%;
    height: 270px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.quality-gallery img:hover {
    transform: scale(1.10);
}
/* Pozicioniranje dugmadi za jezike desno */
.language-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-switch img {
    cursor: pointer;
    border-radius: 4px;
    height: 30px;
    width: 30px;
}