/* ============================================================
   Armour Hub - Colony Maps Module Styles
   ============================================================ */

.maps-section {
    background-color: #FFFFFF;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.map-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #ECECEC;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.map-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(11, 27, 43, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
}

.map-thumb-box {
    position: relative;
    height: 190px;
    overflow: hidden;
    background-color: #0B1B2B;
}

.map-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.map-card:hover .map-thumb-box img {
    transform: scale(1.08);
    opacity: 1;
}

.map-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0B1B2B;
    color: #D4AF37;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #D4AF37;
}

.map-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.map-colony-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B1B2B;
    margin-bottom: 6px;
    line-height: 1.3;
}

.map-info-text {
    font-size: 0.84rem;
    color: #666666;
    margin-bottom: 18px;
}

.map-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-view-map {
    flex: 1;
    background: #0B1B2B;
    color: #FFFFFF;
    text-align: center;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-view-map:hover {
    background: #17324d;
    color: #D4AF37;
}

.btn-download-map {
    flex: 1;
    background: #D4AF37;
    color: #0B1B2B;
    text-align: center;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-download-map:hover {
    background: #b8972b;
    color: #000;
}

@media (max-width: 1200px) {
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }
}
