.section-title {
    font-size: 2.5rem;
    color: #2a6817;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    
}
.prodph{
    height: 180px;
    cursor: pointer;
}
.product-item{
    width: 300px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.product-item:hover {
    transform: scale(1.05);
}
.product-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
}
.product-link {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.2rem;
}
.product-item-link{
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.2rem;
}
.udv {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  width: 100%;
  margin-top: 50px;
  font-size: 350%;
  box-sizing: border-box;
  height: 130px;
  color: #2a6817;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.tovabb {
  display: block;
  margin: 10px auto;
  padding: 10px 10px;
  font-size: 1.5rem;
  margin-bottom:20px;
  color: white;
  background-color: #c01d2e;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  
}
.tovabb:hover {
  background-color: #d4f2a8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.tovabb-link {
  text-decoration: none;
  color: inherit;
}

.udv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, transparent, #8bc540, transparent);
}

.szoveg,
.szoveg2 {
  margin-left: 2%;
  width: 48%;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #8bc540;
  text-align: center;
  padding: 20px;
  background-color: #e5ffc7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.szoveg:hover,
.szoveg2:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.szoveg {
  float: left;
}

.szoveg2 {
  float: right;
}

.foto1,
.foto2 {
  margin-left: 2%;
  width: 48%;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  transition: all 0.4s ease;
  object-fit: cover;
  height: 350px;
}
.foto1:hover,
.foto2:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 60px; /* Reduced padding to account for thinner fixed header */
}

@media (max-width: 768px) {
  main {
    padding-top: 140px; /* Increased padding for mobile view to prevent navbar overlap */
  }
}

/* Media query for tablets and smaller screens */
@media (max-width: 768px) {
  main {
    padding: 0 15px;
  }
}

/* Media query for screens smaller than 600px */
@media (max-width: 599px) {
  .udv {
    margin-top: 80px;
    font-size: 250%;
    height: 100px;
  }

  .szoveg,
  .szoveg2 {
    width: 100%;
    margin-left: 0;
    float: none;
    margin-bottom: 15px;
  }

  .foto1,
  .foto2 {
    width: 100%;
    margin-left: 0;
    float: none;
  }
}

/* Media query for screens smaller than 480px */
@media (max-width: 479px) {
  .udv {
    margin-top: 80px;
    font-size: 200%;
    height: 80px;
  }

  .szoveg,
  .szoveg2 {
    font-size: 1.5rem;
  }
}
