body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: rgb(0, 45, 114); /* Темно-синий фон */
  padding: 20px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.header > .logo {
  display: flex;
  align-items: center;
}

.header img {
  height: 50px;
  margin-right: 20px;
}

.header .company-info {
  text-align: right;
}

.company-info > p {
  color: #fff;
}


.contact-section p, .warehouse-contact {
  color: #fff; /* Белый цвет для видимости */
}


.h2-text {
  font-size: 38px;
}

.social-media a i {
  font-size: 23px; /* Размер иконок */
  margin-right: 10px; /* Отступ между иконкой и текстом */
}

.social-media a {
  font-size: 20px; /* Размер текста для социальных сетей */
  color: white; /* Цвет текста */
}

.social-media a:hover {
  color: #007BFF; /* Цвет при наведении */
}


.container-bg {
  position: relative;
  background-color: #003366;
  background-image: url('../img/bg/Rectangle\ 5977.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  border-radius: 10px;
  z-index: 0;

}


.container-bg {
  background-color: #003366; /* Резервный цвет темно-синий */
} 



.container-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: inherit;
  width: 100%;
}

.container-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: inherit;
  width: 100%;
}

.container {
  position: relative; /* Чтобы позиционировать контент поверх затемненного фона */
  z-index: 2;
  flex: 1;
  max-width: 1400px; 
  margin: 20px auto;
  padding: 20px;
}

.info-sections {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.warehouse-div {
  flex: 2; 
}

.contact-div {
  flex: 1;
}

.separator {
  background-color: #003366; 
  height: 100%; 
  margin: 0 20px;
}

h2 {
  color: #fff;
  margin-bottom: 20px;
}

.contact-section p, .warehouse-contact {
  color: #000; /* Белый текст */
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); Тень для улучшения читаемости */
}

p{
  color: #000; /* Белый текст */
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); Тень для улучшения читаемости */
}

.contact-p p {
  color: #000;
}


.warehouse-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.warehouse-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.warehouse-card > h3 {
  margin-bottom: 10px;
  color: #000;
}

.warehouse-card > p {
  margin-bottom: 20px;
  color: #000;
}

.copy-btn {
  background-color: #007BFF;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.copy-btn:hover {
  background-color: #0056b3;
}

.contact-section {
  background-color: #fff;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section p{
  margin: 10px 0;
  color: #000;
}

.footer {
  background-color: rgb(0, 45, 114); 
  padding: 20px;
  text-align: center;
  position: relative;
}

.footer p{
  color: #fff;
}

a {
  display: inline-flex;
  align-items: center;
  margin-right: 60px;
  margin-bottom: 20px;
  color: white;
  text-decoration: none;
}

a i {
  margin-right: 8px;
}

a:hover {
  color: #007BFF;
}

.contact-section a{
  margin: 10px 0;
  color: #000;
}

.contact-div > p {
  color: #000;
}

.warehouse-card > span {
  color: #000;
}

/* Адаптивность */

@media (max-width: 1200px) {
  .info-sections {
    flex-direction: column;
    align-items: center;
  }

  .separator {
    display: none;
  }

  .warehouse-section {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    text-align: center;
  }

  .header .logo img {
    height: 40px;
  }
  
  .container-bg {
    background-image: url('../img/bg/Rectangle\ 5977.svg');
  }


  .warehouse-card, .contact-section {
    padding: 15px;
  }

  h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .header .company-info p {
    font-size: 14px;
    align-items: center;
    text-align: center;
  }

  .container-bg {
    background-image: url('../img/bg/Rectangle\ 5977.svg');
  }

  h2 {
    font-size: 18px;
  }

  .warehouse-card h3 {
    font-size: 16px;
  }

  .copy-btn {
    padding: 8px;
    font-size: 14px;
  }
}


@media (max-width: 1200px) {
  .info-sections {
    flex-direction: column; /* Ставим блоки один под другим */
    align-items: center;
  }

  .container-bg {
    background-image: url('../img/bg/Rectangle\ 5977.svg');
  }

  .separator {
    display: none; /* Убираем разделитель для маленьких экранов */
  }

  .warehouse-section {
    grid-template-columns: 1fr; /* Один адрес в ряд */
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    text-align: center;
  }

  .container-bg {
    background-image: url('../img/bg/Rectangle\ 5977.svg');
  }

  .header .logo img {
    height: 40px; /* Уменьшаем размер логотипа */
  }

  .warehouse-card, .contact-section {
    padding: 15px; /* Уменьшаем отступы внутри карточек */
  }

  h1 {
    font-size: 24px; /* Уменьшаем размер заголовка */
  }
}

@media (max-width: 480px) {
  .header .company-info p {
    font-size: 14px;
    align-items: center;
    text-align: center; /* Уменьшаем текст в мобильной версии */
  }


  .container-bg {
    background-image: url('../img/bg/Rectangle\ 5977.svg');
  }

  h2 {
    font-size: 18px; /* Уменьшаем заголовки */
  }

  .warehouse-card h3 {
    font-size: 16px;
  }

  .copy-btn {
    padding: 8px; /* Уменьшаем кнопки */
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .header img {
    display: none; /* Можно скрыть изображение, чтобы сэкономить место */
  }
}
