/* Global resets */
* {
  box-sizing: border-box;
}

body { background: var(--bg-900);
  color: var(--muted);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: #be185d;
  color: white;
  padding: 1.2rem 0;
  box-shadow: 0 4px 10px rgba(190,24,93,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 0.8;
  text-decoration: underline;
}

/* About Section */
.about-container {
  display: flex;
  gap: 3rem;
  padding: 4rem 0;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: block;
}

.about-text {
  flex: 1 1 500px;
  min-width: 280px;
}

.about-text h2 { text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
}

.about-text p.highlight {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent);
}

/* Footer */
.footer {
  background: #9d174d;
  color: #fce7f3;
  text-align: center;
  padding: 1.5rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer a {
  color: #fde2ec;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.3rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fbcfe8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    padding: 2rem 0;
  }

  .nav a {
    margin-left: 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  /* About sekcija - vertikalni raspored */
  .about-container {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem; /* malo manji razmak */
  }

  /* About slike i teksta - zauzimaju celu širinu */
  .about-image,
  .about-text {
    flex: 1 1 100%;
    min-width: auto;
  }

  /* About naslov manji na mobilnim */
  .about-text h2 { text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 2rem;
  }

  /* Margin za navigaciju */
  .nav a {
    margin-left: 1rem;
    font-size: 1rem;
  }
}

/* Još dodatno za male ekrane ispod 480px */
@media (max-width: 480px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.5rem;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    display: inline-block;
    margin-left: 0;
    margin-right: 1rem;
    font-size: 1rem;
  }

  .about-text p,
  .about-text p.highlight {
    font-size: 1rem;
  }

  .footer {
    font-size: 0.85rem;
    padding: 1rem 0.8rem;
  }
}
