/* Файл: public/styles/global_map.css */

/* Основная сетка */

.global-map-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}

.map-column {
  width: 60%;
}

.global_map {
  position: relative;
  width: 700px;
}

.map-image {
  width: 100%;
  height: auto;
}

/* Правая колонка (информационное поле */

.info-column {
  width: 35%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.info-column h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.info-column ul {
  list-style: none;
  padding: 0;
}

.info-column li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Кнопка тур по карте */

#start-tour {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

#start-tour:hover {
  background: #0056b3;
}

.fish-marker-container {
  position: absolute;
  top: 52%;
  left: 21%;
  cursor: pointer;
  text-align: center;
  
}

.fish-marker {
  width: 100px;
  height: auto;
  transform: scale(1);
  transform-origin: center;
  transition: transform 1.5s easy-in-out; /* Плавный эффект */
  will-change: transform;
}

/* Анимация увеличения */
@keyframes scaleUp {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

/* Анимация уменьшения */
@keyframes scaleDown {
  0% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Увеличение при наведении */
.fish-marker:hover {
  animation: scaleUp 0.8s forwards;
}

/* Уход курсора */
.fish-marker:not(:hover) {
  animation: scaleDown 0.8s forwards;
}

.fish-marker-label {
  padding: 2px 10px 2px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4);
  
}

.stock-marker-container {
  position: absolute;
  top: 43%;
  left: 22%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center;  
  
}

.stock-marker {
  width: 70px;
  height: auto;   
}
.stock-marker-label {
  margin-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4);   
 
}

.money-marker {
  width: 60px;
  height: auto;
}

.money-marker-container {
  position: absolute;
  top: 28%;
  left: 39%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center;  
  
}

.money-marker-label {
  margin-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.work_stock-marker {
  width: 70px;
  height: auto;
}

.work_stock-container {
  position: absolute;
  top: 20%;
  left: 20%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center;  
 
}

.work_stock-marker-label {
  margin-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.concrete_plant-marker {
  width: 70px;
  height: auto;
}

.concrete_plant-container {
  position: absolute;
  top: 87%;
  left: 59%;
  transform: translate(-50%, -50%);
  text-align: center;   
}

.concrete_plant-marker-label {
  margin-top: 5px;
  padding: 2px 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.ugol-marker {
  width: 70px;
  height: auto;  
}

.ugol-container {
  position: absolute;
  top: 82%;
  left: 12%;
  transform: translate(-50%, -50%);
  text-align: center;  
}

.ugol-marker-label {
  margin-top: 5px;
  padding: 2px 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.metallurgy_plant-marker {
  width: 70px;
  height: auto; 
}

.metallurgy_plant-container {
  position: absolute;
  top: 15%;
  left: 75%;
  transform: translate(-50%, -50%);
  text-align: center; 
}

.metallurgy_plant-marker-label {
  width: 100%;
  margin-top: 5px;
  padding: 5px 5px 5px 5px;
  text-align: center;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.sand-marker {
  width: 50px;
  height: auto; 
}

.sand-container {
  position: absolute;
  top: 88%;
  left: 82%;
  transform: translate(-50%, -50%);
  text-align: center; 
}

.sand-marker-label {
  width: 100%;
  margin-top: 5px;
  padding: 2px 15px;
  padding-right: 15px;
  height: 20px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.electrical-plant-marker {
  width: 70px;
  height: auto; 
}

.electrical-plant-container {
  position: absolute;
  top: 72%;
  left: 87%;
  transform: translate(-50%, -50%);
  text-align: center; 
}

.electrical-plant-marker-label {
  margin-top: 5px;
  padding: 5px;
 width: 130px;
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

.farmer_shop-marker {
  width: 70px;
  height: auto; 
}

.farmer_shop-container {
  position: absolute;
  top: 40%;
  left: 85%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center; 
}

.farmer_shop-marker-label {
  margin-top: 5px;
  padding: 5px;
  width: 100%;  
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}
 
.sawmill-marker {
  width: 70px;
  height: auto; 
}

.sawmill-container {
  position: absolute;
  top: 90%;
  left: 30%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  text-align: center; 
}

.sawmill-marker-label {
  margin-top: 5px;
  padding: 5px;
  width: 100%;  
  display: block;
  margin-bottom: 55px;
  font-size: 14px;
  font-weight: bold;
  color: #251704;
  background-color: #ffcc00;
  border-radius: 8px;
  box-shadow: 2px 5px rgba(0, 0, 0, 0.4); 
}

/* Контейнер ассистента */
.assistant-container {
  position: absolute;
  display: none; /* Изначально скрыт */
  width: 120px;
  z-index: 2000;
}

.assistant {
  width: 100%;
  height: auto;
  display: block;
}

/* Контейнер для текста */
.assistant-text {
  position: absolute;

  /* Бабл ставим справа от аватара, а не поверх лица */
  top: 18px;
  left: calc(100% + 14px);
  transform: none;

  width: max-content;
  min-width: 220px;
  max-width: 360px;

  background: rgba(0, 0, 0, 0.78);
  color: white;

  padding: 10px 14px;
  border-radius: 12px;

  font-size: 14px;
  line-height: 1.35;
  text-align: left;

  z-index: 2001;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Небольшой хвостик бабла к аватару */
.assistant-text::before {
  content: "";
  position: absolute;

  left: -8px;
  top: 18px;

  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(0, 0, 0, 0.78);
}





  
/* Анимация пульсации */

