/* Base styles */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  margin: 2rem;
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  text-align: center;
  margin-bottom: 2rem;
}

nav a {
  margin: 0 1rem;
}

/* Main layout */
main {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  height: 60vh;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.hero-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00bcd4;
  color: white;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #0097a7;
}

/* Blog posts */
.blog-posts {
  margin: 2rem 0;
}

.blog-posts h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.blog-posts ul {
  list-style: none;
  padding: 0;
}

.blog-posts li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #0077cc;
}

.blog-posts a {
  color: #2c3e50;
}

.blog-posts a:hover {
  color: #0077cc;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* CTA section */
.cta {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
  text-align: center;
  border: 2px solid #0077cc;
}

.cta h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.cta a {
  background: #0077cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  display: inline-block;
}

.cta a:hover {
  background: #005fa3;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0077cc;
}

footer a:hover {
  text-decoration: underline;
}

/* Typography for articles */
article h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 2rem;
 line-height: 1.3;
}

article h2 {
  color: #34495e;
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
 line-height: 1.3;

}
article p {
  font-size: 1.125rem; /* oko 18px */
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

article ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

article li {
  margin-bottom: 0.5rem;
}

hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #eee;
}

article {
  background-color: 
#eaf6ff; /* svijetlo plava */
  padding: 2rem;
  border-radius: 8px;
}


/* Responsive design */
@media (max-width: 600px) {
  body {
    margin: 1rem;
    font-size: 16px;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .hero-text h2 {
    font-size: 1.4em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .hero-button {
    padding: 8px 16px;
    font-size: 0.9em;
  }

  .blog-posts li {
    padding: 0.75rem;
  }

  .cta {
    padding: 1rem;
  }
}
