:root {
  --bg: #fff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --brand: #0b7d69;
  --brand-2: #e6f3f0;
  --border: #e5e7eb;
  --card: #ffffff;
  --sand: #faf7f2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Noto Sans', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

body {
  background: linear-gradient(180deg, #d2efe7, #ffffff);
}



/* HEADINGS */
h1, h2, h3, h4 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  margin-top: 0;
}
h1 { line-height: 1.1; font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: 2rem; margin-bottom: 0.6em; }
h3 { font-size: 1.4rem; margin-bottom: .6em; color: var(--brand); }
h4 { margin-top: 1em; margin-bottom: .4em; font-size: 1.1rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: saturate(160%) blur(10px);
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.3rem;
}
.brand .logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: contain;
}
.nav .links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}

.btn {
  padding: 10px 18px;
  background: var(--brand);
  color: white;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover { background: #09977f; transform: translateY(-2px); }

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flag {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, border .2s ease;
}
.flag:hover { transform: scale(1.1); }
.flag.active { border: 2px solid var(--brand); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 80px 0;
}
.hero .copy { padding: 16px 0; }
.eyebrow {
  display: inline-block;
  background: var(--brand-2);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 14px;
}
.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 700px;
}
.hero .media {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 480px;
  height: 100%;
  transform: scale(1);
  transition: transform 0.5s ease;
}
.hero .media:hover { transform: scale(1.03); }
.hero .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* SECTION LAYOUT */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.1);
}

/* FEATURES ROW */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 18px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.05);
}
.feature .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand);
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(255,255,255,.2);
}
.lightbox .close,
.lightbox .arrow {
  position: absolute;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 16px;
  transition: opacity .2s ease;
}
.lightbox .close { top: 20px; right: 28px; }
.lightbox .arrow { top: 50%; transform: translateY(-50%); }
#prevBtn { left: 20px; }
#nextBtn { right: 20px; }
.lightbox button:hover { opacity: 0.7; }

/* MAPA & KONTAKT */
.mapwrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
iframe { display: block; width: 100%; height: 380px; border: 0; }
.cta {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  margin-top: 22px;
}
form { display: grid; gap: 12px; }
input, textarea {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 1rem;
}
button {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s ease;
}
button:hover { background: #09977f; }

/* FOOTER */
footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding: 60px 0; }
  .cta { grid-template-columns: 1fr; }
  .nav .links { display: none; }
  .brand .logo { width: 42px; height: 42px; }
}

html {
  scroll-behavior: smooth;
}

/* ===================== */
/* 📱 MOBILNA PRILAGODBA */
/* ===================== */

@media (max-width: 768px) {
  html, body {
    font-size: 16px;
    line-height: 1.6;
  }

  header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    padding: 8px 0;
  }

  /* Brand i logo */
  .brand span {
    font-size: 1.1rem;
  }
  .brand .logo {
    width: 40px;
    height: 40px;
  }

  /* Navigacija */
  .nav .links {
    display: none; /* sakrij linkove na mobitelu */
  }

  /* Hero sekcija */
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 60px 0;
  }
  .hero .copy {
    padding: 0 8px;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .media {
    min-height: 280px;
    border-radius: 16px;
  }

  /* Sekcije */
  section {
    padding: 60px 0;
  }
  .section-title h2 {
    font-size: 1.6rem;
  }

  /* Grid sustav */
  .grid {
    display: flex;
    flex-direction: column;
  }
  .card {
    padding: 20px;
  }

  /* Galerije */
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  .gallery img {
    height: 160px;
  }

  /* Kontakt */
  .cta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  iframe {
    height: 300px;
  }

  /* Features */
  .features-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature {
    padding: 10px;
    font-size: 0.9rem;
  }
  .feature .ico {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  /* Lightbox */
  .lightbox img {
    max-width: 90vw;
    max-height: 70vh;
  }

  /* Footer */
  footer {
    font-size: 0.85rem;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .feature {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-row {
    grid-template-columns: 1fr;
  }
  .gallery img {
    height: 140px;
  }
}
