/* ============================
   PLACES GRID
============================ */
.milos-places {
    padding: 60px 20px;
}

#placesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.place-card {
    background: #fff;
    border-radius: 0.1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s ease;
    border: 1px solid #eee;
}

.place-card:hover {
    transform: translateY(-4px);
}

.place-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.place-card h3 {
    font-size: 1.1rem;
    margin: 12px 15px 4px;
}

.place-card p {
    margin: 0 15px 15px;
    color: #666;
    font-size: 0.9rem;
}

/* ============================
   SLIDE-UP MODAL
============================ */
.place-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    height: 85%;
    background: #fff;
    border-radius: 0.1rem 0.1rem 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    transition: bottom .35s ease;
    z-index: 9999;
}

.place-modal.active {
    bottom: 0;
}

.modal-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.close-modal {
    background: none;
    border: none;
    font-size: 32px;
    float: right;
    cursor: pointer;
    line-height: 1;
}

/* ============================
   CAROUSEL (STACKED IMAGES)
============================ */
.modal-carousel img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 0.1rem;
    margin-bottom: 12px;
}

/* ============================
   TEXT CONTENT
============================ */
#modalTitle {
    font-size: 1.6rem;
    margin-top: 10px;
}

#modalSubtitle {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
}

#modalDescription {
    line-height: 1.6;
    margin-bottom: 20px;
}

#modalSections h3 {
    margin-top: 25px;
    font-size: 1.2rem;
}

#modalSections p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 480px) {
    .modal-carousel img {
        height: 200px;
    }
}
