/* =====================
   OSNOVNO
===================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #e7fbe8, #9fe2b3);
  color: #0b3d2e;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =====================
   HEADER
===================== */
header {
  background: linear-gradient(90deg, #0b3d2e, #1f6f4a);
  padding: 30px;
  text-align: center;
  color: white;
  letter-spacing: 2px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* =====================
   NAVBAR
===================== */
nav {
  background: #1f6f4a;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  padding: 15px 25px;
  position: relative;
  transition: background 0.3s;
}

nav ul li:hover {
  background: #9fe2b3;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

/* podčrta */
nav ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: #e7fbe8;
  transition: width 0.3s;
}

nav ul li:hover::after {
  width: 100%;
}

/* aktivna stran */
nav ul li.active {
  background: #9fe2b3;
}

nav ul li.active a {
  color: #0b3d2e;
}

/* =====================
   POSTAVITEV
===================== */
.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 30px;
  max-width: 1000px;
  margin: auto;
}

/* =====================
   VSEBINA
===================== */
.content {
  background: rgba(255,255,255,0.8);
  padding: 25px;
  border-radius: 12px;
  animation: slideUp 0.9s ease;
}

@keyframes slideUp {
  from { transform: translateY(25px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.content ul {
  padding-left: 20px;
}

/* =====================
   GALERIJA
===================== */
.gallery img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: fadeInImage 1.2s ease;
  transition: transform 0.4s, box-shadow 0.4s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

@keyframes fadeInImage {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =====================
   GUMB
===================== */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #1f6f4a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  background: #9fe2b3;
  color: #0b3d2e;
  transform: translateY(-3px);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
}
