:root{
  --bg: #0d1f16;
  --bg-elev: #11261b;
  --primary: #2fbf71;
  --primary-600:#28a863;
  --primary-700:#1e8d54;
  --accent:#9be4b9;
  --text:#e8f5ee;
  --muted:#b7d2c3;
  --card:#142a20;
  --shadow: 0 10px 30px rgba(22, 163, 74, 0.20);
}

/* Global reset & basics */
*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% -10%, #184030 0%, var(--bg) 40%) fixed,
              linear-gradient(180deg, #0b1a13, var(--bg));
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* Container */
.container{
  width:min(1100px, 92vw);
  margin-inline:auto;
}

/* Navigation */
.navbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  border-bottom: 1px solid #1c3a2b;
}
.navbar .inner{
  display:flex; align-items:center; justify-content:center; gap:28px;
  padding:16px 0;
}
.navbar a{
  text-decoration:none;
  color:var(--muted);
  letter-spacing:.04em;
  font-weight:600;
  padding:10px 14px;
  border-radius:14px;
  position:relative;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.navbar a:hover{
  color:var(--text);
  background: #183c2c;
  transform: translateY(-1px);
}
.navbar a.active{
  color:var(--bg);
  background: var(--primary);
  box-shadow: var(--shadow);
}

/* Hero */
.hero{
  text-align:center;
  padding: clamp(36px, 10vw, 84px) 0 24px;
}
.hero h1{
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size: clamp(28px, 6vw, 56px);
  margin:0 0 8px 0;
}
.hero p{
  margin:6px 0 0 0;
  font-size: clamp(16px, 2.4vw, 22px);
  color:var(--accent);
}

/* Video */
.video-wrap{
  display:flex; justify-content:center;
  padding: 24px 0 40px;
}
.video-card{
  width:min(900px, 92vw);
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border:1px solid #1e3b2c;
  opacity:0; transform: translateY(16px);
  transition: all .6s ease;
}
.video-card.appear{
  opacity:1; transform: translateY(0);
}
.video-card video{ width:100%; display:block; background:#000; }

/* Gallery */
.gallery{
  padding: 8px 0 60px;
}
.gallery-grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(4, 1fr);
}
.gallery-grid img{
  width:100%; height:220px; object-fit:cover;
  border-radius:18px;
  border:1px solid #1e3b2c;
  box-shadow: var(--shadow);
  display:block;
}
@media (max-width: 1024px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-grid img{ height: 200px; }
}

/* Sections on contact */
.section{
  padding: 34px 0;
}
.section h2{
  margin:0 0 14px 0;
  font-size: clamp(20px, 3.4vw, 28px);
}
.info-line{
  font-size: 18px;
  color: var(--accent);
}

/* Map */
.map-embed{
  width:100%;
  height: 350px;
  border:0;
  border-radius:18px;
  box-shadow: var(--shadow);
  border:1px solid #1e3b2c;
}

/* Form */
.form{
  margin-top: 18px;
  background: var(--card);
  border:1px solid #1e3b2c;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.form-grid{
  display:grid; gap:16px;
  grid-template-columns: repeat(2, 1fr);
}
.form-group{
  display:flex; flex-direction:column; gap:8px;
}
.form-group.full{ grid-column: 1 / -1; }
label { color: var(--muted); font-size:14px;  font-weight:800; }
input, textarea{
  background: #0f2119;
  color: var(--text);
  border:1px solid #1e3b2c;
  border-radius:14px;
  padding:14px 14px;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}
textarea{
  min-height: 160px;
  resize: vertical;
}
button.primary{
  appearance:none;
  border:0;
  background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #072013;
  font-weight:800;
  letter-spacing:.04em;
  padding:14px 20px;
  border-radius:14px;
  cursor:pointer;
  box-shadow: var(--shadow);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
button.primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(47, 191, 113, .28);
}

/* Footer */
footer{
  margin-top:auto;
  padding: 18px 0;
  border-top:1px solid #1c3a2b;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  color: var(--muted);
  font-size:14px;
}
footer .inner{
  display:flex; align-items:center; justify-content:center;
}

/* Back to top arrow */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 80px; /* above footer */
  width: 46px; height: 46px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid #1e3b2c;
  background: #103421;
  color: var(--text);
  cursor:pointer;
  box-shadow: var(--shadow);
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: all .25s ease;
  z-index:60;
}
.back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.back-to-top:hover{ background: #134029; }
/* slow-motion green gradient text (darker greens) */
.slow-gradient{
  background: linear-gradient(90deg, #15803d, #166534, #16a34a, #15803d);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 18s linear infinite;
}
@keyframes gradientShift{
  0%{ background-position: 0% 50% }
  100%{ background-position: 300% 50% }
}
  100%{ background-position: 300% 50% }
}


/* utility: force white text */
.text-white{ color:#ffffff !important; }


/* smaller title variant for contact page */
.smaller-title{ font-size: clamp(18px, 3.6vw, 26px) !important; font-weight:700; }


/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border:1px solid #1e3b2c;
  background: var(--card);
}
.slide { display: none; }
.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display:block;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 9999px;
  background: rgba(0,0,0,.22);
  user-select: none;
  opacity: .55;
  transition: opacity .2s ease, background .2s ease;
}
.next { right: 10px; }
.prev { left: 10px; }
.prev:hover, .next:hover{ opacity: .9; background: rgba(0,0,0,.3); }
.next { right: 12px; }
.prev { left: 12px; }
.dots-container { margin-top: 14px; }
.dot {
  cursor: pointer;
  height: 10px; width: 10px;
  margin: 0 4px;
  background-color: #7a8c82;
  border-radius: 50%;
  display: inline-block;
  transition: background-color .25s;
}
.active-dot { background-color: var(--primary); }


/* Article style for O nama text */
.article-style p {
  font-weight:300;
  line-height:1.9;
  font-size: 17px;
  text-align: justify;
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border:1px solid #1e3b2c;
}

/* Softer slideshow arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 9999px;
  background: rgba(0,0,0,.22);
  user-select: none;
  opacity: .55;
  transition: opacity .2s ease, background .2s ease;
}
.next { right: 10px; }
.prev { left: 10px; }
.prev:hover, .next:hover{ opacity: .9; background: rgba(0,0,0,.3); }
.prev:hover, .next:hover {
  background: rgba(0,0,0,.35) !important;
  opacity: 1;
}


/* Soft title for About page */
.soft-title{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight:300;
  letter-spacing:.02em;
  text-transform:none;
  font-size: clamp(28px, 6vw, 42px);
  color: var(--text);
  opacity:.95;
}

/* Article styling */
.article{
  max-width: 900px;
  margin-inline:auto;
  line-height: 1.95;
  font-weight:300;
  color: var(--text);
}
.article p{ margin: 0 0 14px 0; }
.article p:first-child::first-letter{
  font-size: 2.6em;
  line-height: 1;
  float:left;
  padding-right:10px;
  font-weight:600;
  color: var(--accent);
}

/* Dots container spacing below slideshow */
.dots-container{ text-align:center; margin-bottom: 18px; }


.article.compact{ line-height:1.2; font-size:17px; font-weight:400; white-space:pre-line; text-align:justify; }


/* Fade-in animation for article paragraphs */
.fade-in{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
.fade-in.visible{
  opacity:1;
  transform: translateY(0);
}


/* Reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show{ opacity:1; transform:none; }


.green-section{
  background: var(--card);
  border:1px solid #1e3b2c;
  border-radius:18px;
  padding: 24px 20px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}


/* Custom heading između h1 i h2 */
.custom-heading {
  font-size: clamp(26px, 5vw, 38px); /* između h1 i h2 */
  font-weight: 700;
  text-align: center; /* ako želiš centrirano */
}