/**
 * !============================================
 * ? tournament.css - Стили страницы турниров
 * !============================================
 * 
 * Услуги турниров, кнопки брони
 */

/* ? Reset + body */
* {
  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;
}

.header_menu {
  display: contents;
}

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

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  text-align: center;
}

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

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

a:hover {
  color: #ff6600;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* !============================================
   ? Секция турниров/услуг
   !============================================ */

.services {
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  margin-bottom: 2rem;
  color: #ff6600;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background-color: #333;
  padding: 2rem;
  margin: 1rem;
  border-radius: 10px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
  border-color: #ff6600;
}

.service h3 {
  color: #ff6600;
  margin-bottom: 1rem;
}

/* ? Кнопка брони (градиент hover) */
.book-btn {
  background-color: #ff6600;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: auto;
  height: 48px;
}

.book-btn:hover {
  background-color: #e55a00;
  transform: translateY(-3px);
}

/* ? 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;
}
/* !============================================
   ? Адаптив
   !============================================ */

@media (max-width: 768px) {
  .service {
    width: 100%;
    max-width: 400px;
  }
  
  .service-list {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.5rem;
  }
}

