body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #111;
}

header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #232f3e;
  color: #fff;
}


.lang-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
}



.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 200px 20px 140px;
  background: url('/Images/background.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

.hero-text {
  transform: translateY(-100px);
}
.hero h1,
.hero p {
  position: relative;
  top: -110px;  
}
#startButton {
  position: relative;
  top: 100px;
  padding: 10px 20px;
  font-size: 1em;
  font-weight: bold; /* ← жирный шрифт */
  border: 2px solid black;
  border-radius: 25px;
  background-color: black;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#startButton:hover {
  background-color: white;
  color: black;
}

.hero h1 {
  font-size: 5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.2em;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/*ТЕАМ*/
.team {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-member {
  cursor: pointer;
  width: 250px; /* фиксированная ширина, чтобы не налезали */
  text-align: center;
}



.team-member img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #0578FF;
  transition: transform 0.3s;
}



.team-member img:hover {
  transform: scale(1.05);
}

.team-member h4 {
  margin: 10px 0 5px;
  font-size: 1em;
  font-weight: bold;
}


.team-member p {
  font-size: 0.9em;
  color: #555;
  line-height: 1.2;
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  position: relative;
}
.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 10px auto;
  object-fit: cover;
  border: 3px solid #0578FF;
}

.modal-content h3 {
  margin: 10px 0 5px;
}

.modal-content .phone,
.modal-content .email {
  font-size: 0.9em;
  color: #0578FF;
  margin: 2px 0;
}

.modal-content .bio {
  font-size: 0.95em;
  margin-top: 10px;
  color: #333;
}



.close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.5em;
  cursor: pointer;
}

/*ТЕАМ*/


.about {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background-color: #ccc;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: #555;
}

/* Footer styles */
footer {
  background-color: #232f3e;
  color: white;
  text-align: center;
  padding: 20px 0 0;
}
.site-footer {
  background-color: #232f3e;
  color: white;
  padding: 40px 0 20px;
  display: flex;
  justify-content: center; /* центрируем весь футер по горизонтали */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 10px;
}

.footer-copy {

  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}


@media (max-width: 600px) {
  .hero h1 {
    font-size: 2em;
  }

  .lang-switcher {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo,
  .footer-copy {
    margin: 10px 0;
  }

   .team-member {
    width: 140px;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }
}
