/* ===== Főoldal ===== */

/* ----- hero ----- */
.hero {
  height: 875px;
  background: url('../img/front2.jpg') center / cover no-repeat;
}

.hero-content {
  text-align: center;
  padding-top: 360px;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
}

.hero-content h2 {
  color: #fff;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero {
    height: 600px;
  }
  .hero-content {
    padding-top: 160px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero {
    height: 500px;
  }
  .hero-content {
    padding-top: 100px;
  }
  .hero-content h1 {
    font-size: 45px;
  }
  .hero-content h2 {
    font-size: 25px;
  }
}

@media (max-width: 639px) {
  .hero {
    height: 400px;
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content h2 {
    font-size: 20px;
  }
}

/* ----- services ----- */
.services-section {
  background: url('../img/bg_szolgaltatasok.jpg') center / cover no-repeat;
}

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
}

.services-title {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  font-size: 44px; /* h2, de h1 méretben, mint korábban */
}

.service a,
.service a:hover,
.service a:focus,
.service a:visited,
.service a:active {
  color: #00aeef;
}

.service h3 a::before {
  display: inline-block;
  font: normal normal normal 30px/1 FontAwesome;
  color: #007aa8;
  vertical-align: sub;
  margin-right: 10px;
}

.service--ac h3 a::before       { content: "\f021"; }
.service--cooling h3 a::before  { content: "\f2dc"; }
.service--heatpump h3 a::before { content: "\f085"; }
.service--recovery h3 a::before { content: "\f074"; }

@media (min-width: 640px) and (max-width: 1199px) {
  .services-title {
    margin-top: 80px;
  }
}

@media (max-width: 1023px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .services {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
}
