/* =========================
   MAP CONTAINER
========================= */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    user-select: none;
}

/* =========================
   MAP IMAGE
========================= */
.interactive-map-img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* CLICK YEMESİN */
}

/* =========================
   BACKGROUND OVERLAY
========================= */
.freq-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none; /* CLICK YEMESİN */
}

/* =========================
   MAP LABEL BUTTONS
========================= */
.map-label-btn {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ff3b3b;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    animation: pulse 1.8s infinite;
}

/* Büyük nokta (Bakı) */
.map-label-btn.huge-label {
    width: 22px;
    height: 22px;
    background: #00ffd5;
    box-shadow: 0 0 0 0 rgba(0, 255, 213, 0.7);
}

/* =========================
   HOVER EFFECT
========================= */
.map-label-btn:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* =========================
   PULSE ANIMATION
========================= */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 59, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }
}

/* =========================
   POPOVER CONTAINER
========================= */
.freq-popover {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 260px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Popover aktif */
.freq-popover.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================
   POPOVER CONTENT
========================= */
.freq-popover h6 {
    color: #00ffd5;
    font-size: 16px;
    margin-bottom: 10px;
}

.freq-popover ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.freq-popover ul li {
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.freq-popover ul li:last-child {
    border-bottom: none;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
    .map-label-btn {
        width: 14px;
        height: 14px;
    }

    .map-label-btn.huge-label {
        width: 18px;
        height: 18px;
    }

    .freq-popover {
        position: fixed;
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 360px;
    }
}

.popover-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 3000;
    pointer-events: auto;
}
/* =========================
   RESPONSIVE MAP & POPOVER
========================= */

.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: clamp(8px, 2vw, 20px);
}

/* Map points */
.map-label-btn {
    width: clamp(12px, 1.5vw, 16px);
    height: clamp(12px, 1.5vw, 16px);
    border-radius: 50%;
    background: #ff3b3b;
    cursor: pointer;
    z-index: 999;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.map-label-btn.huge-label {
    width: clamp(16px, 2vw, 22px);
    height: clamp(16px, 2vw, 22px);
    background: #00ffd5;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .map-label-btn:hover {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Popover */
.freq-popover {
    position: fixed;
    left: 50%;
    bottom: clamp(12px, 3vh, 24px);
    transform: translateX(-50%);
    width: clamp(260px, 90vw, 360px);
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: clamp(14px, 2vw, 18px);
    padding: clamp(14px, 2vw, 18px);
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
}

/* Desktop position override */
@media (min-width: 900px) {
    .freq-popover {
        position: absolute;
        left: 5%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 260px;
    }
}

/* Active popover */
.freq-popover.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Popover content */
.freq-popover h6 {
    font-size: clamp(15px, 1.2vw, 16px);
    color: #00ffd5;
    margin-bottom: 10px;
}

.freq-popover ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.freq-popover ul li {
    font-size: clamp(13px, 1vw, 14px);
    padding: 6px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.freq-popover ul li:last-child {
    border-bottom: none;
}
/* =========================
   FV PLAYER FIX (ZORUNLU)
========================= */

.video-frame {
    position: relative;
    width: 100%;
}

.fvplayer-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-radius: 14px;
}

/* FV Player iç elemanları */
.fvplayer-wrapper iframe,
.fvplayer-wrapper video,
.fvplayer-wrapper .flowplayer {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block;
}

