/**
 * UnoCSS Utility Enhancements for Центр Гармонии Theme
 * Дополнительные утилиты для медитативной темы
 */

/* ============================================
   Анимации и переходы
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Градиенты для секций
   ============================================ */
.bg-hero-gradient {
  background: linear-gradient(
    135deg,
    rgba(87, 128, 168, 0.05) 0%,
    rgba(250, 250, 250, 1) 100%
  );
}

.bg-meditation-gradient {
  background: linear-gradient(135deg, #5780a8 0%, #6b7fa3 50%, #8a9bb8 100%);
}

.bg-zen-gradient {
  background: linear-gradient(135deg, #8a997e 0%, #a5b39a 100%);
}

.bg-lotus-gradient {
  background: linear-gradient(135deg, #e05196 0%, #f4acd0 100%);
}

/* ============================================
   Стеклянный эффект (Glassmorphism)
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Тени для медитативной темы
   ============================================ */
.shadow-soft {
  box-shadow: 0 4px 20px rgba(87, 128, 168, 0.1);
}

.shadow-medium {
  box-shadow: 0 8px 30px rgba(87, 128, 168, 0.15);
}

.shadow-strong {
  box-shadow: 0 12px 40px rgba(87, 128, 168, 0.25);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(87, 128, 168, 0.3);
}

/* ============================================
   Аудио плеер стили
   ============================================ */
.meditation-audio {
  border-radius: 35px;
  margin: 15px 0;
}

.meditation-audio::-webkit-media-controls-panel {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 35px;
}

/* ============================================
   Плавная прокрутка
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   Кастомный скроллбар
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5780a8 0%, #6b7fa3 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4a6d91 0%, #5780a8 100%);
}

/* ============================================
   Адаптивные утилиты
   ============================================ */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem !important;
  }

  .heading-primary {
    font-size: 2.5rem !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   Печать
   ============================================ */
@media print {
  .site-header,
  .menu-togle,
  .togle_btn,
  audio {
    display: none !important;
  }

  .site-footer {
    background: white !important;
    color: black !important;
  }
}
