/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 16 2025 | 04:54:16 */
/* =========================================================
   AURORA ITC — FIXES V2
   Исправления: fullscreen hero + отключение глобального сияния
   ========================================================= */

/* ==================== ОТКЛЮЧЕНИЕ ГЛОБАЛЬНОГО СИЯНИЯ ==================== */

/* Убираем синий фон от главной страницы */
body::before,
html::before,
.elementor-section::before,
.elementor-section::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Чистый темный фон без сияния */
body,
html,
.site,
#page {
  background: #070A12 !important;
}

/* ==================== FULLSCREEN HERO ==================== */

/* Hero вырывается из контейнера и занимает весь экран */
.aurora-page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.aurora-hero--fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 0 0 !important; /* Padding сверху для header */
  margin: 0 !important;
  overflow: hidden;
  
  /* Вырываемся из контейнера */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* На мобильных меньше padding */
@media (max-width: 768px) {
  .aurora-hero--fullscreen {
    padding-top: 100px !important;
    min-height: 90vh;
  }
}

/* Видео на весь экран от самого верха */
.aurora-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.aurora-video-fullscreen {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Темный overlay для читаемости текста */
.aurora-video-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(7, 10, 18, 0.65) 0%,
    rgba(7, 10, 18, 0.75) 50%,
    rgba(7, 10, 18, 0.85) 100%
  );
  z-index: 1;
}

/* Контент по центру */
.aurora-hero-content--centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Hero заголовок крупнее на fullscreen */
.aurora-hero--fullscreen .aurora-h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Lead текст */
.aurora-hero--fullscreen .aurora-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 32px;
  opacity: 0.92;
}

/* Кнопки по центру */
.aurora-hero--fullscreen .aurora-btn {
  margin: 0 6px 12px;
}

/* Badges по центру */
.aurora-hero--fullscreen .aurora-badge {
  justify-content: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .aurora-hero--fullscreen {
    min-height: 85vh;
    padding-top: 80px !important;
  }
  
  .aurora-hero--fullscreen .aurora-h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .aurora-hero--fullscreen .aurora-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .aurora-video-overlay-dark {
    background: linear-gradient(
      to bottom,
      rgba(7, 10, 18, 0.75) 0%,
      rgba(7, 10, 18, 0.85) 100%
    );
  }
}

/* ==================== ОТКЛЮЧЕНИЕ 3D TILT ==================== */

/* Убираем 3D трансформации у карточек */
.aurora-card {
  transform: none !important;
  transition: all 0.3s ease !important;
}

.aurora-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}

/* Оставляем только cursor glow */
[data-cursor-glow] {
  position: relative;
  overflow: hidden;
}

[data-cursor-glow]::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(100, 255, 230, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

[data-cursor-glow]:hover::before {
  opacity: 1;
}

/* Контент карточки поверх glow */
.aurora-card > * {
  position: relative;
  z-index: 1;
}

/* ==================== SCROLL PADDING ==================== */

/* Добавляем padding сверху для компенсации sticky nav */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

/* ==================== NAVIGATION FIX ==================== */

/* Header поверх fullscreen hero - НЕ прилипает при скролле */
.elementor-location-header,
.header-aurora,
header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: transparent !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: none !important; /* Убираем границу */
  box-shadow: none !important; /* Убираем тень */
}

/* На мобильных header может быть fixed с легким фоном */
@media (max-width: 768px) {
  .elementor-location-header,
  .header-aurora,
  header {
    position: fixed !important;
    background: rgba(7, 10, 18, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; /* Очень тонкая граница на мобилке */
  }
}

/* Sticky nav не перекрывает контент */
.aurora-subnav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==================== IMAGE OPTIMIZATION ==================== */

/* Lazy loading images */
img[data-src] {
  background: var(--aurora-glass-light);
  min-height: 200px;
}

img[data-src].loaded {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================== PERFORMANCE ==================== */

/* Отключаем анимации для пользователей с prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .aurora-card:hover {
    transform: none !important;
  }
}

/* ==================== UTILITY CLASSES ==================== */

/* Prevent layout shift */
.no-shift {
  will-change: auto !important;
  transform: translateZ(0);
}

/* Safe area для iPhone notch */
@supports (padding: max(0px)) {
  .aurora-hero--fullscreen .aurora-hero-content--centered {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* ==================== PRINT STYLES ==================== */

@media print {
  .aurora-video-background,
  .aurora-video-container,
  video {
    display: none !important;
  }
  
  .aurora-hero--fullscreen {
    min-height: auto;
    padding: 40px 20px !important;
  }
}
