/* Base styles */
:root {
  --primary: #6b864f;
  /* Зеленый вместо фиолетового */
  --secondary: #94b670;
  /* Светло-зеленый */
  --dark: #212528;
  /* Темно-зеленый */
  --light: #f3f2ed;
  /* Светло-зеленый фон */
  --gray: #757575;
  --white: #ffffff;
  --black: #212121;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.height-0 {
  height: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header_title {
  display: flex;
  justify-content: start;
  font-size: 22px;
  font-weight: bolder;
  align-items: center;
}

.header_logo {
  height: 100px;
  filter: saturate(0.5);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.header__logo img {
  height: 40px;
  width: auto;
}

/* Навигация для десктопа */
.header__nav {
  display: flex;
  gap: 25px;
}

.header__link {
  text-decoration: none;
  color: #2d4a12;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.header__link:hover {
  color: #6b8e23;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6b8e23;
  transition: width 0.3s ease;
}

.header__link:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  background: linear-gradient(135deg, #81c784, #aed581);
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-blend-mode: overlay;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

.hero__title {
  font-size: 60px;
  line-height: 50px;
  font-weight: bolder;
  margin: 5px;
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 48px;
  }
}

.hero__logo img {
  max-width: 600px;
  width: 100%;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.hero__scroll span {
  margin-bottom: 10px;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background-color: var(--white);
}

/* Section styles */
.section {
  padding: 35px 0;
  position: relative;
}

.section__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 15px auto 0;
}

.section__inner {
  display: flex;
  flex-direction: column;
}

.section__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* About section */
.about {
  background-color: var(--white);
}

.about__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

/* Стили для текстового блока "Место Силы" */
.about__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.about__paragraph {
  margin-bottom: 25px;
  position: relative;
  text-align: center;
}

.about__paragraph--highlight {
  font-size: 20px;
  font-weight: 600;
  color: #2d4a12;
  text-align: center;
  padding: 15px;
  background-color: rgba(139, 195, 74, 0.1);
  border-radius: 8px;
  border-left: 3px solid #6b8e23;
}

.about__skills-list {
  margin: 20px 0 30px;
  padding-left: 25px;
  list-style-type: none;
}

.about__skill-item {
  position: relative;
  margin-bottom: 15px;
  padding-left: 30px;
  line-height: 1.5;
}

.about__skill-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8bc34a;
  font-size: 24px;
  line-height: 1;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat__label {
  font-size: 16px;
  color: var(--gray);
}

/* Program section */
.program {
  position: relative;
  background-color: #f8faf7;
  overflow: hidden;
}

.program__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(90, 143, 61, 0.1) 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease, background 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.program__items {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.program__item {
  max-height: 70px;
  overflow: hidden;
  display: flex;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
}

@media (max-width: 768px) {
  .program__item {
      max-height: 100px;
  }
}
.program__item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.program__preview {
  width: 80px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.program__item:hover .program__preview {
  width: 120px;
}

.program__info {
  padding: 15px 20px;
  flex-grow: 1;
}

.program__date {
  font-size: 14px;
  color: #6b8e23;
  margin-bottom: 5px;
}

.program__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2d4a12;
}

.program__time {
  font-size: 15px;
  color: #8bc34a;
}

.program__desc {
  font-size: 15px;
  color: #555;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
  margin-bottom: 10px;
}

.program__item:hover .program__desc {
  opacity: 1;
}

.program__item:hover .program__desc {
  opacity: 1;
}

/* Фотогалерея */
.drum {
  padding: 40px 20px;
  background: #f8f9fa;
}

.drum-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/9;
  /* Сохраняем соотношение сторон */
}

.drum-track {
  display: flex;
  height: 100%;
  transition: transform 0.85s ease;
}

.drum-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drum-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Сохраняем пропорции без обрезки */
}

.drum-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.drum-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drum-dot.active {
  background: #4caf50;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .drum-container {
    aspect-ratio: 4/3;
    /* Меняем соотношение на мобильных */
  }
}

/* Спикеры */
.speaker-circle,
.mater-circle {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  will-change: transform, z-index;
}

.speaker-circle:hover,
.master-circle:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.speaker-circle.active,
.master-circle.active {
  transform: scale(1.15);
  z-index: 100;
  box-shadow: 0 0 0 3px currentColor;
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    box-shadow 0.3s ease;
}

.speaker-row,
.master-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: -1.5rem;
}

.speaker-info,
.master-info {
  transition: all 0.4s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.speaker-info.active,
.master-info.active {
  max-height: 3000px;
  opacity: 1;
}

.person-title,
.person-name {
  text-align: center;
}

@media (max-width: 768px) {
  .speaker-info-grid {
    grid-template-columns: 1fr !important;
  }

  .speaker-bio,
  .master-bio {
    order: 2;
  }

  .speaker-events,
  .master-events {
    order: 3;
  }

  .speaker-photo,
  .master-photo {
    order: 1;
  }
}

/* Стили для блока цен */
.pricing {
  background-color: #f1f8e9;
}

.pricing__content {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing__highlight {
  text-align: center;
  margin-bottom: 25px;
  padding: 15px;
  background-color: rgba(139, 195, 74, 0.1);
  border-radius: 8px;
}

.pricing__main-price {
  font-size: 28px;
  font-weight: 700;
  color: #2d4a12;
  display: block;
}

.pricing__main-extra {
  font-size: 14px;
  font-weight: 700;
  color: #1a2c08;
  display: block;
  margin-bottom: 20px;
}

.pricing__discounts p {
  margin: 8px 0;
  font-size: 16px;
}

.pricing__free {
  color: #4caf50;
  font-weight: 600;
}

.pricing__half {
  color: #8bc34a;
  font-weight: 600;
}

.pricing__includes {
  list-style-type: none;
  padding-left: 20px;
  margin: 20px 0;
}

.pricing__includes li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing__includes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8bc34a;
  font-size: 24px;
  line-height: 1;
}

.pricing__notice {
  background-color: #fff8e1;
  color: #ff8f00;
  padding: 12px 15px;
  border-radius: 6px;
  margin: 20px 0;
  font-weight: 500;
  text-align: center;
  border-left: 3px solid #ffc107;
}

.pricing__timeline {
  margin: 30px 0;
}

.timeline__item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__dates {
  color: #555;
}

.timeline__price {
  font-weight: 600;
  color: #2d4a12;
}

.pricing__contact {
  text-align: center;
  margin-top: 30px;
  font-size: 17px;
}

.contact__phone {
  display: inline-block;
  margin-top: 10px;
  color: #2d4a12;
  font-weight: 600;
  text-decoration: none;
  background-color: rgba(139, 195, 74, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.contact__phone:hover {
  background-color: rgba(139, 195, 74, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
  .pricing__content {
    padding: 20px;
  }

  .pricing__main-price {
    font-size: 24px;
  }
}

/* Tickets section */
.tickets {
  background-color: var(--white);
}

.tickets__options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.ticket {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  width: 280px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ticket:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ticket--featured {
  border: 2px solid var(--primary);
}

.ticket__badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.ticket__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.ticket__price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.ticket__features {
  list-style: none;
  margin-bottom: 30px;
}

.ticket__features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.ticket__buy {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ticket__buy:hover {
  opacity: 0.9;
}

/* Contacts section */
.contacts {
  background-color: var(--light);
}

.contact {
  display: flex;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.contacts__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #000;
  /* Черный цвет иконки по умолчанию */
  background-color: transparent;
  transition: all 0.3s ease;
}

/* VK - синий круг с белой иконкой при наведении */
.vk-link {
  color: #4c75a3;
  /* Цвет VK */
}

.vk-link:hover {
  transform: scale(1.1);
}

/* Telegram - голубой круг с белой иконкой при наведении */
.tg-link {
  color: #2aabee;
  /* Цвет Telegram */
}

.tg-link:hover {
  transform: scale(1.1);
}

/* Эффект нажатия */
.social-link:active {
  transform: scale(0.95);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 14px;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__link {
  color: var(--white);
  opacity: 0.8;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .header__nav {
    gap: 15px;
  }

  .hero__logo img {
    max-width: 80%;
    margin: auto;
  }

  .section {
    padding: 20px 0;
  }

  .section__title {
    font-size: 28px;
  }

  .about__stats {
    flex-direction: column;
    gap: 20px;
  }

  .tickets__options {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Бургер-меню (скрыто на десктопе) */
.header__burger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #2d4a12;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.header__burger span:nth-child(1) {
  top: 0;
}

.header__burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__burger span:nth-child(3) {
  bottom: 0;
}

/* Адаптивность */
@media (max-width: 1280px) {
  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .header__nav.active {
    right: 0;
  }

  .header__link {
    font-size: 18px;
  }

  /* Анимация бургера */
  .header__burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .header__burger.active span:nth-child(2) {
    opacity: 0;
  }

  .header__burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Секция партнеров */
.partners {
  background-color: #fff;
  padding: 80px 0;
}

.partners__container {
  display: flex;
}

@media (max-width: 768px) {
  .partners__container {
    flex-direction: column;
    align-items: center;
  }

  .partner__photo {
    height: auto;
  }
}

.partner__photo {
  max-width: min(100%, 400px);
  /* Изображение не превысит ширину родителя */
  height: 400px;
  display: block;
  object-fit: cover;
}

.partner__description {
  max-height: 400px;
  overflow: overlay;
  padding: 0 2rem;
  flex-grow: 1;
}

.accordion-btn {
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.partner__description__extra {
  overflow: hidden;
  transition: all 700ms;
}

@media (min-width: 1024px) {
  .partner__description__extra {
    max-height: 2000px !important;
  }

  .accordion-btn {
    visibility: hidden;
  }
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.partner__card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner__card:hover .partner__logo {
  filter: grayscale(0%);
  opacity: 1;
}

.partner__info {
  text-align: center;
}

.partner__name {
  color: #2d4a12;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.partner__desc {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .partners__grid {
    grid-template-columns: 1fr;
  }
}
