/* === TATAR PRODUCTION — Global Styles === */

/* --- Основные цвета --- */
:root {
  --main-bg: #0B0C10;
  --accent: #D92B2B;
  --text-color: #FFFFFF;
  --text-secondary: #CCCCCC;
  --font-main: 'Montserrat', 'Montserrat Cyr', sans-serif;
}

/* --- Базовые настройки --- */
body, .t-body {
  background-color: var(--main-bg);
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: 0.5px;
}

a, a:visited {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff4444;
}

/* --- Кнопки --- */
.t-btn {
  background-color: var(--accent) !important;
  color: var(--text-color) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 0 15px rgba(217,43,43,0.6);
  font-weight: 600;
  transition: all 0.3s ease;
}

.t-btn:hover {
  box-shadow: 0 0 25px rgba(217,43,43,0.9);
  transform: translateY(-2px);
}

/* --- Прозрачные кнопки (outline) --- */
.t-btn.t-btn_white {
  background: transparent !important;
  border: 2px solid var(--accent) !important;
  color: var(--text-color) !important;
}

.t-btn.t-btn_white:hover {
  background: var(--accent) !important;
  box-shadow: 0 0 25px rgba(217,43,43,0.8);
}

/* --- Формы --- */
.t-input, .t-select {
  background: #111317 !important;
  border: 1px solid #222 !important;
  color: var(--text-color) !important;
  border-radius: 6px !important;
  padding: 12px 15px !important;
}

.t-input:focus, .t-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 10px rgba(217,43,43,0.4);
}

/* --- Разделители, линии, подчеркивания --- */
.t-border, .t-separator {
  border-color: rgba(255,255,255,0.1) !important;
}

/* --- Слайдеры и отзывы --- */
.t-slds__arrow {
  background: var(--accent) !important;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(217,43,43,0.5);
}

.t-slds__arrow:hover {
  box-shadow: 0 0 20px rgba(217,43,43,0.8);
}

/* --- Футер --- */
.t-footer {
  background-color: var(--main-bg) !important;
  color: var(--text-secondary) !important;
  font-size: 15px;
  text-align: center;
  padding: 40px 0;
}

/* --- Анимации появления (fade-up) --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Контейнеры и отступы --- */
.t-container {
  padding: 60px 0;
}

/* --- Мобильная адаптация --- */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .t-btn {
    width: 100%;
    padding: 14px 0 !important;
  }
  h1 {
    font-size: 28px !important;
  }
}
