/* Основные стили */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --background-color: #f8f9fa;
  --text-color: #333;
}

body {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  font-size: 1.2rem;
}

/* Прозрачный navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.5s ease;
  backdrop-filter: blur(10px);
}

.navbar.fixed-top.scrolled {
  background-color: rgba(0, 123, 255, 0.95);
}

/* Стиль для ссылок меню */
.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

/* Градиентная линия под ссылками */
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: -5px;
  left: 50%;
  transition: width 0.3s ease, left 0.3s ease;
}

/* Эффект при наведении на пункты меню */
.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Эффект параллакса */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

/* Фон для секций с параллаксом */
.hero-section {
  background-image: url('../images/kursy.jpg');
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-courses {
  background-image: url('../images/courses-bg.jpg');
  min-height: 50vh;
}

.parallax-contact {
  background-image: url('../images/contact-bg.jpg');
  min-height: 50vh;
}

.btn-custom {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
}
/* Фон с параллаксом для заголовков страниц */
.parallax-title {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
}

.parallax-title h1 {
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
}
/* Фон с параллаксом для заголовков страниц */
.parallax-title {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
}

.parallax-title h1 {
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
  z-index: 0; /* Отправить под текст */
}

.container {
  position: relative; /* Позиционирование контейнера для overlay */
  z-index: 1; /* Текст выше overlay */
}

.btn-custom {
  background-color: #FF5722; /* Пример пользовательского цвета кнопки */
  color: white;
}

.display-3 {
  font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lead {
  font-size: 2.5rem; /* Увеличенный размер текста */
}
#promo {
  position: relative;
}
@media (max-width: 576px) {
  .display-3 {
    font-size: 3rem; /* Размер для небольших экранов */
  }
}
/* Основные стили */
:root {
  --primary-color: #34495e;        /* глубокий сине-серый */
  --secondary-color: #e67e22;      /* тёплый оранжевый акцент */
  --background-color: #f4f6fb;     /* светлый фон */
  --text-color: #2c3e50;           /* тёмный текст */
}

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  font-size: 17px;
  background-color: var(--background-color);
  line-height: 1.6;
}

/* Прозрачный navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.5s ease;
  backdrop-filter: blur(10px);
}

.navbar.fixed-top.scrolled {
  background-color: rgba(52, 73, 94, 0.97); /* тёмный primary */
}

/* Стиль для ссылок меню */
.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

/* Градиентная линия под ссылками */
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: -5px;
  left: 50%;
  transition: width 0.3s ease, left 0.3s ease;
}

/* Эффект при наведении на пункты меню */
.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Эффект параллакса */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

/* Фон для секций с параллаксом */
.hero-section {
  background-image: url('../images/kursy.jpg');
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-courses {
  background-image: url('../images/courses-bg.jpg');
  min-height: 50vh;
}

.parallax-contact {
  background-image: url('../images/contact-bg.jpg');
  min-height: 50vh;
}

/* Кнопка */
.btn-custom {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
  border: none;
}

/* Фон с параллаксом для заголовков страниц */
.parallax-title {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
}

.parallax-title h1 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6); /* чуть более глубокий тёмный */
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

/* Заголовок hero */
.display-3 {
  font-size: 3.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Крупный подзаголовок */
.lead {
  font-size: 2rem;
}

/* Промо-блок */
#promo {
  position: relative;
}

/* Адаптив для маленьких экранов */
@media (max-width: 576px) {
  .display-3 {
    font-size: 2.6rem;
  }

  .lead {
    font-size: 1.5rem;
  }
}
/* Основные стили */
:root {
  --primary-color: #34495e;        /* глубокий сине-серый */
  --secondary-color: #e67e22;      /* тёплый оранжевый акцент */
  --button-color: #e74c3c;         /* новый цвет кнопок (кораллово-красный) */
  --background-color: #f4f6fb;     /* светлый фон */
  --text-color: #2c3e50;           /* тёмный текст */
}

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  font-size: 17px;
  background-color: var(--background-color);
  line-height: 1.6;
}

/* Прозрачный navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.5s ease;
  backdrop-filter: blur(10px);
}

.navbar.fixed-top.scrolled {
  background-color: rgba(52, 73, 94, 0.97);
}

/* Стиль для ссылок меню */
.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

/* Градиентная линия под ссылками */
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: -5px;
  left: 50%;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Эффект параллакса */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

/* Фон для секций с параллаксом */
.hero-section {
  background-image: url('../images/kursy.jpg');
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-courses {
  background-image: url('../images/courses-bg.jpg');
  min-height: 50vh;
}

.parallax-contact {
  background-image: url('../images/contact-bg.jpg');
  min-height: 50vh;
}

/* Кнопки (обновлено цвет и шрифт) */
.btn-custom,
.btn-primary {
  background-color: var(--button-color);
  border-color: var(--button-color);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  text-transform: uppercase;
  border: none;
  font-size: 1.1rem;      /* увеличенный шрифт для кнопок */
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-custom:hover,
.btn-primary:hover {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}

/* Фон с параллаксом для заголовков страниц */
.parallax-title {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
}

.parallax-title h1 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

/* Заголовок hero */
.display-3 {
  font-size: 3.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Крупный подзаголовок */
.lead {
  font-size: 2rem;
}

/* Промо-блок */
#promo {
  position: relative;
}

/* Адаптив для маленьких экранов */
@media (max-width: 576px) {
  .display-3 {
    font-size: 2.6rem;
  }

  .lead {
    font-size: 1.5rem;
  }
}
