
article {
    background: ;
}

.hero {
    background-image: url(../img/top.jpg);
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 100px;
    height: 600px; 
    display: flex;
    align-items: center;     
    justify-content: center; 
}

.pole-light {
    background-color: #ffffff;
        background-attachment: scroll;
    background-position: center;
    background-size: cover;
   /* background: linear-gradient(to top, #ffffff, #d9e9ff); */
    padding-bottom: 0px;
    padding-top: 0px;
}

.pole-color {
    /*background-color: #5654d8;*/
    /*background: linear-gradient(to bottom, #ffffff, #f9fbff);*/
    background-image: url(../img/pole.jpg);
    padding-bottom: 140px;
    padding-top: 70px;
}

.pole-site {
    background-color: #2c70ee;
    padding-bottom: 70px;
    padding-top: 70px;
}

.pole-site2 {
    background: linear-gradient(to left, #bdeaff, #ebf9ff, #ffffff);
    padding-bottom: 70px;
    padding-top: 70px;
}

.pole-color2 {
    /*background: linear-gradient(to bottom, #ffffff, #f9fbff);*/
    background-image: url(../img/pedologie.jpg);
    padding-bottom: 70px;
    padding-top: 70px;
}

.pole1 {
    padding-top: 0px;
    padding-bottom: 70px;
}

.pole2 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.cell {
  background-color: #ffffff;
  border-radius: 40px 0 40px 0;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;   /* vycentrování v sloupci */
  padding: 30px;
}

.cell2 {
  background-color: #ffffff;
  text-align: center;
  max-width: 300px;
  width: 300px;
  margin: 0 auto;   /* vycentrování v sloupci */
  padding: 30px;
  height: 100%;   /* klíčové */
}

.cell3 {
  background-color: #ffffff;
  text-align: left;
  max-width: 100%;
  width: 600px;

  /* overlap do obrázku */
  margin: 0 auto 0 -80px;   /* ⬅️ zasahuje doleva */

  padding: 40px;
  height: 100%;

  position: relative;
   top: -20px;
  z-index: 2;               /* nad obrázkem */
}

.cell4 {
  background-color: #ffffff;
  text-align: left;
  margin: 0 auto;   /* vycentrování v sloupci */
  padding-top: 50px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 767px) {
  .cell3 {
    width: 85%;
    margin: -100px auto 0;
    background: #fff;
    position: relative;
    z-index: 2;
  }
}



.box {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-height: 160px;
    display: flex;
    flex-direction: column;   /* ikona nad text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    font-weight: 1000;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative; 
}

.box::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    background-color: #2c70ee;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box:hover::after {
    opacity: 1;
}

.box-icon {
    width: 40px;
    height: 40px;
    display: block;
}


.box2 {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    padding: 40px;
    border-radius: 10px;

    height: 100%;
    display: flex;
    align-items: flex-start;   /* ⬅️ důležité */
    justify-content: center;
    text-align: center;
}

.box2 .text-m {
    position: relative;
    padding: 20px 0;           /* prostor pro linky */
}

/* horní linka */
.box2 .text-m::before {
    content: "";
    display: block;
    border-radius: 10px;
    width: 100px;
    height: 5px;
    background-color: #d26b22; /* barvu si změň */
    margin: 0 auto 20px auto;
}

/* dolní linka */
.box2 .text-m::after {
    content: "";
    display: block;
    border-radius: 10px;
    width: 100px;
    height: 5px;
    background-color: #d26b22;
    margin: 20px auto 0 auto;
}







footer {
    background: #080f18;
    padding-bottom: 50px;
    padding-top: 50px;
}

.footer2 {
    background: #0b0b0c;
    padding-bottom: 0px;
    padding-top: 0px;
    text-align: center;
}

.textpole {
    background: linear-gradient(to top, #ffffff, #ceecff); 
    border-radius: 30px;
    color: #ffffff;

    text-align: center;
    text-decoration: none;
    display: inline-block;
}