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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Hero секция */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(255,108,16,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
  color: #ff6c10;
  display: inline-block;
  border-bottom: 3px solid #ff6c10;
  padding-bottom: 5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation */
.nav-link {
  position: relative;
  color: #374151;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6c10;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ff6c10;
}

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

/* Footer links */
.footer-link {
  color: #9ca3af;
  position: relative;
  display: inline-block;
  transition: all 0.3s;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6c10;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ff6c10;
}

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #ff6c10;
  color: white;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin: 5px;
  box-shadow: 0 5px 15px rgba(255,108,16,0.4);
}

.btn-primary:hover {
  background: #e05c00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,108,16,0.6);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid white;
  font-size: 1.1rem;
  margin: 5px;
}

.btn-outline:hover {
  background: white;
  color: #ff6c10;
  transform: translateY(-2px);
}

/* Schedule cards */
.schedule-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: all 0.3s;
}

.schedule-card:hover {
  box-shadow: 0 10px 30px rgba(255,108,16,0.15);
  border-color: #ff6c10;
}

.day-badge {
  width: 60px;
  height: 60px;
  background: #ff6c10;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  margin-right: 20px;
}

.time-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #fff5eb;
  border-radius: 10px;
  margin-bottom: 10px;
}

.time-slot:last-child {
  margin-bottom: 0;
}

.dance-type {
  font-weight: 700;
  color: #ff6c10;
}

/* Prices */
.price-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff5eb;
  border-radius: 12px;
  margin-bottom: 15px;
}

.price-item:hover {
  background: #ffe4d6;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ff6c10;
}

/* Social icons */
.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-icon:hover {
  background: #ff6c10;
  transform: translateY(-3px);
}

/* Feature cards */
.feature-card {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
  transition: all 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255,108,16,0.1);
  border-color: #ff6c10;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #fff5eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6c10;
  font-size: 2rem;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: #ff6c10;
  color: white;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255,108,16,0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Form */
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #ff6c10;
  box-shadow: 0 0 0 3px rgba(255,108,16,0.1);
}

.submit-btn {
  width: 100%;
  background: #ff6c10;
  color: white;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #e05c00;
  transform: translateY(-2px);
}

/* Section titles */
.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6c10;
  border-radius: 2px;
}

.section-subtitle {
  color: #ff6c10;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Counter section */
.counter-section {
  background: linear-gradient(135deg, #ff6c10, #ff8c40);
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.counter-item {
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.counter-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.counter-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  background: linear-gradient(to right, #fff, #fff8e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  font-weight: 500;
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out;
}

/* Logo animations */
@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 2px rgba(255,108,16,0.3));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 15px rgba(255,108,16,0.6));
    transform: scale(1.05);
  }

  100% {
    filter: drop-shadow(0 0 2px rgba(255,108,16,0.3));
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0px);
  }
}

.logo-letter {
  animation: pulse-glow 3s ease-in-out infinite;
  transform-origin: center;
}

.logo-dot-new {
  animation: spin-slow 6s linear infinite;
  transform-origin: center;
}

.logo-circle {
  animation: float 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary, .btn-outline {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .day-badge {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .price-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  .counter-label {
    font-size: 0.8rem;
  }
}

/* Smooth scroll */
section {
  scroll-margin-top: 80px;
}

#team {
  scroll-margin-top: 100px;
}



/* Gallery styles - добавляем в конец файла */

/* Галерея */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255,108,16,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,108,16,0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: 600;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Модальное окно галереи - усиливаем стили */
#gallery-modal {
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}

#gallery-modal.flex {
  animation: modalFadeIn 0.3s ease;
}

#gallery-modal.hidden {
  display: none !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

/* Затемнение фона */
#gallery-modal .absolute.inset-0 {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

/* Изображение в модальном окне */
#modal-image {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#modal-image:hover {
  transform: scale(1.02);
}

/* Кнопки навигации */
#prev-btn, #next-btn {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#prev-btn:hover, #next-btn:hover {
  background: rgba(255, 108, 16, 0.8);
  transform: translateY(-50%) scale(1.1);
}

/* Подпись к фото */
#modal-title {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 108, 16, 0.3);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
}

/* Счетчик изображений */
#image-counter {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 10001;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  #prev-btn, #next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
  }

  #modal-title {
    font-size: 0.9rem;
    bottom: 70px;
    max-width: 90%;
    margin: 0 auto;
    left: 0;
    right: 0;
  }

  #image-counter {
    top: 10px;
    left: 10px;
    font-size: 0.8rem;
  }
}

/* Анимация загрузки изображения */
#modal-image:not([src=""]) {
  background-color: transparent;
}

#modal-image[src=""] {
  min-width: 200px;
  min-height: 200px;
  background: linear-gradient(45deg, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%);
  background-size: 200% 200%;
  animation: loading 1.5s ease infinite;
}

@keyframes loading {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

/* Индикатор загрузки при открытии */
.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}



/* Стили для модального окна галереи - добавляем в конец файла */

/* Гарантируем, что модальное окно поверх всего */
#gallery-modal {
  z-index: 9999 !important;
}

/* Усиленное затемнение */
#gallery-modal .absolute.inset-0.bg-black {
  background-color: rgba(0, 0, 0, 0.98) !important;
  backdrop-filter: blur(8px) !important;
}

/* Изображение в оригинальном размере */
#modal-image {
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Кнопки навигации */
#prev-btn, #next-btn {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

#prev-btn:hover, #next-btn:hover {
  background-color: #ff6c10;
  border-color: #ff6c10;
}

/* Подпись к фото */
#modal-title {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #ff6c10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Счетчик */
#image-counter {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #ff6c10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Анимация появления */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  #modal-image {
    max-height: 75vh;
  }

  #prev-btn, #next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}


/* Стили для модального окна с оригинальным размером фото */
#gallery-modal {
  transition: opacity 0.3s ease;
}

#gallery-modal.flex {
  animation: modalFadeIn 0.3s ease;
}

#gallery-modal.hidden {
  display: none !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Контейнер с прокруткой для больших изображений */
#gallery-modal .flex.items-center.justify-center.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: #ff6c10 rgba(255, 255, 255, 0.1);
}

#gallery-modal .flex.items-center.justify-center.overflow-auto::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#gallery-modal .flex.items-center.justify-center.overflow-auto::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

#gallery-modal .flex.items-center.justify-center.overflow-auto::-webkit-scrollbar-thumb {
  background: #ff6c10;
  border-radius: 4px;
}

#gallery-modal .flex.items-center.justify-center.overflow-auto::-webkit-scrollbar-thumb:hover {
  background: #e05c00;
}

/* Изображение в оригинальном размере */
#modal-image {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

/* Затемнение фона */
#gallery-modal .absolute.inset-0.bg-black {
  background-color: rgba(0, 0, 0, 0.98) !important;
  backdrop-filter: blur(8px) !important;
}

/* Кнопки навигации */
#prev-btn, #next-btn, .close-btn {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  opacity: 0.8;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10000;
}

#prev-btn:hover, #next-btn:hover, .close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  background-color: #ff6c10 !important;
  border-color: #ff6c10;
}

/* Подпись к фото */
#modal-title {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #ff6c10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 10000;
}

/* Счетчик */
#image-counter {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #ff6c10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  pointer-events: none;
  z-index: 10000;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  #modal-image {
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 120px) !important;
    width: auto !important;
    height: auto !important;
  }

  #modal-title {
    bottom: 10px;
    font-size: 0.9rem;
    max-width: 90%;
  }

  #image-counter {
    top: 10px;
    left: 10px;
    font-size: 0.8rem;
  }

  #prev-btn, #next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Стили для галереи */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255,108,16,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}