/* ======== GLOBALNI STIL ======== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  line-height: 1.8;
  background: linear-gradient(135deg, #a1976f 50%, #e5ddad 100%);
  color: #222;
}

/* ======== HEADER ======== */
/* ======== NOVI STIL ZA HEADER ======== */
.glavni-header {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 20px;
  background: linear-gradient(135deg, #145a32, #0b5345);
  background-image: url('header-pattern.png'), linear-gradient(135deg, #145a32, #0b5345);
  background-blend-mode: overlay;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 4px solid #c0a060;
  overflow: hidden;
}

/* Suptilna zlatna traka na dnu */
.glavni-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(to right, #d4af37, #fff4b0, #d4af37);
  opacity: 0.9;
}

.header-overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInDown 1.6s ease;
}

.glavni-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #fffbea;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.glavni-header p {
  font-size: 1.2rem;
  color: #f5f5dc;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.glavni-header strong {
  color: #ffd700;
}

/* Blaga animacija pri ulasku */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .glavni-header {
    padding: 70px 15px;
  }

  .glavni-header h1 {
    font-size: 1.8rem;
  }

  .glavni-header p {
    font-size: 1rem;
  }
}

/* ======== SEKCIJE ======== */
section {
  background: #f2c0c0;
  margin: 60px auto;
  padding: 50px 25px;
  border-radius: 16px;
  max-width: 1100px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

section h2 {
  text-align: center;
  color: #0b5345;
  margin-bottom: 25px;
  font-size: 1.8rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #0b5345;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* ======== KULE I TEKST ======== */
.kule-sadrzaj {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 25px;
}

.kule-slika-blok {
  flex: 1 1 350px;
  max-width: 400px;
  text-align: center;
}

.kule-slika {
  width: 100%;
  border-radius: 14px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kule-slika:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.kule-slika-blok figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}

.kule-tekst {
  flex: 2 1 500px;
  font-size: 1.05rem;
  text-align: justify;
  line-height: 1.8;
  color: #333;
}

/* ======== VIDEO BLOK ======== */
.video {
  margin-bottom: 50px;
  text-align: center;
}

.video h3 {
  color: #0b5345;
  margin-bottom: 15px;
}

video {
  width: 100%;
  max-width: 800px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.procitaj-btn {
  background: #0b5345;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.procitaj-btn:hover {
  background: #117a65;
}

/* Skriveni tekst u videima */
.skriveni-tekst {
  display: none;
  margin-top: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* ======== GALERIJA ======== */
.galerija {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.galerija img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #eee;
  transition: all 0.3s ease;
  cursor: pointer;
}

.galerija img:hover {
  transform: scale(1.05);
  border-color: #0b5345;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ======== FOND SLIKA ======== */
.fond-slika {
  text-align: center;
  margin-top: 30px;
}

.fond-slika img {
  width: 180px;
  margin-bottom: 10px;
}

/* ======== FOOTER ======== */
.glavni-footer {
  background: linear-gradient(135deg, #0b5345, #145a32);
  color: #f8f8f8;
  text-align: center;
  padding: 60px 20px 30px;
  margin-top: 80px;
  border-top: 5px solid #c0a060;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
}

.glavni-footer h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #f4f1d0;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.footer-info {
  margin-bottom: 30px;
  line-height: 1.8;
}

.footer-info p {
  margin: 5px 0;
  font-size: 1rem;
  color: #fafafa;
}

.footer-info strong {
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}

.footer-bottom span {
  color: #fff;
  font-weight: 600;
}

/* Efekat svjetlucanja na hover */
.footer-info p:hover strong {
  color: #fff4b0;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}


/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  section {
    padding: 35px 20px;
  }

  .kule-sadrzaj {
    flex-direction: column;
    align-items: center;
  }

  .kule-slika-blok,
  .kule-tekst {
    max-width: 100%;
  }

  header h1 {
    font-size: 1.7rem;
  }
}
