/* === Globalni stilovi === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff8fb; /* ista pozadina kao O školi */
  color: #4a1e33;
  line-height: 1.6;
}

/* === Header i navigacija === */
header {
  background: linear-gradient(135deg, #f3c0d8, #e79fc3);
  color: white;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 1.8em;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: rgba(255,255,255,0.2);
  color: #5a1236;
}

/* === Glavna sekcija (uvod) === */
.about-page {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin: 30px;
}

.about-page h2 {
  text-align: center;
  color: #a84571; /* ista boja naslova */
  margin-bottom: 25px;
}

.about-page p {
  color: #4a1e33;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* === Kartice sa smerovima === */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.smer {
  background: #fff7fa;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.smer:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.smer h3 {
  color: #a84571; /* ista boja naslova kartice */
  margin-bottom: 12px;
  font-size: 1.3em;
}

.smer p {
  color: #4a1e33;
  line-height: 1.6;
}

/* === Footer === */
footer {
  background: #e79fc3; /* ista boja footer */
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95em;
  letter-spacing: 0.3px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-top: 40px;
}

/* === Responsivnost === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  .values {
    grid-template-columns: 1fr;
  }
}