/* ========================================
   Interactive Turkey Map
   ======================================== */
.hny-map-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Map layers — stacked, opacity transition */
.hny-map-layers {
    position: relative;
    width: 100%;
}
.hny-map-layer {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}
.hny-map-layer:not(.hny-map-layer--base) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.hny-map-layer.active {
    opacity: 1;
}

/* Pins */
.hny-map-pin {
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hny-map-pin img {
    width: 48px;
    height: 48px;
    pointer-events: none;
    display: block;
}
.hny-map-pin::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    border-radius: 50%;
    background: rgba(255, 201, 154, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: -1;
}
.hny-map-pin.active::before {
    opacity: 1;
    transform: scale(1);
}

/* Info cards — JS positions dynamically */

.hny-map-card {
    position: absolute;
    display: flex;
    background: linear-gradient(218.23deg, rgba(255, 238, 215, 1) 9.29%, rgba(217, 153, 64, 1) 127.13%);
    border: 4px solid var(--Text-Colors-Highlight2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 10px 40px 20px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10;
    max-width: 490px;
    width: max-content;
}
.hny-map-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hny-map-card-img {
    width: 190px;
    min-height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    padding: 10px;
}
.hny-map-card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hny-map-card-body h4, .hny-map-card-body h5{
    margin: 0px 0px 12px 0px;
}
/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .hny-map-card {
        max-width: 380px;
    }
    .hny-map-card-img {
        width: 120px;
    }
    .hny-map-pin img {
        width: 38px;
        height: 38px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hny-mobile-p10{
        padding: 0 10px !important;
    }
    .hny-map-pin img {
        width: 32px;
        height: 32px;
    }
    .hny-map-card {
        flex-direction: column;
        left: 16px !important;
        right: 16px;
        width: calc(100% - 32px) !important;
        max-width: none;
    }
    .hny-map-card-img {
        width: 100%;
        height: 160px;
        min-height: auto;
        border-radius: 0;
    }
    .hny-map-card-body {
        padding: 12px;
    }
    
}
