body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffbe9;
  color: #3e2f1c;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff2c6;
}

.logo img {
  height: 50px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  font-weight: 600;
  color: #3e2f1c;
}


.hero {
    background: url('img/pozadi.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}


.hero h1 {
  font-family: 'Pacifico', cursive;
  font-size: 48px;
  margin-bottom: 10px;
  color: #7a5230;
}

.hero p.brown-text {
  font-size: 20px;
  color: #7a5230;
  margin-bottom: 40px;
}

.blog-box {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(62, 47, 28, 0.3);
  margin-bottom: 30px;
  text-decoration: none;
  color: #3e2f1c;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-box img {
  width: 300px;
  height: auto;
  object-fit: cover;
}

.blog-text, .text {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-text h2, .text h2 {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  margin-bottom: 15px;
  color: #7a5230;
}

.blog-text p, .text p {
  font-size: 18px;
  line-height: 1.5;
  color: #3e2f1c;
}

.text p.brown-text {
  color: #7a5230;
}

.blog-text button, .text button {
  margin-top: 20px;
  background-color: #7a5230;
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 5px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.blog-text button:hover, .text button:hover {
  background-color: #a56e43;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f8f0d7;
  color: #3e2f1c;
  font-weight: 600;
  font-size: 16px;
}

footer a {
  color: #7a5230;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.flying-bee {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  opacity: 0.8;
  pointer-events: none;
}

.fly {
  animation: flybee 4s linear forwards;
}

@keyframes flybee {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-100px) translateY(-50px);
    opacity: 1;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
}

.blog-article img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}
