/* Container layout */
#bozeman-camp-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Map styling */
#bozeman-camp-map {
    flex: 1;
    min-height: 500px;
    border: 2px solid #e67e22;
    border-radius: 8px;
}

/* Sidebar styling */
#camp-sidebar {
    width: 300px;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 12px;
    background: #fafafa;
}

#camp-sidebar h2 {
    margin-top: 0;
    font-size: 18px;
    color: #2c3e50;
    padding-bottom: 10px;
}

/* Camp list */
#camp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#camp-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    background: #fff;
}

#camp-list li img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.25s ease-in-out;
}

#camp-list li:hover {
    background: #fff3e0;
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Filters */
#camp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding: 8px;
    background: #fff8f2;
    border: 1px solid #e67e22;
    border-radius: 8px;
}

#camp-filters label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

#camp-filters label:hover {
    background: #fff3e0;
}

#camp-filters input[type="checkbox"] {
    accent-color: #e67e22;
}

/* Controls */
#camp-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

#camp-controls input[type="text"] {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#camp-controls button {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #e67e22;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

#camp-controls button:hover {
    background: #d35400;
}

/* Popup styling */
.camp-popup {
    max-width: 280px;
    padding-bottom: 10px;
}

.camp-popup img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

.camp-popup h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #2c3e50;
}

.camp-popup p {
    font-size: 13px;
    margin-bottom: 6px;
}

.camp-popup ul.amenities {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.camp-popup ul.amenities li {
    font-size: 13px;
    color: #555;
}

.camp-popup .buttons a {
    display: inline-block;
    margin-right: 8px;
    padding: 6px 12px;
    background: #e67e22;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.camp-popup .buttons a:hover {
    background: #d35400;
}

/* Marker wrapper */
.marker-wrapper img {
    width: 32px;
    height: 32px;
    transition: transform 0.30s ease-in-out;
}

.marker-wrapper img.zoom-in {
    transform: scale(1.20);
}

/* Responsive design */
@media (max-width: 768px) {
    #bozeman-camp-container {
        flex-direction: column;
    }

    #bozeman-camp-map {
        min-height: 300px;
        width: 100%;
    }

    #camp-sidebar {
        width: 100%;
        max-height: none;
    }
}

@media (max-width: 480px) {
    #camp-controls {
        flex-direction: column;
    }

    #camp-controls input[type="text"],
    #camp-controls button {
        width: 100%;
    }

    #camp-filters {
        flex-direction: column;
    }

    #camp-filters label {
        width: 100%;
        justify-content: flex-start;
    }
}

/* MAP CREDIT */
.camp-map-credit {
    font-size: 11px;
    background: rgba(255, 248, 242, 0.85);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(230, 126, 34, 0.3);
    color: #2c3e50;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

    opacity: 0.75;
    transition: all 0.3s ease;
}

.camp-map-credit a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
}

.camp-map-credit:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.camp-map-credit a:hover {
    text-decoration: underline;
}