/* GRID LAYOUT */
.camp-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
}

/* CAMP BOX */
.camp-box {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    height: 100%; /* ensures all boxes same height */
}

.camp-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.camp-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

.camp-btn:hover {
    background: #333;
}

/* MODAL */
.modal {
    display: none; /* hidden on load */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 15px 0;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    flex-direction: column; /* stack buttons vertically */
    gap: 10px;
    margin-top: 15px;
}

.modal-btn {
    background: #2ecc71;
    border: none;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%; /* all buttons full width */
}

.modal-btn:hover {
    background: #27ae60;
}

#modalBooking {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .camp-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .camp-container {
        grid-template-columns: 1fr;
    }
}


