
body {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Accessibility: фокус виден */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #d7c297;
  outline-offset: 2px;
}

/* Навбар */
.navbar {
  background-color: #000 !important;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #d7c297 !important;
}


/* Кнопки */
.btn-primary {
  background-color: #d7c297;
  border-color: #d7c297;
  color: #000;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background-color: #c0aa7f;
  border-color: #c0aa7f;
  color: #000;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus:active {
  background-color: #bfa16b !important;
  border-color: #bfa16b !important;
  color: #000 !important;
  box-shadow: none !important;
  outline: none !important;
}

.btn-dark:hover {
  background-color: #333;
}

/* Анимация при прокрутке */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}


section h2 {
  font-weight: bold;
  margin-bottom: 30px;
}

section p {
  font-size: 1.1rem;
}

.bi {
  font-size: 2.5rem;
}

/* Формы */
form input,
form textarea {
  margin-bottom: 15px;
  border-radius: 10px;
}

form textarea {
  min-height: 100px;
}

#contact .form-control {
  background-color: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #ccc;
}

#contact .form-control:focus {
  border-color: #d7c297;
  box-shadow: 0 0 0 0.2rem rgba(215, 194, 151, 0.25);
}

#contact .btn-dark {
  background-color: #000;
  border-color: #000;
}

#contact .btn-dark:hover {
  background-color: #333;
}

/* Аккордеон */
.accordion-button {
  transition: all 0.3s ease;
}

.accordion-button:hover {
  border-color: #bfa16b;
  background-color: #fdf8f1;
  transform: scale(1.02);
}

.accordion-collapse {
  transition: all 0.5s ease;
}

/* Логотип */
.logo-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.5rem !important;
  color: #f1d6a0 !important;
  font-weight: 600 !important;
}

.logo-icon {
  font-size: 1.75rem;
  color: #f1d6a0;
}

.navbar-brand span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #f1d6a0;
}

.navbar-brand i {
  font-size: 1.8rem;
  color: #f1d6a0;
}

/* Мобилки */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .blog-post {
    padding: 20px;
  }

  .navbar .nav-link {
    font-size: 0.95rem;
    padding: 6px;
  }
}
.hero-section {
  position: relative;
  height: 100vh;
  background: url('/static/images/hero.webp') center center/cover no-repeat;
}



.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
  opacity: 1 !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p {
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
}


/* Адаптация для мобильных */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section::after {
    background-color: rgba(0, 0, 0, 0.6) !important;
  }

  .navbar .nav-link {
    font-size: 0.95rem;
    padding: 6px;
  }
}

.btn-primary {
  background-color: #d7c297;
  border-color: #d7c297;
  color: #000;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
  white-space: normal;
  display: inline-block;
}

/* Наведение — только для мыши (десктоп) */
.btn-primary:hover {
  background-color: #c0aa7f;
  border-color: #c0aa7f;
  color: #000;
}

/* Нажатие — работает и на мобильных */
.btn-primary:active {
  background-color: #bfa16b;
  border-color: #bfa16b;
  color: #000;
}

/* Фокус — без лишнего свечения */
.btn-primary:focus {
  box-shadow: none;
  outline: none;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .btn-primary {
    width: 100%;
    font-size: 1.05rem;
    padding: 14px 20px;
    border-radius: 10px;
    margin-top: 20px;
    touch-action: manipulation; /* ускоряет отклик на касание */
  }
}
@font-face {
  font-family: 'DejaVuSans';
  src: url('/static/fonts/DejaVuSans-Bold.woff2') format('woff2');
  font-display: swap;
}
@media (min-width: 992px) {
  .one-line-desktop {
    white-space: nowrap;
  }
}

