/* Person Travel Card Container */
.person-travel-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.person-travel-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.person-travel-card:last-child {
    margin-bottom: 0;
}

/* Travel Profile Section */
.travel-profile {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    gap: 15px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.profile-title {
    font-size: 14px;
    color: #4CAF50;
    font-weight: 600;
    margin: 0;
}

/* Interactive Map Section */
.map-container {
    margin: 30px 0;
}

.travel-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom marker styling */
.custom-marker {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-marker:hover {
    transform: scale(1.2);
}

/* Mapbox popup styling */
.mapboxgl-popup-content {
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Travel Cards Container */
.travel-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Individual Travel Cards */
.travel-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #c3e6cb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.travel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
}

.location-icon {
    margin-bottom: 12px;
}

.location-icon i {
    font-size: 20px;
    color: #4CAF50;
}

.location-name {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.coordinates {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .person-travel-card {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .travel-profile {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .travel-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .travel-card {
        padding: 20px;
    }
    
    .travel-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .person-travel-card {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .travel-cards-container {
        gap: 12px;
    }
    
    .travel-card {
        padding: 16px;
    }
    
    .location-name {
        font-size: 16px;
    }
    
    .coordinates {
        font-size: 13px;
    }
}
