:root {
  --meg-red: #541516;
  --meg-black: #1e1b1c;
}

html {
  background-color: black;
  font-family: "Config Condensed", sans-serif;
}

.clearfix {
  padding-left: 120px;
  padding-right: 120px;
}

@media (max-width: 992px) {
  .clearfix {
    padding-left: 20px;
    padding-right: 20px;
  }
}

header,
header.scrolled {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

header {
  background-color: var(--meg-black);
  transition: all 0.3s ease;
  z-index: 999;
  padding-top: 10px;
  padding-bottom: 10px;
}

header.scrolled {
  background-color: #555;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo img {
  height: 100px;
  width: auto;
}

header.scrolled .logo img {
  height: 90px;
  width: auto;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
}

nav .nav-link,
header.scrolled nav .nav-link {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

nav .nav-link {
  font-size: 18px;
}

header.scrolled nav .nav-link {
  font-size: 18px;
}

nav .nav-link:hover,
nav .nav-link:active {
  color: var(--meg-red);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
}

/* Mobilbarát stílusok */
@media (max-width: 992px) {
  nav {
    display: none; /* Navigáció elrejtése kisebb kijelzőn */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  nav.show {
    display: flex; /* Menü megjelenítése kattintásra */
  }

  .nav-hamburger {
    display: flex;
  }

  .logo img {
    height: 80px;
    width: auto;
  }

  header.scrolled .logo img {
    height: 70px;
    width: auto;
  }
}

.welcome {
  background-color: var(--meg-red);
  overflow: visible;
  position: relative;
  padding-bottom: 2%;
}

.welcome .team-picture {
  width: 100%;
  height: auto;
}

.welcome .horizontal-icons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  z-index: 10;
  position: absolute;
  bottom: -5%;
  width: 88%
}

.horizontal-icons .icon {
  width: 7vw;
  height: 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 100%;
}

.horizontal-icons .icon img {
  width: 3vw;
  height: 3vw;
  filter: invert(1);
}

.services {
  background-color: white;
  padding-top: 50px;
}

.services .services-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding-top: 50px;
  padding-bottom: 100px;
}

.services-list .service {
  background-color: var(--meg-red);
  transition: background-color 0.2s ease;
  width: 450px;
  height: 100px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 20px 0 10px;
  color: white;
}

.service .icon {
  height: 75px;
  width: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
}

.service .icon img {
  width: 40px;
  height: 40px;
}

.service .service-details {
  margin-left: 10px;
  width: 60%;
}

.service .service-name {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.service .service-desc {
  font-size: 18px;
}

.about-us {
  display: flex;
  justify-content: space-between;
  color: white;
  padding-top: 30px;
  padding-bottom: 70px;
  background-image: url("/assets/martin_gyorgy.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: darken;

  margin-top: 50px;
}

@media (max-width: 992px) {
    .about-us{
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

.about-us h2 {
  padding-top: 0;
}

.about-us-text {
  width: 35%
}

@media (max-width: 992px) {
  .about-us-text {
    width: 100%
  }
}

.about-us-text p {
  text-transform: uppercase;
  font-weight: 350;
  font-size: 20px;
}

.promo video {
  width: 100%;
  height: 300px;
}

.team {
  display: flex;
  align-items: center;
  background-color: lightgrey;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: auto;
}

.swiper-button-next,
.swiper-button-prev {
  top: auto;
  color: gray;
}

.swiper-button-prev{
  padding-left: 120px;
}

.swiper-button-next{
  padding-right: 120px;
}

@media (max-width: 992px) {
  .swiper-button-prev{
    padding-left: 20px;
  }
  
  .swiper-button-next{
    padding-right: 20px;
  }
}

.team .person {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person .person-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: white;
  overflow: hidden;
}

.person-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}

.person p {
  margin: 0;
}

.person .person-name {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  width: 100px;
  text-align: center;
  margin: 20px 0 3px 0;
}

.person .person-title {
  font-size: 17px;
  margin: 0;
}

.key-qualities {
  background-color: white;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.key-qualities .quality {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: white;
  background-color: var(--meg-red);
  background-image: linear-gradient(to bottom right, #780201, #450d09);
  width: 30vwpx;
  padding: 50px;
  clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
}

.quality img {
  filter: invert(1);
  width: 80px;
  height: 80px;
}

.quality .quality-name {
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  margin-top: 10px;
}

.quality .quality-desc {
  font-size: 20px;
  font-weight: 450;
  margin-top: 0px;
  text-align: center;
}

.referencies {
  color: white;
  height: 800px;
}

.partners {
  background-color: white;
  height: 600px;
}

.contact {
  background-color: white;
  border-top: 2px solid black;
}

.contact h3 {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
  margin-top: 60px;
  margin-bottom: 10px;
}

.contact .contact-methods {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.contact-methods .method {
  display: flex;
  padding-right: 20px;
}

.method img {
  width: 25px;
  padding-right: 5px;
}

.method .method-name {
  font-size: 18px;
  font-weight: 400;
}

.method img {
  width: 25px;
  padding-right: 5px;
}

.contact {
  padding-bottom: 80px;
}

.contact .contact-form {
  background-color: var(--meg-red);
  padding-bottom: 50px;

  color: white;
  padding: 50px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

form .form-row {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  gap: 50px;
}

@media (max-width: 992px) {
  form .form-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 20px;
  }
}

form .form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 10px;
  text-indent: 10px;
  border: none;
}

.form-group input:active,
.form-group textarea:active {
  border: none;
}

.form-group input {
  height: 40px;
}

.form-group textarea {
  height: 350px;
}

.form-group label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  padding-bottom: 5px;
}

.form-comment p {
  margin: 0;
  font-size: 18px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.form-actions button {
  width: 125px;
  height: 40px;
  border-radius: 40px;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 18px;
}

footer {
  padding-top: 50px;
  color: white;
  display: flex;
  justify-content: space-between;
  background-color: var(--meg-black);
  padding-bottom: 80px;
}

@media (max-width: 992px) {
    footer{
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

footer .footer-contact {
  margin-top: 10px;
}

.footer-contact p {
  margin: 0;
  font-weight: 600;
}

footer .footer-social {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid white;
}

.footer-social img {
  height: 32px;
  filter: invert(1);
}

footer .footer-legal {
  font-weight: 200;
}

footer .footer-companies {
  display: flex;
  flex-direction: row;
}

footer .footer-impressum {
  border-right: 1px solid white;
  padding-right: 30px;
}

.footer-impressum .company {
  padding-bottom: 20px;
}

.company .company-name {
  font-weight: 700;
}

.company p {
  margin: 0;
  font-weight: 200;
}

footer .footer-supporters {
  padding-left: 30px;
}

.footer-supporters p {
  margin: 0;
  font-weight: 600;
}
