:root {
  --brand-primary: #82c91e;
  --brand-secondary: #0660ae;
  --brand-primary-hover: #66a80f;
  --brand-dark: #212529;
  --brand-gray: #f8f9fa;
  --text-main: #343a40;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-main);
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  font-family: "Montserrat", sans-serif;
}

img {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Навигация */
.navbar-main {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.nav-link {
  font-weight: 600;
  color: var(--brand-dark) !important;
  margin-left: 1rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--brand-primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--brand-primary) !important;
}

/* Кнопки */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px; /* Pill shape */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(130, 201, 30, 0.4);
}

.btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
  border-width: 2px;
}

.btn-outline-light:hover {
  color: var(--brand-primary);
  background-color: #fff;
  border-color: #fff;
}

/* Hero Секция */
#hero {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 600px;
  background-color: #000;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Затемнение изображений */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 80%;
  max-width: 800px;
}

.hero-content h1 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
  font-size: 1.25rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Секции */
.section-padding {
  padding: 5rem 0;
}

.data-contacts {
  padding: 1em 0;
}

.data-contacts a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-dark) !important;
}

.data-contacts .nav-link::after {
  background-color: var(--brand-secondary);
}

.data-contacts .nav-link:hover a {
  color: var(--brand-secondary) !important;
}

.max-icon {
  width: 18px;
}

.bi-telegram {
  color: #24a1de;
}

.partners .row {
  justify-content: center;
}

.partner .card-body {
  text-align: center;
  padding: 1.5rem 0 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--brand-primary);
  border-radius: 2px;
}

/* Карточки */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Карта */
.yandex-map {
  width: 100%;
  border-radius: 16px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #ced4da;
}

.badge {
  padding: 0.6em 1em;
  font-weight: 600;
  background-color: var(--brand-primary) !important;
}

/* Отзывы */
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--brand-primary);
}

/* Контакты */
.contact-info-box a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-box a:hover {
  text-decoration: underline;
}

.form-control {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
}

.form-control:focus {
  box-shadow: 0 0 0 4px rgba(130, 201, 30, 0.25);
  border-color: var(--brand-primary);
}

/* Footer */
footer {
  background-color: var(--brand-dark);
  color: #adb5bd;
  padding: 2rem 0;
  font-size: 0.9rem;
}
