/* Armenia Map Container */
.armenia-map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.armenia-map-wrapper {
    position: relative;
    width: 100%;
}

/* SVG Map */
.armenia-svg-map {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

/* City Dots */
.armenia-city-dot {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,255,255,0.9);
    z-index: 10;
}

.armenia-city-dot span {
    padding: 2px 4px;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
}

.armenia-city-dot:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 20;
}

.armenia-city-dot:active {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Gallery Modal */
.armenia-gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.armenia-gallery-modal.active {
    display: block;
    opacity: 1;
}

/* Modal Close Button */
.armenia-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    transition: color 0.3s;
}

.armenia-modal-close:hover,
.armenia-modal-close:focus {
    color: #ff6b6b;
}

/* Modal Content */
.armenia-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.armenia-gallery-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* Navigation Buttons */
.armenia-gallery-prev,
.armenia-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    z-index: 100000;
}

.armenia-gallery-prev:hover,
.armenia-gallery-next:hover {
    background-color: rgba(255,255,255,0.4);
}

.armenia-gallery-prev {
    left: 20px;
}

.armenia-gallery-next {
    right: 20px;
}

/* Gallery Counter */
.armenia-gallery-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .armenia-city-dot {
        font-size: 9px;
        border-width: 2px;
    }

    .armenia-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .armenia-gallery-prev,
    .armenia-gallery-next {
        padding: 12px 16px;
        font-size: 22px;
    }

    .armenia-gallery-prev {
        left: 10px;
    }

    .armenia-gallery-next {
        right: 10px;
    }

    .armenia-gallery-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .armenia-map-container {
        padding: 10px;
    }

    .armenia-city-dot {
        font-size: 8px;
    }

    .armenia-gallery-prev,
    .armenia-gallery-next {
        padding: 10px 12px;
        font-size: 20px;
    }

    .armenia-gallery-image {
        max-height: 70vh;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.armenia-city-dot.loading {
    animation: pulse 1.5s ease-in-out infinite;
}
