*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night:      #09090B;
  --deep:       #111318;
  --forest-dk:  #111318;
  --forest:     #1E2025;
  --forest-lt:  #3FA060;
  --meadow:     #3FA060;
  --gold:       #5FB0CE;
  --red:        #2E86AB;
  --cream:      #F5EFE6;
  --text:       #1A1814;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(6,14,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(63,160,96,0.25);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--meadow);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: #ddeedd; text-decoration: none; font-size: .9rem;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  position: relative; padding-bottom: 4px; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--meadow); transition: width .3s;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--meadow); }
.nav-links a:hover::after,
.nav-links a.nav-active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-social { color: rgba(200,240,220,.5); font-size: 1.1rem; transition: color .2s; text-decoration: none; }
.nav-social:hover { color: var(--meadow); }
.lang-toggle {
  background: rgba(63,160,96,.15); border: 1px solid rgba(63,160,96,.4);
  color: var(--meadow); font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  padding: 5px 13px; border-radius: 50px; cursor: pointer; transition: background .2s;
}
.lang-toggle:hover { background: rgba(63,160,96,.3); }

/* ─── HERO ─── */
#hero-rozaje {
  min-height: 100vh;
  background:
    linear-gradient(180deg,
      rgba(6,12,20,0.68) 0%,
      rgba(6,12,20,0.42) 40%,
      rgba(6,12,20,0.75) 100%),
    url('../images/rozaje/rozaje-zima-hero.webp') center 55% / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding-top: 80px;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(63,160,96,0.07) 0%, transparent 70%);
}
.hero-rz-content {
  position: relative; z-index: 2; text-align: center; padding: 0 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(9,9,11,0.45); backdrop-filter: blur(10px);
  border: 1px solid rgba(63,160,96,.55);
  color: #7de0a8; font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 24px; border-radius: 50px; margin-bottom: 32px;
  animation: fadeDown .8s ease both;
}
.hero-rz-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: #fff;
  animation: fadeDown .9s .1s ease both;
  text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 6px 28px rgba(0,0,0,.7);
}
.hero-rz-title .accent { color: var(--meadow); display: block; }
.hero-rz-sub {
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  color: rgba(255,255,255,.85); max-width: 520px; margin: 22px auto 0;
  line-height: 1.9; font-weight: 300; letter-spacing: .03em;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
  animation: fadeDown 1s .25s ease both;
}
.hero-rz-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid rgba(63,160,96,.45);
  border-bottom: 2px solid rgba(63,160,96,.45);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform:rotate(45deg) translateY(0); } 50% { transform:rotate(45deg) translateY(7px); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-22px); } to { opacity:1; transform:translateY(0); } }

/* ─── QUICK FACTS ─── */
#quick-facts {
  background: linear-gradient(180deg, var(--forest-dk) 0%, #0D2232 100%);
  padding: 70px 60px;
}
.facts-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.fact-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(63,160,96,.14);
  border-radius: 20px; padding: 38px 28px; text-align: center;
  transition: transform .35s, box-shadow .35s;
}
.fact-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(0,0,0,.35); }
.fact-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 18px;
  background: rgba(63,160,96,.12); border: 1.5px solid rgba(63,160,96,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--meadow); font-size: 1.2rem;
}
.fact-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800; color: var(--meadow); margin-bottom: 8px;
}
.fact-label { font-size: .8rem; color: rgba(200,240,220,.5); text-transform: uppercase; letter-spacing: .1em; }

/* ─── INTRO ─── */
#intro { background: var(--cream); padding: 100px 60px; }
.intro-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--forest-lt); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); line-height: 1.15;
  margin-bottom: 26px;
}
.section-title.white { color: #fff; }
.accent-txt { color: var(--meadow); }
.intro-text p {
  font-size: .95rem; color: #4A6A55; line-height: 1.85; margin-bottom: 18px;
}
.intro-img-wrap { position: relative; }
.intro-img-main {
  width: 100%; border-radius: 22px; object-fit: cover;
  height: 360px; display: block;
  box-shadow: 0 12px 48px rgba(20,18,14,.18);
}
.intro-img-sm {
  position: absolute; bottom: -28px; right: -24px;
  width: 58%; border-radius: 16px; object-fit: cover; height: 210px;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 32px rgba(20,18,14,.22);
  object-position: center 40%;
}

/* ─── HISTORY ─── */
#historija {
  background: var(--cream);
  padding: 100px 60px 110px;
  position: relative; overflow: hidden;
  border-top: 1px solid #D8EFDF;
}
.section-bg-mountains {
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none; z-index: 0;
}
.section-bg-mountains svg { display: block; width: 100%; }
#historija > *:not(.section-bg-mountains) { position: relative; z-index: 1; }

.hist-header { text-align: center; margin-bottom: 64px; max-width: 600px; margin-left: auto; margin-right: auto; }

.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--meadow) 0%, rgba(63,160,96,.1) 100%);
}
.tl-item { position: relative; margin-bottom: 52px; }
.tl-dot {
  position: absolute; left: -28px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--meadow); border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(63,160,96,.3);
}
.tl-year {
  font-size: .78rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--meadow); margin-bottom: 8px;
}
.tl-card {
  background: #fff; border-radius: 18px; padding: 28px 30px;
  box-shadow: 0 4px 24px rgba(20,18,14,.08);
  border-left: 3px solid rgba(63,160,96,.35);
  transition: transform .3s, box-shadow .3s;
}
.tl-card:hover { transform: translateX(4px); box-shadow: 0 8px 36px rgba(20,18,14,.14); }
.tl-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 12px;
}
.tl-card p { font-size: .9rem; color: #4A6A55; line-height: 1.75; }

/* ─── GALLERY ─── */
#galerija {
  background: linear-gradient(180deg, var(--forest-dk) 0%, #0D2232 100%);
  padding: 100px 60px;
}
#galerija .section-label { color: var(--meadow); }
#galerija .section-title { color: #fff; }
.gal-header { text-align: center; margin-bottom: 52px; }
.gal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.gal-item {
  position: relative; overflow: hidden; border-radius: 18px; cursor: pointer;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s; display: block;
}
.gal-item:hover img { transform: scale(1.07); }
.gal-large { grid-row: span 2; }
.gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(6,12,20,.82) 0%, transparent 100%);
  color: rgba(200,240,220,.85); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }

/* ─── NATURE / TURIZAM ─── */
#priroda {
  background: linear-gradient(180deg, #0D0E12 0%, #111318 50%, #1A1814 100%);
  padding: 100px 60px;
}
.priroda-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.priroda-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.priroda-imgs img {
  width: 100%; border-radius: 16px; object-fit: cover;
  transition: transform .4s; cursor: pointer;
}
.priroda-imgs img:first-child { height: 320px; grid-column: span 2; }
.priroda-imgs img:last-child { display: none; }
.priroda-text .section-label { color: var(--meadow); }
.priroda-text p {
  margin-top: 20px; color: rgba(200,240,210,.62);
  line-height: 1.85; max-width: 480px; font-size: .95rem;
}
.priroda-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  background: rgba(63,160,96,.1); border: 1px solid rgba(63,160,96,.3);
  color: var(--meadow);
}

/* ─── CTA STRIP ─── */
#cta-strip {
  background: var(--cream); padding: 90px 60px;
  text-align: center; border-top: 1px solid #D8EFDF;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 16px;
}
#cta-strip p { font-size: .97rem; color: #4A6A55; line-height: 1.75; margin-bottom: 38px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  padding: 15px 36px; border-radius: 50px;
  font-size: .95rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  display: inline-flex; align-items: center; gap: 8px;
  border: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.btn-primary { background: linear-gradient(135deg, var(--forest-lt), #0B7B6D); color: #fff; }
.btn-outline {
  background: transparent; backdrop-filter: blur(12px);
  border: 2px solid rgba(63,160,96,.55); color: var(--meadow);
  letter-spacing: .04em;
}

/* ─── FOOTER ─── */
footer {
  background: var(--night);
  padding: 60px 60px 28px;
  color: rgba(200,240,220,.4);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; line-height: 1.75; }
.footer-links { flex: 1; display: flex; justify-content: center; }
.footer-links ul {
  list-style: none; display: flex; flex-direction: row;
  gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  color: rgba(200,240,220,.5); font-size: .9rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color .3s;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--meadow); transition: width .3s;
}
.footer-links a:hover { color: var(--meadow); }
.footer-links a:hover::after { width: 100%; }
.footer-bottom {
  border-top: 1px solid rgba(63,160,96,.08);
  padding-top: 26px; text-align: center; font-size: .78rem;
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(63,160,96,.08); border: 1px solid rgba(63,160,96,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(200,240,220,.45); font-size: .95rem;
  transition: background .2s, color .2s; text-decoration: none;
}
.footer-social a:hover { background: rgba(63,160,96,.22); color: var(--meadow); }

/* ─── LANG ─── */
html.en .t-bs { display: none !important; }
html.bs .t-en { display: none !important; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .intro-img-sm { display: none; }
  .intro-img-main { height: 300px; }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gal-large { grid-column: span 2; height: 300px; }
  .gal-item { height: 200px; }
}
@media (max-width: 900px) {
  nav { padding: 16px 22px; }
  .nav-links { gap: 18px; }
  #quick-facts { padding: 60px 22px; }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  #intro { padding: 80px 22px 100px; }
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-wrap { display: none; }
  #historija { padding: 80px 22px; }
  .timeline { padding-left: 28px; }
  #galerija { padding: 80px 22px; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .gal-large { grid-column: span 2; }
  #priroda { padding: 80px 22px; }
  .priroda-inner { grid-template-columns: 1fr; gap: 40px; }
  #cta-strip { padding: 70px 22px; }
  footer { padding: 40px 22px 24px; }
}
@media (max-width: 600px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-large { grid-column: span 1; }
  .gal-item { height: 220px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-links ul { flex-direction: column; align-items: center; gap: 14px; }
}
