html {
  scroll-behavior: smooth;
}

button.nav-link, a.nav-link {
  color: #292724;
  /* Обычный цвет */
}

button.nav-link:hover {
  color: black;
}

a.nav-link:hover{
  color: black;
  text-decoration: underline;
  text-underline-offset: 10px;

}

/* анимация текста */
.fade-in-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.max-logo {
  margin-right: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Эффект при наведении */
.btn:hover .max-logo {
  opacity: 0.8;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .max-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  .btn-text {
    font-size: 14px;
  }
}






/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  #part-carousel .partner-logo {
    max-height: 60px;
    margin: 10px auto;
  }
}


table>thead>tr>th {
  background-color: #b7c4d0 !important;
}

table>tbody>tr>th {
  background-color: #b7c4d0 !important;
}

table>tbody>tr>td {
  background-color: #b7c4d0 !important;
}

.hidden-block {
  width: 100%;
  height: 75px;
}

body {
  font-size: 20px;
  font-family: "Prata",'Lucida Sans', serif !important;

}

/* Стиль для всплывающей подсказки Филиалы*/
.tooltip-inner {
  max-width: 250px;
  text-align: center;
  background-color: #2c3e50;
  color: white;
  padding: 12px;
  border-radius: 6px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #2c3e50;
}


/* Стили для карточек складов */

.warehouse-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.warehouse-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  transition: background 0.3s ease;
}

.warehouse-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.warehouse-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.warehouse-title {
  letter-spacing: 0.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

.warehouse-card-content {
  position: relative;
  z-index: 2;
}


.warehouse-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1050;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 70%;
}

.popup-close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.popup-img {
  max-width: 100%;
  border-radius: 5px;
}

.popup-info {
  margin: 15px 0;
  height: 70vh;
}

/* Преимущества работать с нами */




.section-header {
  text-align: center;
  margin-bottom: 60px;
}


/* Сетка с двумя строками по 4 элемента */

.advantage-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  /* padding: 40px 10px; */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* position: relative; */
  /* overflow: hidden; */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-item:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
  width: 5px;
  height: 5px;
  margin:  5px ;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-radius: 50%;
  background: var(--icon-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advantage-description {
  line-height: 1.6;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Яндекс карты */
.map-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden; /* обрезает всё, что вылезает за границы */
  border-radius: 8px; /* опционально: скругление углов */
}

.map-wrapper .embed-responsive-item {
  width: 100% !important;
  height: 400px !important; /* фиксированная высота */
  max-width: 100%;
}

/* Адаптивность: уменьшаем высоту на экранах < 768 px */
@media (max-width: 768px) {
  .map-wrapper .embed-responsive-item {
    height: 300px !important;
  }
}

/* На очень маленьких экранах (мобильные) */
@media (max-width: 480px) {
  .map-wrapper .embed-responsive-item {
    height: 250px !important;
  }
}


