

.hero {
  margin-top: 120px;
  padding: 60px 8%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
    justify-content: center;

}


.hero-content {
  max-width: 560px;
}

@import url('https://fonts.googleapis.com/css2?family=Whisper&display=swap');

.hero h1 {
  font-family: 'Whisper', cursive;
  font-size: 90px;
  font-weight: 400;
  line-height: 1.1;
  color: #3a342d;
}


.hero p {
  margin-top: 16px;
  font-size: 19px;
  color: #5a5248;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

.hero-btn {
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 17px;
  transition: 0.3s ease;
  text-decoration: none;
}

.primary {
  background: #4e4339;
  color: white;
}
.primary:hover {
  background: #3d352d;
}

.secondary {
  border: 2px solid #4e4339;
  color: #4e4339;
}
.secondary:hover {
  background: #4e4339;
  color: white;
}

.hero-image img {
  width: 460px;
  border-radius: 18px;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .hero-image {
    order: -1; /* přesune obrázek před h1 */
    margin-bottom: 10px; /* malý odstup od h1, můžeš upravit */
  }
  
  .hero-image img {
    width: 90%;        /* zmenšíme obrázek */
    max-width: 280px;  /* menší než předtím */
    transform: translateY(-10px); /* posun nahoru */
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero h1 { 
    font-size: 70px; 
  }
}
