#image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  cursor: crosshair;
}

#image-wrapper img {
  width: 100%;
  display: block;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -100%); /* ortala, üstten hizala */
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    z-index: 5;
    user-select: none;
}

.map-pin img {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.pin-icon-wrapper {
    width: 64px;
    height: 64px;
    background-image: url('/images/pin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;     /* dikey ortalama */
    justify-content: center; /* yatay ortalama */
    overflow: hidden; /* Taşmaları önler */
}

.map-pin:hover .pin-icon-wrapper {
    transform: scale(1.3);
}

/* Ortak iç ikon stilleri */
.icon-inside {
    width: 24px;
    height: 24px;
    object-fit: contain;
    image-rendering: pixelated;
}

.icon-inside-fa {
    font-size: 18px;
    line-height: 1;
    display: block;
    position: relative;
    top: -9px; /* ikon biraz yukarı çıksın */
    color: white;
}

/* Hover’da büyüme */
.map-pin:hover img {
    transform: scale(1.2);
}

/* Tooltip */
.map-pin::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.map-pin:hover::after {
    opacity: 1;
}