/**
 * !============================================
 * ? o_nas.css - Стили страницы "О нас"
 * !============================================
 * 
 * Hero с фоном, гриды услуг/команды, контакты
 * Адаптив для mobile
 */

/* ? Базовые стили */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  color: #fff;
}

/* ? Header */
header {
  background-color: #333;
  padding: 1rem;
  text-align: center;
  margin: 0 auto;
}

.header_menu {
  display: flex;
  display: contents;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: stretch;
  justify-content: center;
  align-items: stretch;
}

.header_menu a {
  font-size: 18px;
}

nav {
  text-align: center;
}

nav {
  text-align: center;
}

.logo {
  float: left;
  z-index: 99;
  position: fixed;
}

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

.logo h1 {
  margin: 0 auto;
  color: #ff6600;
}

ul {
  font-size: 18px;
  list-style: none;/* *убирает маркеры */
  padding: 0;
  margin: 1rem 0 0 0;
  text-align: center;
}

ul li {
  display: inline-block;
  margin: 0 1rem;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ff6600;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);/* *  создаёт тень */
}

/* !============================================
   ? Hero с фоновым изображением (fixed)
   !============================================ */

.hero-about {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../image/pc_club_vnutri.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.hero-about h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px #000;/* *  создаёт тень */
  padding: 0 20px;
  max-width: 100%;
}

.hero-about p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 20px;
}

/* ? Общие секции */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  color: #ff6600;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* ? Гриды услуг/преимуществ */
.services-ss,
.advantages-ss {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));/* *repeat(minmax(150px, 1fr): Устанавливает размер колонки:) Повторяет */
  gap: 30px;
}

.service-card,
.advantage-card {
  background: #222;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.service-card:hover,
.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 102, 0, 0.3); /* *  создаёт свечение вокруг */
  border-color: #ff6600;
}

.service-icon {
  font-size: 4rem;
  color: #ff6600;
  margin-bottom: 1rem;
}

/* ? Сетка команды */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));/* *repeat(minmax(150px, 1fr): Устанавливает размер колонки:) Повторяет */
  gap: 30px;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #ff6600;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ? Контакты */
.contacts {
  background: #333;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-icon {
  font-size: 1.5rem;
  color: #ff6600;
  margin-right: 1rem;
  width: 40px;
}

/* ? Footer */
footer {
  background-color: #333;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: #fff;
  margin: 0 10px;
}

/* !============================================
   ? Адаптив (425px-)
   !============================================ */

@media (max-width: 425px) {
  .hero-about h1 {
    font-size: 2.5rem;
  }

  .hero-about p {
    font-size: 1.1rem;
  }

  .section {
    padding: 40px 15px;
  }

  .header_menu {
    display: block;
  }
  .logo h1 {
    margin: 30px auto;
    font-size: 22px;
  }
  ul {
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: center;
  }

  a {
    font-size: 26px;
  }
}
