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

body {
  background-color: #fff8fb;
  color: #4a1e33;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* === Navigacija === */
.header {
  background: linear-gradient(135deg, #f3c0d8, #e79fc3);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #5a1236;
}

/* === Hero sekcija === */
.hero {
  background: linear-gradient(135deg, #f9d6e6, #f4b9d2);
  color: #5a1236;
  text-align: center;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  font-size: 1.2em;
}

.small-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7cfe3, #fbe1f0);
  color: #5a1236;
}

/* === Sekcije === */
.section {
  padding: 70px 0;
}

.section h2 {
  color: #a84571;
  margin-bottom: 20px;
  font-size: 2em;
  text-align: center;
}

/* === Dugmad === */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #e07bad, #d05084);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d05084, #e07bad);
  transform: translateY(-2px);
}

/* === Sekcija o školi === */
.about-page {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin-top: 30px;
}

.about-page h2 {
  text-align: center;
  color: #a84571;
  margin-bottom: 25px;
}

.about-page h3 {
  color: #a84571;
  margin-top: 30px;
  margin-bottom: 10px;
}

.about-page p {
  color: #4a1e33;
  margin-bottom: 15px;
  text-align: justify;
}

.values {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 30px 0;
}

.values li {
  margin-bottom: 8px;
  color: #5c2945;
  font-weight: 500;
  padding-left: 10px;
}

/* === Galerija === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0 35px 0;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* === Kontakt stranica === */
.contact-page {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin-top: 30px;
}

.contact-page h2 {
  color: #a84571;
  text-align: center;
  margin-bottom: 15px;
}

.contact-page p {
  text-align: center;
  color: #4a1e33;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.contact-form {
  background: #fff7fa;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #70284d;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #f0b9ce;
  border-radius: 8px;
  background: #fff;
  transition: 0.3s;
  font-size: 0.95em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d66b9a;
  outline: none;
  background: #fffdfd;
}

.contact-info {
  background: #fff7fa;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
  color: #a84571;
  margin-top: 20px;
  margin-bottom: 8px;
}

.contact-info p,
.contact-info a {
  color: #5c2945;
  line-height: 1.6;
}

.contact-info a {
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: #c44f83;
  text-decoration: underline;
}

.map-container {
  margin-top: 50px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

/* === Responsivnost === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .section h2 {
    font-size: 1.6em;
  }

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

  .gallery img {
    height: 180px;
  }
}