/* Обнуление и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: #111;
}

/* Единый контейнер для всех секций */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Шапка */

body {
  padding-top: 80px; /* = высоте шапки */
}

.header {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  height: 80px;
  display: flex;          /* ← делаем header flex-контейнером */
  align-items: center;    /* ← выравниваем всё по центру по вертикали */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;       /* горизонтальные отступы — безопасны */
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ff3e6c;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 600;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ff3e6c;
}

/* Герой-секция */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #ccc;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #ff3e6c, #a022ff);
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(255, 62, 108, 0.6),
              0 0 30px rgba(160, 34, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 62, 108, 0.9),
              0 0 40px rgba(160, 34, 255, 0.7);
  background: linear-gradient(135deg, #ff5a80, #b040ff);
}

/* О себе */
.about {
  padding: 100px 0;
}

.about h3 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ff3e6c;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.avatar {
  border-radius: 10px;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.about .text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1rem;
  color: #ddd;
}

/* Выступления */
.container-event {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.events {
  padding: 100px 0;
  background-color: #1a1a1a;
}

.events h3 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ff3e6c;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Карточка события */
.event-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 600px;
  margin: 15px auto;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.event-header h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.event-details p {
  color: #b3b3b3;
  font-size: 0.95rem;
  margin: 8px 0;
  line-height: 1.5;
}

.event-details p strong {
  color: white;
  font-weight: 600;
}

/* Кнопка "Взгляни сам на это" */
.view-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff3e6c, #9d3bff);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 62, 108, 0.4);
  text-align: center;
}

.view-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 62, 108, 0.5);
  background: linear-gradient(90deg, #ff5a8a, #b54fff);
}

.event-image {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

.event-info {
  padding: 20px;
  flex: 1;
}

.event-info h4 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.event-info p {
  color: #bbb;
  margin-bottom: 8px;
}

.no-events {
  text-align: center;
  font-size: 1.2rem;
  color: #888;
  margin-top: 30px;
}

/* Контакты */
.contact {
  padding: 100px 0;
  text-align: center;
  background-color: #121212; /* или любой цвет по вкусу */
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.contact > * {
  position: relative;
  z-index: 2;
}

.contact h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff3e6c;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ddd;
}

/* Подвал */
.footer {
  background-color: #000;
  padding: 40px 0;
  text-align: center;
  color: #888;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  color: #aaa;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
}

.footer .social-links a:hover {
  color: #ff3e6c;
}

/* Админ-панель */
#admin-panel {
  margin-top: 40px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Переключатель языков — рядом с логотипом */
.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.lang-switcher a {
  color: #f0f0f0;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: #ff3e6c;
  background-color: rgba(255, 62, 108, 0.15);
}


/* Убираем стандартный ::before при первом элементе */
/* .lang-switcher a:first-child::before {
  content: none;
} */

/* Мобильные устройства */
@media (max-width: 768px) {

    .header .container {
    justify-content: space-between; /* Логотип и языки слева, бургер справа */
    padding: 0 12px;
  }

  .logo {
    font-size: 1.4rem;
    margin-right: 8px;
  }

  .lang-switcher {
    gap: 6px;
    font-size: 0.85rem;
  }

  .lang-switcher a {
    padding: 3px 6px;
    font-size: 0.85rem;
  }

  .menu-toggle {
    font-size: 1.6rem;
    margin-left: 10px;
  }

    .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
  }

  .nav.active {
    display: flex;
  }
  .container,
  .container-event {
    width: 95%;
    padding: 15px;
  }

  .header .container {
    padding: 0 15px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .about-content {
    gap: 20px;
  }

  .avatar {
    width: 220px;
    height: 220px;
  }

  .footer .social-links a {
    display: block;
    margin: 8px 0;
  }
}