html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-container {
    z-index: 9999;
    position: absolute;
    bottom: 10px;
    left: 24px;
    right: 24px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.banner {
    width: 100%;
    background-color: #27272a;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    max-width: 480px;
    font-family: 'Montserrat', sans-serif;
    padding: 12px;
    align-items: center;
}

.banner-img {
    height: 40px;
    object-fit: contain;
}

.download-link {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.download-link a {
    display: inline-block;
    padding: 10px;
    background-color: #d4e15e;
    color: #3a2c2c;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 800px) {
    .banner {
        padding: 8px;
    }
}

/* Стили для модального окна */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.modal-content {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.close-modal:hover {
    color: #bbb;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Стили для попапов */
.popup-container {
    font-family: 'Montserrat', sans-serif;
    max-width: 250px;
}

.popup-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.popup-title {
    font-weight: bold;
    font-size: 16px;
    margin-top: 5px;
}

.popup-subtitle {
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.popup-content {
    font-size: 14px;
}

.popup-location {
    margin-bottom: 5px;
}

.popup-date {
    color: #666;
}

/* Стили для карусели */
.image-carousel {
    position: relative;
    width: 100%;
}

.carousel-container {
    width: 100%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev-btn, .next-btn {
    cursor: pointer;
    padding: 5px 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    user-select: none;
    z-index: 1;
    transition: background-color 0.2s, transform 0.2s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.carousel-image {
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

.carousel-image:hover {
    transform: scale(1.03);
} 