body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba1 100%);
}

.container {
  padding: 20px;
}

.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.section {
  padding: 50px 0;
  transition: background 0.3s;
}

.btn-outline-light {
  border-color: var(--primary-color);
  color: #0774d8;
  background: linear-gradient(135deg, #667eea 0%, #764ba1 100%); /* Добавляем градиент вместо однотонного фона */
  background-clip: border-box; /* Градиент будет включать рамку (border) */
  -webkit-background-clip: text; /* Для старых браузеров */
}

.btn-outline-light:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba1 100%); /* Градиент при наведении */
  color: white;
  background-clip: border-box;
}


.section img {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s, box-shadow 0.3s;
}

.section img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.section p small {
  color: #6c757d;
  font-size: 0.875rem;
}

table th, table td {
  padding: 12px;
  text-align: left;
}

.table-striped tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.text-success {
  color: #28a745;
}

.text-warning {
  color: #ffc107;
}

.text-danger {
  color: #dc3545;
}

.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.navbar {
  height: 60px; 
  min-height: 60px;
}

.navbar-nav .nav-link {
  color: transparent; /* Текст становится прозрачным, чтобы работал background-clip */
  background: linear-gradient(90deg, #9932CC, #00BFFF, #008B45);
  font-weight: bold;
  -webkit-background-clip: text;
  background-clip: text;
  padding: 10px 15px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #9932CC, #00BFFF); /* Градиентное подчёркивание */
  transition: width 0.3s ease;
  margin-top: 5px;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.simple-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* Плавные переходы */
}

.slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.slide.next {
  opacity: 0;
  transform: translateX(100%);
}

.slide.prev {
  opacity: 0;
  transform: translateX(-100%);
}

.slide img {
  width: 100%;
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
}

.container.position-relative {
  position: relative;
  overflow: hidden; 
}

#slider {
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}


#home > .container > div[style*="z-index: 1"] {
  padding-top: 100px;
}

.slider-prev, .slider-next {
  z-index: 1;
  pointer-events: auto;
}

.text-container {
  background-color: rgba(255, 255, 255, 0.8); /* Белый с 20% прозрачностью (0.8) */
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-container h1,
.text-container p {
  color: black;
}

.pulse-btn {
  animation: pulse 2s infinite;
  transition: transform 0.3s ease; /* Плавный переход для :hover */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* При наведении: добавляем эффект, но не останавливаем пульсацию */
.pulse-btn:hover {
  transform: scale(1.07); /* Дополнительное увеличение при наведении */
  opacity: 1; /* Фиксируем полную прозрачность при наведении */
}

/* Курсивный текст */
.italic-text {
  font-style: italic;
  line-height: 1.6;
  color: white !important;
}

/* Стили для списка внутри курсива */
.italic-text ul {
  margin-top: 10px;
  padding-left: 20px;
}

.italic-text li {
  margin-bottom: 8px;
  color: white !important;
}

.italic-text, .typing-animation {
  margin-left: 0 !important; /* Убираем автоматические отступы */
  padding-left: 0 !important; /* Убираем внутренние отступы */
}

/* Базовый стиль для блока анимации */
.typing-animation {
  font-family: 'Courier New', monospace;
  font-size: 40px;
  line-height: 1.6;
  margin: 0 0 30px;
  position: relative;

  /* Градиент для текста */
  color: #9370DB;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #667eea 0%, #764ba1 100%);
  -webkit-background-clip: text;

  /* Ключевые исправления */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
  min-height: 4.4rem; 
}


.phrase {
  display: inline;
  opacity: 1;
  vertical-align: top;

  /* Жирный шрифт и повышенная яркость для фраз */
  font-weight: bold;
  filter: brightness(1.2); /* Ярче на 20% */
}

/* Контейнер секции с относительным позиционированием */
#about .container.position-relative {
  position: relative;
  overflow: hidden;
}

/* Блок с фоновым изображением */
.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.about-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Текстовый контент поверх изображения */
.about-content {
  position: relative;
  z-index: 2;
  padding: 50px 0;
  color: white !important;
}

/* 2. Выравнивание текста по левому краю */
.about-content .col-md-6 {
  text-align: left; /* Выравнивание по левому краю */
  padding-left: 20px;
}

/* Для мобильных устройств: текст занимает всю ширину */
@media (max-width: 767px) {
  .about-content .col-md-6 {
    width: 100%;
    margin-left: 0 !important;
  }
}

/* Дополнительно: затемнение фона для лучшей читаемости текста */
.about-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Полупрозрачное затемнение */
  z-index: 1;
}

.row.justify-content-center .col-md-10 {
  display: flex;
  justify-content: center; /* Горизонтальное центрирование */
  align-items: center;    /* Вертикальное центрирование (если нужно) */
}

.price-image {
  width: 40%;
  height: auto;
  max-width: 800px;
  object-fit: contain;
  /* Дополнительно: можно добавить отступы */
  margin: 10px 0;
}

.team-text{
  font-style:italic;
  font-size: 24px;
}

.organizers-text{
  font-style:italic;
  font-size: 14px;
}

/* Общие стили для контактов */
.contact-list {
  margin-top: 20px;
}

.contact-item {
  margin-bottom: 15px;
}

.contact-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-detail {
  line-height: 1.6;
}

/* Стили для телефона (жирный + подчёркивание) */
.underline-phone {
  font-weight: bold;
  text-decoration: underline;
  color: #212529;
}

.underline-phone:hover {
  text-decoration: none;
  color: #0056b3; /* Тёмный оттенок при наведении */
}

/* Стили для иконок соцсетей */
.social-icons {
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #eee;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #ddd;
  transform: scale(1.1);
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
  .contact-item {
    margin-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
  }
}

#contacts {
  background-color: #ffffff; /* Белый цвет фона */
  padding: 20px; /* Опционально: отступы внутри блока */
}

#yandex-map {
  height: 80%;
  border-radius: 12px;
  overflow: hidden;
}

.row {
  display: flex;
  align-items: stretch; /* Растягивает колонки на одинаковую высоту */
}

.col-md-6 {
  flex: 1; /* Равномерно распределяет ширину */
  overflow: auto; /* Если содержимое не помещается — появится скролл */
}

#contacts, #map {
  padding: 1rem; /* Добавляем отступы внутри блоков для эстетики (опционально) */
  height: 100%; /* Форсируем заполнение всей доступной высоты */
}

/*footer.bg-orange {*/
/*  background-color: white; !* оранжевый цвет как на скрине *!*/
/*}*/

.btn-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-light {
  background-color: white;
  border: none;
}

.btn-light:hover {
  background-color: #fff3e0; /* светлый оттенок при наведении */
}

.text-white {
  color: #fff !important;
}

.btn-white-outline {
  color: #fff !important;                   /* Белый текст */
  border-color: #fff !important;          /* Белая рамка */
  background-color: transparent !important; /* Прозрачный фон */
}

.btn-white-outline:hover {
  color: #333 !important;                  /* Тёмный текст при наведении */
  background-color: #fff !important;      /* Белый фон при наведении */
  border-color: #fff !important;         /* Белая рамка при наведении */
}






