/* ============================
   CSS ПЕРЕМЕННЫЕ И ОСНОВА
   ============================ */

:root {
  /* Яркая цветовая палитра */
  --primary-color: #ff1493;
  --primary-light: #ff69b4;
  --primary-dark: #c70f7b;
  --secondary-color: #00ffff;
  --secondary-light: #40ffff;
  --secondary-dark: #00cccc;
  --accent-color: #ffff00;
  --accent-light: #ffff99;
  --accent-dark: #cccc00;
  --warning-color: #ff4500;
  --warning-light: #ff7f50;
  --warning-dark: #cc3600;
  --info-color: #1e90ff;
  --info-light: #87ceeb;
  --info-dark: #0066cc;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--warning-color));
  --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
  --gradient-neon: linear-gradient(135deg, #ff00ff, #00ffff, #ffff00);
  
  /* Нейтральные цвета */
  --dark-color: #0f0f23;
  --dark-secondary: #1a1a2e;
  --light-color: #ffffff;
  --light-secondary: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #adb5bd;
  --gray-dark: #495057;
  
  /* Типографика */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-size-hero: 3.5rem;
  --font-size-title: 2.5rem;
  --font-size-subtitle: 1.5rem;
  --font-size-body: 1rem;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Тени */
  --shadow-glow: 0 0 20px rgba(255, 20, 147, 0.3);
  --shadow-neon: 0 0 30px rgba(0, 255, 255, 0.5);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
  
  /* Размеры */
  --border-radius: 15px;
  --navbar-height: 70px;
}

/* ============================
   СБРОС И БАЗОВЫЕ СТИЛИ
   ============================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-color);
  background: var(--gradient-dark);
  overflow-x: hidden;
}

/* ============================
   ТИПОГРАФИКА
   ============================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.title.is-1 {
  font-size: var(--font-size-hero);
  text-shadow: var(--shadow-glow);
}

.title.is-2 {
  font-size: var(--font-size-title);
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  opacity: 0.9;
}

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-body);
}

.has-text-white {
  color: var(--light-color) !important;
  -webkit-text-fill-color: var(--light-color) !important;
}

.has-text-dark {
  color: var(--dark-color) !important;
  -webkit-text-fill-color: var(--dark-color) !important;
}

/* ============================
   НАВИГАЦИЯ
   ============================ */

.navbar {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--primary-color);
  height: var(--navbar-height);
  transition: var(--transition-smooth);
}

.navbar-brand .title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  margin-bottom: 0;
}

.navbar-item {
  color: var(--light-color);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-item:hover {
  color: var(--primary-color);
  background: transparent;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

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

.navbar-burger {
  color: var(--light-color);
}

/* ============================
   КНОПКИ (ГЛОБАЛЬНЫЕ СТИЛИ)
   ============================ */

.btn,
.button,
input[type='submit'],
.futuristic-btn {
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button.is-primary,
.btn-primary,
.futuristic-btn {
  background: var(--gradient-primary);
  color: var(--light-color);
  box-shadow: var(--shadow-glow);
}

.button.is-primary:hover,
.btn-primary:hover,
.futuristic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.button.is-outlined {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--light-color);
}

.button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
}

.button.is-info {
  background: var(--gradient-accent);
  color: var(--dark-color);
}

.button.is-warning {
  background: linear-gradient(135deg, var(--warning-color), var(--accent-color));
  color: var(--light-color);
}

/* Эффект свечения для кнопок */
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-smooth);
}

.button:hover::before {
  left: 100%;
}

/* ============================
   HERO СЕКЦИЯ
   ============================ */

.hero {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

.hero.is-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-body {
  padding: 3rem 0;
}

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

.parallax-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 255, 255, 0.1));
  pointer-events: none;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--light-color) !important;
  -webkit-text-fill-color: var(--light-color) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ============================
   КАРТОЧКИ И КОНТЕЙНЕРЫ
   ============================ */

.card,
.box,
.futuristic-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 20, 147, 0.3);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover,
.box:hover,
.futuristic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.3);
  border-color: var(--primary-color);
}

.card-content,
.box {
  padding: 2rem;
}

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-container:hover img {
  transform: scale(1.1);
}

.is-rounded {
  border-radius: 50%;
  margin: 0 auto;
}

/* ============================
   СЕКЦИИ
   ============================ */

.section {
  padding: 4rem 0;
  position: relative;
}

.has-background-dark {
  background: var(--gradient-dark);
  color: var(--light-color);
}

.has-background-light {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* ============================
   СТАТИСТИКА
   ============================ */

#statistics .box {
  background: rgba(26, 26, 46, 0.95);
  color: var(--light-color);
  border: 2px solid var(--primary-color);
}

#statistics .title {
  font-size: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

#statistics .subtitle {
  color: var(--secondary-color);
  font-weight: 500;
}

/* ============================
   НАГРАДЫ
   ============================ */

#awards .box {
  background: rgba(255, 255, 255, 0.98);
  text-align: center;
}

#awards .box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-color);
}

/* ============================
   ИСТОРИИ КЛИЕНТОВ
   ============================ */

#customer-stories .box {
  background: rgba(26, 26, 46, 0.95);
  color: var(--light-color);
  text-align: left;
}

#customer-stories .media-left img {
  border: 3px solid var(--secondary-color);
}

#customer-stories .title {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
  text-align: left;
}

#customer-stories .subtitle {
  color: var(--secondary-color);
}

/* ============================
   СОБЫТИЯ
   ============================ */

#events .card {
  background: rgba(255, 255, 255, 0.98);
}

#events .subtitle {
  color: var(--primary-color);
  font-weight: 500;
}

/* ============================
   КОНТАКТЫ
   ============================ */

#contact .box {
  background: rgba(255, 255, 255, 0.98);
}

.futuristic-input,
.futuristic-select select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.futuristic-input:focus,
.futuristic-select select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  outline: none;
}

.label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* ============================
   ФУТЕР
   ============================ */

.footer {
  background: var(--dark-color);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}

.footer .title,
.footer h4,
.footer h5 {
  color: var(--light-color);
  -webkit-text-fill-color: var(--light-color);
  text-align: left;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--primary-color);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

/* Социальные сети в футере */
.footer .content a {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer .content a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 5px var(--secondary-color);
}

/* ============================
   АДАПТИВНОСТЬ
   ============================ */

@media screen and (max-width: 768px) {
  :root {
    --font-size-hero: 2.5rem;
    --font-size-title: 2rem;
  }
  
  .hero-body {
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card-content,
  .box {
    padding: 1.5rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
}

/* ============================
   АНИМАЦИИ
   ============================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 20, 147, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 20, 147, 0);
  }
}

@keyframes neonGlow {
  0%, 100% {
    text-shadow: 0 0 5px var(--primary-color);
  }
  50% {
    text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-glow {
  animation: neonGlow 3s ease-in-out infinite alternate;
}

/* ============================
   ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ
   ============================ */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-dark);
  color: var(--light-color);
}

.content-with-header {
  padding-top: 100px;
}

/* ============================
   СЛУЖЕБНЫЕ КЛАССЫ
   ============================ */

.text-gradient {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-effect {
  box-shadow: var(--shadow-neon);
}

.blur-background {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
}

.full-width {
  width: 100%;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

/* Ссылки "Читать далее" */
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-fast);
}

.read-more-link::after {
  content: ' →';
  transition: var(--transition-fast);
}

.read-more-link:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 5px var(--secondary-color);
}

.read-more-link:hover::after {
  transform: translateX(5px);
}

/* Скрытие элементов */
.hidden {
  display: none;
}

.invisible {
  opacity: 0;
}

/* Переходы для всех интерактивных элементов */
* {
  transition: var(--transition-fast);
}

a, button, .card, .box, input, select, textarea {
  transition: var(--transition-smooth);
}

.navbar-menu {
  background: #0f0f23;
}