/* Main CSS file - imports all component styles */

/* Import all component styles */
@import url('base.css');
@import url('header.css');
@import url('hero.css');
@import url('filter.css');
@import url('products.css');
@import url('footer.css');
@import url('animations.css');

:root {
  /* Binary-палитра */
  --background: #050a12;
  --background-darker: #020409;
  --primary-color: #00a8ff;
  --secondary-color: #b600ff;
  --accent-color: #ff005a;
  --text-primary: #f7f7f7;
  --text-secondary: #b7b7b7;
  --text-muted: #777777;
  --border-color: rgba(0, 168, 255, 0.2);
  --card-bg: rgba(6, 12, 24, 0.8);
  --gradient-1: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  --gradient-2: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-3: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  --shadow-color: rgba(0, 168, 255, 0.2);
  --glitch-duration: 5s;
  
  /* Размеры */
  --header-height: 70px;
  --container-width: 1200px;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Основные стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Сканирующая линия на всем сайте */
.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    transparent);
  opacity: 0.3;
  z-index: 1000;
  pointer-events: none;
}

/* Общие стили для контейнеров */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Общие стили для секций */
section {
  padding: 2rem 0;
  position: relative;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Ссылки */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-color);
}

/* Кнопки */
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Header and Navigation */
header {
  background-color: rgba(5, 10, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 1;
}

.logo span {
  color: var(--primary-color);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Утилитарные классы */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
  :root {
    --container-width: 992px;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 768px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
    --header-height: 60px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}
